v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Fiscal Documents

Create simple receipts.

Create receipts for list of payments without allocations.

post/fiscal-document/v1/fiscal-documents/simple-receipt

Headers

X-Property-IDinteger required

Property id

Request body

transactionIdsinteger[] required

Ids of the transactions associated to payments

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

Kind of the source entity

handwrittenboolean

Indicates this is a handwritten receipt created during POS unavailability. Only allowed for properties with Fiskaltrust integration enabled.

Response

Receipt successfully created

idstring
kind'INVOICE' | 'CREDIT_NOTE' | 'RECEIPT' | 'RECTIFY_INVOICE' | 'PRO_FORMA_INVOICE' | 'REFUND_RECEIPT' | 'INVOICE_RECEIPT' | 'ADVANCE_INVOICE' | 'SETTLEMENT_INVOICE' | 'TAX_WITHHOLDING'

Kind of fiscal document

status'COMPLETED' | 'VOIDED' | 'PAID' | 'PENDING_INTEGRATION' | 'PARTIALLY_PAID' | 'COMPLETED_INTEGRATION' | 'FAILED_INTEGRATION' | 'CORRECTION_NEEDED' | 'CANCELED' | 'CANCEL_REQUESTED' | 'OPEN' | 'REQUESTED' | 'VOID_REQUESTED' | 'FAILED' | 'MANUALLY_RECONCILED' | 'REJECTED' | 'ACCEPTED' | 'PENDING_TRANSACTION' | 'ALLOCATED' | 'APPLIED'

Status of the fiscal document

linkedTostring

Example response

[
  {
    "governmentIntegration": {
      "folioFiscal": "9B3E26F4-1234-4A5B-8C9D-ABCDEF012345"
    }
  }
]