Docs

Create Proposal Invoice

POST /ProposalInvoices

POST/ProposalInvoices

Creates 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

FieldTypeRequiredDescription
numberstringOptional
purposestringOptional
clientCollaboratorRecordIduuidOptional
descriptionstringOptional
issuedDatedate-timeOptional
dueDatedate-timeOptional
fileIduuidOptional
allocationsCreateProposalInvoiceRequestAllocation[]Optional

CreateProposalInvoiceRequestAllocation

FieldTypeDescription
proposalIduuid
amountnumber

Response

Type: uuid