Docs
Create Proposal Invoice
POST /ProposalInvoices
POST
/ProposalInvoicesCreates a proposal invoice together with its allocations and returns the invoice id. At least one allocation is required, each naming a proposalId from Proposals_GetProposals and an amount, and the invoice total is the sum of its allocations. purpose is Deposit, Progress, Balance or Full. An invoice bills one client, so every proposal allocated must have the same client as the invoice; clientCollaboratorRecordId comes from Events_GetCollaborators. Requires event admin.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| number | string | Optional | |
| purpose | string | Optional | |
| clientCollaboratorRecordId | uuid | Optional | |
| description | string | Optional | |
| issuedDate | date-time | Optional | |
| dueDate | date-time | Optional | |
| fileId | uuid | Optional | |
| allocations | CreateProposalInvoiceRequestAllocation[] | Optional |
CreateProposalInvoiceRequestAllocation
| Field | Type | Description |
|---|---|---|
| proposalId | uuid | |
| amount | number |
Response
Type: uuid