MigratedCreditNoteUpdate
input
Updates a MigratedCreditNote.
Updates the selected MigratedCreditNote with the inserted data.
Fields
| Name | Type | Description |
|---|---|---|
documentId | Int! | |
fiscalZone | String | |
documentCalculationsMode | Int | |
number | Int | Sequential document number within its document set. Assigned automatically on creation |
documentSetId | Int | Document set to which this document belongs |
countryId | Int | Country identifier of the entity |
globalDiscount | Float | Global discount percentage applied to the entire document |
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 |
salespersonId | Int | Salesperson assigned to this document for commission tracking |
salespersonCommission | Float | Commission percentage for the salesperson on this document |
economicActivityClassificationCodeId | Int | Economic activity classification code (CAE) identifier, per AT SAF-T requirements |
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 |
products | [DocumentProductInput] | Line items (products/services) included in this document |
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 |
retentionsValue | Float | Withholding tax value applied to this document |
file | Upload | Attached file (e.g., scanned supplier invoice). Stored as a file path in reads |
fileOriginal | String | Original file name of the uploaded attachment |
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) |
currencyExchangeExchange | Float | Exchange rate value applied when document uses a foreign currency |
importStatus | ImportStatus | Import status for migrated documents (indicates data migration state) |