SalespersonPaymentUpdate
input
Updates a SalespersonPayment.
Updates the selected SalespersonPayment with the inserted data.
Fields
| Name | Type | Description |
|---|---|---|
documentId | Int! | |
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 |
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 |
commissions | [CommissionsInput] | Commission breakdown per salesperson for this document |
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 |
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 |
currencyExchangeExchange | Float | Exchange rate value applied when document uses a foreign currency |