v1
latestOpenAPI 3.0.12026-07-245277551.2 MBFiscal Documents
Create a settlement invoice for an advance invoice
Create a settlement invoice linked to an existing advance invoice.
A settlement invoice finalizes the billing cycle started by an advance invoice. It references the advance invoice and may include additional transactions that were not part of the original advance.
Validation Rules:
- The parent document must be an ADVANCE_INVOICE
- The parent document must be in an active status
- There must not already be an active settlement invoice for this advance
post/fiscal-document/v1/fiscal-documents/{advance_invoice_id}/settlement
Path parameters
advance_invoice_idinteger required
The ID of the advance invoice to settle
Headers
X-Property-IDinteger required
Property id
Request body
Response
OK
Example response
{
"governmentIntegration": {
"folioFiscal": "9B3E26F4-1234-4A5B-8C9D-ABCDEF012345"
}
}