SalesInvoice
A sales invoice: the bill for the goods and services of one or more sales orders. A draft has no number and can be edited; a finalized invoice is binding and is changed only by cancelling it or by a correction. Line items are read with “QuerySalesInvoiceLineItemsBySalesInvoiceId”. Payment state and amounts are read with “GetSalesInvoicePaymentBalance”.
SalesInvoiceFields
The ID of the sales invoice.
The invoice number. Absent for a draft.
Where the invoice stands: DRAFT, FINALIZED or CANCELLED.
Whether the invoice was created outside the ERP and only recorded here.
The invoice date.
The date from which the payment term runs.
The start of the delivery or service period.
The end of the delivery or service period.
When the invoice was created.
The user who created the invoice.
The name of the user who created the invoice.
The company that issued the invoice.
The name of the company.
The ID of the customer.
The customer number as recorded on the invoice.
The name of the customer group as recorded on the invoice.
The accounts receivable number of the customer.
The VAT ID on the invoice.
The sales channel the invoice belongs to. Tenant-local, composite identifier, not a UUID. Valid values are listed by the sales channel endpoint (GET).
The name of the sales channel.
The language of the invoice as BCP 47 language tag, for example de or de-AT: language subtag in lower case, region subtag in upper case. Wawi currently holds only the two-letter language subtag.
The currency of the invoice as ISO 4217 code.
How the invoice is taxed, with the values of the tax treatment of the taxes API: TAXABLE, INTRA_COMMUNITY_DELIVERY, REVERSE_CHARGE or EXEMPT. New values can be added; treat an unknown value as unknown.
The ID of the payment method.
The name of the payment method.
The ID of the shipping method.
The name of the shipping method.
The billing address. A copy: changing the customer does not change it.
The address the goods are shipped to. A copy.
The payment terms.
The sales orders the invoice was created for.
The order number of the external system.
The date of the last shipment of the goods.
An internal note on the invoice.
A comment of the customer.
A text printed on the invoice.
The net total; never negated, so a normal invoice is not negative.
The gross total; never negated, so a normal invoice is not negative.
When the invoice was last printed.
When the invoice was last sent by mail.
Whether a correction of the invoice exists that is not cancelled.
The gross total of the corrections that are not cancelled.
Whether the invoice is archived.
Whether dunning is blocked for the invoice. It is changed with the dunning block of the invoice.
The current dunning level; absent when the invoice was not dunned.
When the invoice was last dunned.
The ID of the cancellation document. Only when the invoice is cancelled.
The ID of the cancellation reason, the same ID the cancel input takes; the reason is read by this ID from the cancellation reasons of sales invoices. Only when the invoice is cancelled; Wawi stores 0 when no reason was given, returned as null. The reason may have been deleted since (the cancellation keeps the ID), then the ID no longer resolves.
The name of the cancellation reason. Only when the invoice is cancelled.
The comment on the cancellation. Only when the invoice is cancelled.
The user who cancelled the invoice. Only when the invoice is cancelled.
The name of the user who cancelled the invoice.
When the invoice was cancelled. Only when the invoice is cancelled.
Was this page helpful?