Please enable JavaScript to view this site.

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

SalesEntries: Exact Online Sales Entries

Catalog: ExactOnlineREST

Schema: SalesEntry

Primary Keys: EntryID

Label: Sales Entries

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: SalesEntries

Select Exact Online API URL: /api/v1/{division}/salesentry/SalesEntries

Insert Exact Online API URL: /api/v1/{division}/salesentry/SalesEntries

Update Exact Online API URL: /api/v1/{division}/salesentry/SalesEntries

Delete Exact Online API URL: /api/v1/{division}/salesentry/SalesEntries

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

Field Selection Method: Required

Table Columns

The columns of the table SalesEntries 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

Amount in the default currency of the company. For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines.

AmountFC

double

Amount Foreign Currency

Amount in the currency of the transaction. For the header this is the sum of all lines, including VAT.

BatchNumber

int32

Batch Number

The number of the batch of entries. Normally a batch consists of multiple entries. Batchnumbers are filled for invoices created by: - Fixed entries - Prolongation (only available with module hosting).

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. By default this is the currency of the administration.

Customer

guid

Customer

Reference to customer (account).

CustomerName

string(50)

Customer Name

Name of customer.

Description

string

Description

Description. Can be different for header and lines.

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.

EntryDate

datetime

Entry Date

The date when the invoice is entered.

EntryID

guid

Entry ID

The unique ID of the entry. Via this ID all transaction lines of a single entry can be retrieved.

EntryNumber

int32

Entry Number

Entry number.

ExternalLinkDescription

string

External Link Description

Description of ExternalLink.

ExternalLinkReference

string

 

Reference of ExternalLink.

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.

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.

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 entry.

NetAmountFC

double

Net Amount Foreign Currency

Net amount in foreign currency of sales entry.

OrderNumber

int32

Order Number

Number to indentify the invoice. Order numbers are not unique. Default the number is based on a setting for the first free 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

The payment reference used for bank imports, VAT return and Tax reference.

ProcessNumber

int32

 

 

Rate

double

Rate

Foreign currency rate.

ReportingPeriod

int16

Reporting Period

The period of the transaction lines. The period should exist in the period date table.

ReportingYear

int16

Reporting Year

The financial year to which the entry belongs. The financial year should exist in the period date table.

Reversal

boolean

Reversal

Indicates if amounts are reversed.

Status

int16

Status

Status: 5 = Rejected, 20 = Open, 50 = Processed.

StatusDescription

string

Status Description

Description of Status.

Type

int32

Type

Type: 20 = Sales entry, 21 = Sales credit note.

TypeDescription

string(240)

Type Description

Description of Type.

VATAmountDC

double

VAT Amount Division Currency

Vat amount in the default currency of the company.

VATAmountFC

double

VAT Amount Foreign Currency

Vat amount in the currency of the transaction.

WithholdingTaxAmountDC

double

 

Withholding tax amount.

WithholdingTaxBaseAmount

double

Withholding Tax Base Amount

Withholding tax base amount to calculate withholding amount.

WithholdingTaxPercentage

double

Withholding Tax (%)

Withholding tax percentage.

YourRef

string(30)

Your Reference

The invoice number of the customer.

 

15-06-2022 19:32 Version 22.0.232-PROD+3445