Please enable JavaScript to view this site.

Exact Online API Data Model

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

VATCodes: Exact Online VAT Codes

Contents Previous Home Next More

Catalog: ExactOnlineREST

Schema: VAT

Primary Keys: ID

Label: VAT Codes

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

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

Select Exact Online API URL: /api/v1/{division}/vat/VATCodes

Insert Exact Online API URL: /api/v1/{division}/vat/VATCodes

Update Exact Online API URL: /api/v1/{division}/vat/VATCodes

Delete Exact Online API URL: /api/v1/{division}/vat/VATCodes

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

Field Selection Method: Required

Table Columns

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

Account

guid

Account

Tax account.

AccountCode

string(18)

Account Code

Code of Account.

AccountName

string(50)

Account Name

Name of Account.

CalculationBasis

int16

 

Indicates how to calculate the tax. 0 = based on the gross amount, 1 = based on the gross amount + another tax.

Charged

boolean

Charged

Indicates if transactions using the VAT code are transactions of the domestic VAT charging regulation (such as those for subcontractors) or transactions that are registered within the EU. If Charged=1 and linked to a purchase invoice, both a line for the VAT to pay and a line for the VAT to claim are being created.

Code

string(3)

Code

VAT code.

Country

string(30)

Country

Obsolete.

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.

Description

string(60)

Description

Description of the VAT code.

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.

EUSalesListing

string(1)

 

Used in all legislations except France. Indicates if and how transactions using the VAT code appear on the ICT return (EU sales list). L = Listing goods, N = No listing, S = Listing services, T = Triangulation.

GLDiscountPurchase

guid

 

Indicates the purchase discount GL account linked to the VAT codes for German legislation.

GLDiscountPurchaseCode

string(30)

 

Code of GLDiscountPurchase.

GLDiscountPurchaseDescription

string(60)

 

Description of GLDiscountPurchase.

GLDiscountSales

guid

 

Indicates the sales discount GL account linked to the VAT codes for German legislation.

GLDiscountSalesCode

string(30)

 

Code of GLDiscountSales.

GLDiscountSalesDescription

string(60)

 

Description of GLDiscountSales.

GLToClaim

guid

 

G/L account that is used to book the VAT to claim. If you enter purchases with a VAT code, the VAT amount to be claimed is entered to this VAT account. Must be of type VAT.

GLToClaimCode

string(30)

 

Code of GLToClaim.

GLToClaimDescription

string(60)

 

Description of GLToClaim.

GLToPay

guid

 

G/L account that is used to book the VAT to pay. If you enter sales with a VAT code, the VAT amount to be paid is entered to this VAT account. Must be of type VAT.

GLToPayCode

string(30)

 

Code of GLToPay.

GLToPayDescription

string(60)

 

Description of GLToPay.

ID

guid

ID

Primary key.

IntraStat

boolean

Intrastat

Used in all legislations except France. Indicates if intrastat is used.

IntrastatType

string(1)

 

Used in France legislation only. Indicates if and how transactions using the VAT code appear on the DEB/DES return. L = Goods, N = Empty, S = Services.

IsBlocked

boolean

Is Blocked

Indicates if the VAT code may still be used.

LegalText

string(150)

 

Legal description for VAT code to print in the total block of the invoice.

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.

Percentage

double

Percentage

Percentage of the VAT code.

TaxReturnType

int16

 

Indicates what type of Taxcode it is: can be VAT, IncomeTax.

Type

string(1)

Type

Indicates how the VAT amount should be calculated in relation to the invoice amount. B = VAT 0% (Only base amount), E = Excluding, I = Including, N = No VAT.

VatDocType

string(1)

 

Field in VAT code maintenance to calculate different VATs depending on the selected document type. P = purchase invoice, F = freelance invoice, E = expense voucher. The field is valid for witholding tax type.

VatMargin

int16

 

The VAT margin scheme is used for the trade of secondhand goods which are purchased without VAT (for example when a company buys a secondhand good from a private person). In the VAT margin scheme, the VAT is not calculated based on the sales price. Instead of that, the VAT is calculated based on the margin (gross sales price minus the gross purchase price).

VATPartialRatio

int16

 

Partial ratio explains which part of the VAT the company has to pay. Used in some branches where the sellers have a bad reputation, so the buyers have to take over the VAT-liability.

VATTransactionType

string(1)

 

Indicates the type of transactions for which the VAT code may be used. B = Both, P = Purchase, S = Sales.

 

14-04-2021 14:43 Version 20.1.394-BETA+3155