Chameleoon MAX · Types
InvoiceSyncResult type
The result of syncInvoice or removeInvoice.
Fields
invoice
The invoice as MAX holds it after the call.
changed
Boolean!
false when nothing was written: the same document again, or a STALE one.
reason
Why nothing was written. Null when the call wrote, or sent the same document again.
warnings
What MAX matched or could not match that you should know, for example a partner found by its company registration number (IČO) or a line that no code matched.
Priced as 3 warnings, however many it holds.
Costs 3 points plus 3 × one warning's selection.
Used by
removeInvoice(mutation)syncInvoice(mutation)