ReceiptInsert
input
Creates a new Receipts
Fields
| Name | Type | Description |
|---|---|---|
fiscalZone | String | |
documentCalculationsMode | Int | |
documentSetId | Int! | Document set to which this document belongs |
countryId | Int | Country identifier of the entity |
date | DateTime! | Issue date of the document. Must follow sequential numbering rules per AT regulations |
timezoneId | Int | Timezone identifier for the document issue date |
customerId | Int! | Customer to whom this document is issued |
alternateAddressId | Int | Alternate delivery/billing address for the entity |
relatedIn | [RelatedDocumentInput] | Documents originated from this document (e.g., receipts created from this invoice) |
relatedWith | [RelatedDocumentInput]! | Source documents that originated this document (e.g., invoice referenced by a credit note) |
notesRelatedDocs | String | Notes regarding related documents |
currencyExchangeId | Int | Currency exchange rate identifier when document uses a foreign currency |
notes | String | Free-text observations or notes for this document |
status | Int | Document status: 0 = draft, 1 = closed/finalized |
suspended | Boolean | Whether the document is suspended (temporarily on hold) |
nullified | Boolean | Whether the document has been voided/cancelled. Nullified documents remain for audit but have no fiscal effect |
yourReference | String | Customer's own reference for this document (e.g., purchase order number) |
ourReference | String | Internal reference for this document (e.g., contract number, project code) |
payments | [DocumentPaymentMethodInput]! | Payment methods and amounts used to settle this document |
financialDiscount | Float | Financial discount percentage applied for early payment |
totalValue | Float! | Total monetary value of this settlement document |
economicActivityClassificationCodeId | Int | Economic activity classification code (CAE) identifier, per AT SAF-T requirements |
currencyExchangeExchange | Float | Exchange rate value applied when document uses a foreign currency |