v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Fiscal Documents

Create a fiscal document of the type pro forma invoice

Create a fiscal document of the type pro forma invoice.

Pro Forma Invoice Characteristics:

  • Contains pending transactions that are subject to change
  • Includes payment information
  • Transactions are NOT locked (unlike regular invoices)
  • Can be converted to regular invoices later when transactions are posted
  • Has its own sequence numbering and settings
post/fiscal-document/v1/fiscal-documents/pro-forma-invoice/preview

Headers

X-Property-IDinteger required

Property id

Request body

transactionIdsinteger[] required

List of pending transaction IDs to include in the pro forma invoice (deprecated, use includeTransactionIds instead)

transactionIdToAmountobject nullable

Map of transaction ID to amount (in major currency units, e.g., 10.50 for $10.50) for partial transaction inclusion

paymentIdsinteger[]

List of payment IDs associated with the pending transactions

sourceIdinteger required
sequenceIdinteger nullable
sourceKind'GROUP_PROFILE' | 'RESERVATION' | 'HOUSE_ACCOUNT' | 'ACCOUNTS_RECEIVABLE_LEDGER' required

Kind of the source entity

userIdinteger nullable
invoiceDatestring date

Date for the pro forma invoice (defaults to current date if not provided)

folioIdsinteger[]

Include all transactions from the specified folio IDs

excludeTransactionIdsinteger[]

Exclude transactions with the specified IDs

includeTransactionIdsinteger[]

Include transactions with the specified IDs

Response

Successful file download