Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Exact Online API Data Model

Navigation: Catalog: ExactOnlineREST > Schemas > Schema: SalesInvoice > Tables

SalesInvoices: Exact Online Sales Invoices

Contents Previous Home Next More

Catalog: ExactOnlineREST

Schema: SalesInvoice

Primary Keys: InvoiceID

Label: Sales Invoices

The data in this table is partitioned per value of the Division column.

Can retrieve data and change data using insert, update and delete.

Webhook Topic: SalesInvoices

Select Exact Online API URL: /api/v1/{division}/salesinvoice/SalesInvoices

Insert Exact Online API URL: /api/v1/{division}/salesinvoice/SalesInvoices

Update Exact Online API URL: /api/v1/{division}/salesinvoice/SalesInvoices

Delete Exact Online API URL: /api/v1/{division}/salesinvoice/SalesInvoices

Exact Online API Metadata URL: /api/v1/{division}/salesinvoice/$metadata

Field Selection Method: Required

Table Columns

The columns of the table SalesInvoices are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert or update.

Name

Data Type

Label

Required

Documentation

AmountDC

double

Amount Division Currency

For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines.

AmountDiscount

double

Amount Discount

Discount amount in the default currency of the company.

AmountDiscountExclVat

double

Amount Discount excluding VAT

Discount amount exclude VAT in the default currency of the company.

AmountFC

double

Amount Foreign Currency

For the header this is the sum of all lines, including VAT.

AmountFCExclVat

double

Amount Foreign Currency excluding VAT

For the header this is the sum of all lines, excluding VAT.

Created

datetime

Created

Creation date.

CreatedUtc

datetime

Created (UTC)

Creation date in UTC.

Creator

guid

Creator

User ID of creator.

CreatorFullName

string(240)

Creator Full Name

Name of creator.

Currency

string(30)

Currency

Currency for the invoice. Default this is the currency of the administration.

DeliverTo

guid

Deliver to

Delivery account for invoice.

DeliverToAddress

guid

Deliver To Address

Address of delivery as per invoice delivery account.

DeliverToContactPerson

guid

Deliver to Contact Person

Delivery account person for invoice.

DeliverToContactPersonFullName

string(240)

Deliver To Contact Person Full Name

Name of delivery account's contact person as per invoice.

DeliverToName

string

Deliver to Name

Name of the delivery account's customer as per invoice.

Description

string

Description

Description. Can be different for header and lines.

Discount

double

Discount

Discount percentage.

DiscountType

int16

Discount Type

 

Division

int32

Division

Division code.

DivisionCompanyCoCNumber

string(20)

Division Chamber of Commerce Number

Chamber of commerce number of the Exact Online division.

DivisionCompanyIBANNumber

string(50)

Division IBAN Number

IBAN number of the Exact Online division.

DivisionCompanyName

string(50)

Division Company Name

Company name of the Exact Online division.

DivisionCompanyRSINNumber

string(9)

Division RSIN Number

RSIN number of the Exact Online division.

DivisionCompanyVATNumber

string(35)

Division VAT Number

VAT number of the Exact Online division.

DivisionCompanyWageTaxNumber

string(60)

Division Wage Tax Number

Wage tax number of the Exact Online division.

DivisionLabel

string(128)

Division Label

Label of the Exact Online division.

DivisionName

string(50)

Administration Name

Name of the Exact Online division.

DivisionOwnerCompanyName

string(50)

Subscription Holder Name

Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionOwnerCompanyNumber

string(18)

Subscription Holder Number

Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionShortName

int64

Division Short Name

Short name of the Exact Online division.

Document

guid

Document

Document that is manually linked to the invoice.

DocumentNumber

int32

Document Number

Number of the document.

DocumentSubject

string(256)

Document Subject

Subject of the document.

DueDate

datetime

Due Date

The due date for payments. This date is calculated based on the EntryDate and the Paymentcondition.

ExtraDutyAmountFC

double

Extra Duty Amount Foreign Currency

Extra duty amount in the currency of the transaction. Both extra duty amount and VAT amount need to be specified in order to differ this property from automatically calculated.

GAccountAmountFC

double

 

A positive value of the amount indicates that the amount is to be paid by the customer to your G bank account.In case of a credit invoice the amount should have negative value when retrieved or posted to Exact.

InvoiceDate

datetime

Invoice Date

Official date for the invoice. When the invoice is entered it's equal to the field 'EntryDate'. During the printing process the invoice date can be entered.

InvoiceID

guid

Invoice ID

Primary key.

InvoiceNumber

int32

Invoice Number

Assigned at entry or at printing depending on setting. The number assigned is based on the freenumbers as defined for the Journal. When printing the field InvoiceNumber is copied to the fields EntryNumber and InvoiceNumber of the sales entry.

InvoiceTo

guid

Invoice to

Reference to the Customer who will receive the invoice.

InvoiceToContactPerson

guid

Invoice to Contact Person

Reference to the Contact person of the customer who will receive the invoice.

InvoiceToContactPersonFullName

string(240)

Invoice To Contact Person Full Name

Name of the contact person of the customer who will receive the invoice.

InvoiceToName

string

Invoice to Name

Name of the customer who will receive the invoice.

IsExtraDuty

boolean

Is Extra Duty

Indicates whether the invoice has extra duty.

Journal

string(20)

Journal

The journal code. Every invoice should be linked to a sales journal.

JournalDescription

string(60)

Journal Description

Description of Journal.

Modified

datetime

Modified

Last modified date.

ModifiedUtc

datetime

Modified (UTC)

Last modified date in UTC.

Modifier

guid

Modifier

User ID of modifier.

ModifierFullName

string(240)

Modified Full Name

Name of modifier.

NetAmountDC

double

Net Amount Division Currency

Net amount in division currency of sales invoice.

NetAmountFC

double

Net Amount Foreign Currency

Net amount in foreign currency of sales invoice.

OrderDate

datetime

Order Date

Order date.

OrderedBy

guid

Ordered by

Customer who ordered the invoice.

OrderedByContactPerson

guid

Ordered by Contact Person

Contact person of customer who ordered the invoice.

OrderedByContactPersonFullName

string(240)

Ordered by Contact Person Full Name

Name of contact person of customer who ordered the invoice.

OrderedByName

string(50)

Ordered by Name

Name of customer who ordered the invoice.

OrderNumber

int32

Order Number

Number to identify the order. By default the number is based on a setting for the first free number, but you can post your own number.

PaymentCondition

string(2)

Payment Condition

The payment condition used for due date and discount calculation.

PaymentConditionDescription

string(60)

Payment Condition Description

Description of PaymentCondition.

PaymentReference

string(60)

Payment Reference

Payment reference for sales invoice.

Remarks

string

Remarks

Extra remarks.

SalesChannel

guid

Sales Channel

 

SalesChannelCode

string

Sales Channel Code

 

SalesChannelDescription

string

Sales Channel Description

 

Salesperson

guid

Sales Person

Sales representative.

SalespersonFullName

string(240)

Sales Person Full Name

Name of sales representative.

SelectionCode

guid

 

ID of selection code. Only supported by the Advanced and Premium editions for Wholesale & Distribution and Manufacturing.

SelectionCodeCode

string

 

Code of selection code.

SelectionCodeDescription

string

 

Description of selection code.

StarterSalesInvoiceStatus

int16

Sales Invoice Status (Starter)

Starter Sales invoice status (for starter functionality).

StarterSalesInvoiceStatusDescription

string

 

Description of StarterSalesInvoiceStatus.

Status

int16

Status

The status of the entry. 10 = draft. During the creation of an invoice draft records occur in the draft modus if during an invoice a new page with lines is triggered. If the user leaves the invoice in an abnormal way the draft invoices can be recovered. Draft invoices are not included in financial reports, balances etc. 20 = open. Open invoices can be changed. New invoices get the status open by default. 50 = processed. Processed invoices can't be changed anymore. Processing is done via printing. Processed invoices can't be reopened.

StatusDescription

string

Status Description

Description of Status.

TaxSchedule

guid

Tax Schedule

Obsolete.

TaxScheduleCode

string

Tax Schedule Code

Obsolete.

TaxScheduleDescription

string

Tax Schedule Description

Obsolete.

Type

int32

Type

Indicates the type of invoice Values: 8020 - Sales invoices, 8021 - Sales credit note.

TypeDescription

string(240)

Type Description

Description of the type.

VATAmountDC

double

VAT Amount Division Currency

Total VAT amount in the default currency of the company.

VATAmountFC

double

VAT Amount Foreign Currency

Total VAT amount in the currency of the transaction.

Warehouse

guid

Warehouse

Mandatory for direct sales invoice/credit note, cannot be set for normal sales invoice/credit note.

WithholdingTaxAmountFC

double

Withholding Tax Amount (Foreign Currency)

Withholding tax amount applied to sales invoice.

WithholdingTaxBaseAmount

double

Withholding Tax Base Amount

Withholding tax base amount to calculate withholding amount.

WithholdingTaxPercentage

double

Withholding Tax (%)

Withholding tax percentage applied to sales invoice.

YourRef

string(30)

Your Reference

The invoice number of the customer.

 

07-11-2021 09:07 Version 20.2.94-PROD+3513