Even geduld a.u.b...

Exact Online REST API - SalesInvoiceOrderChargeLines

Endpoint

SalesInvoiceOrderChargeLines

Good to know

Use this endpoint to create, read, update and delete sales invoice shipping cost and order charge lines.

To view an example of the business use of this endpoint, see Rest API - Business example API sales invoice.


This endpoint is available for the following packages:

Scope

Sales invoices

URI

/api/v1/{division}/salesinvoice/SalesInvoiceOrderChargeLines


GET POST PUT DELETE

Example usage

/api/v1/{division}/salesinvoice/SalesInvoiceOrderChargeLines

/api/v1/{division}/salesinvoice/SalesInvoiceOrderChargeLines

/api/v1/{division}/salesinvoice/SalesInvoiceOrderChargeLines

/api/v1/{division}/salesinvoice/SalesInvoiceOrderChargeLines


Properties

Name Mandatory Value Value Type Description
ID False Edm.Guid Line ID of shipping method or order charges
AmountDC False Edm.Double Amount excluded VAT in reporting currency for shipping cost or order charges
AmountFCExclVAT False Edm.Double Amount excluded VAT in trading currency for shipping cost or order charges
AmountFCInclVAT False Edm.Double Amount included VAT in trading currency for shipping cost or order charges
AmountVATFC False Edm.Double VAT amount in trading currency for shipping cost or order charges
Division False Edm.Int32 Division code
GLAccount False Edm.Guid The GL Account of the sales invoice order charge line. This field is mandatory. This field is set based on the order charge master
GLAccountCode False Edm.String GL account code of shipping cost or order charges
GLAccountDescription False Edm.String GL account description of shipping cost or order charges
InvoiceID True Edm.Guid The InvoiceID identifies the sales invoice. All the lines of a sales invoice have the same InvoiceID
IsShippingCost False Edm.Boolean Indicates whether the order charge line is shipping cost
LineNumber False Edm.Int32 Line number of shipping cost and order charges
OrderCharge False Edm.Guid ID of order charges is mandatory for order charge. However, it is not required for shipping cost
OrderChargeCode False Edm.String Code of shipping method or order charges
OrderChargeDescription False Edm.String Description from shipping method or order charges master
OrderChargesLineDescription False Edm.String Line description of shipping cost or order charges (only available in WD Premium packages)
VATCode False Edm.String VAT code that is used for shipping cost or order charges based on master
VATDescription False Edm.String VAT description for shipping cost or order charges
VATPercentage False Edm.Double The vat percentage of the VAT code. This is the percentage at the moment the invoice is created. It's also used for the default calculation of VAT amounts and VAT base amounts

Returns