invantive documentation
Invantive Support ForumsLog In / Sign Up

VATCodes: Exact Online VAT Codes

insert update delete per partition REST

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

API Source

  • Endpoint: /api/v1/{division}/vat/VATCodes
  • Metadata: /api/v1/{division}/vat/$metadata

Performance Characteristics

Characteristic Value
Average access latency (ms) 5
Full scan rows per minute 7,200
Point query rows per minute 300
Write rows per minute 300

The result can be cached on the client.

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 and update.

Name Data Type Label Required Marks Documentation
Account guid Account filters on the platform, writable Tax account.
AccountCode varchar2(18) Account Code filters on the platform, writable Code of Account.
AccountName varchar2(50) Account Name filters on the platform, writable Name of Account.
CalculationBasis int16 itgen_eol_calculationbasis filters on the platform, writable Indicates how to calculate the tax. 0 = based on the gross amount, 1 = based on the gross amount + another tax.
Charged char Charged filters on the platform, writable 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 varchar2(3) Code filters on the platform, writable VAT code.
Country varchar2(30) Country filters on the platform, writable Obsolete.
Created datetime Created filters on the platform, writable Creation date.
CreatedUtc datetime Created (UTC) writable Creation date in UTC.
Creator guid Creator filters on the platform, writable User ID of creator.
CreatorFullName varchar2(240) Creator Full Name filters on the platform, writable Name of creator.
CustomField varchar2 Custom Field writable
Description varchar2(60) Description filters on the platform, writable Description of the VAT code.
Division int32 Division Division code.
DivisionCompanyCoCNumber varchar2(60) Division Chamber of Commerce Number writable Chamber of commerce number of the Exact Online division.
DivisionCompanyIBANNumber varchar2(50) Division IBAN Number writable IBAN number of the Exact Online division.
DivisionCompanyName varchar2(50) Division Company Name writable Company name of the Exact Online division.
DivisionCompanyRSINNumber varchar2(9) Division RSIN Number writable RSIN number of the Exact Online division.
DivisionCompanyVATNumber varchar2(35) Division VAT Number writable VAT number of the Exact Online division.
DivisionCompanyWageTaxNumber varchar2(60) Division Wage Tax Number writable Wage tax number of the Exact Online division.
DivisionLabel varchar2(128) Division Label writable Label of the Exact Online division.
DivisionName varchar2(50) Administration Name writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Subscription Holder Name writable Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionOwnerCompanyNumber varchar2(18) Subscription Holder Number writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName int64 Division Short Name writable Short name of the Exact Online division.
EUSalesListing varchar2(1) EU Sales Listing filters on the platform, writable 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.
ExcludeVATListing int16 Exclude VAT Listing filters on the platform, writable
GLDiscountPurchase guid itgen_eol_gldiscountpurchase filters on the platform, writable Indicates the purchase discount GL account linked to the VAT codes for German legislation.
GLDiscountPurchaseCode varchar2(30) itgen_eol_gldiscountpurchasecode filters on the platform, writable Code of GLDiscountPurchase.
GLDiscountPurchaseDescription varchar2(60) itgen_eol_gldiscountpurchasedescription filters on the platform, writable Description of GLDiscountPurchase.
GLDiscountSales guid itgen_eol_gldiscountsales filters on the platform, writable Indicates the sales discount GL account linked to the VAT codes for German legislation.
GLDiscountSalesCode varchar2(30) itgen_eol_gldiscountsalescode filters on the platform, writable Code of GLDiscountSales.
GLDiscountSalesDescription varchar2(60) itgen_eol_gldiscountsalesdescription filters on the platform, writable Description of GLDiscountSales.
GLToClaim guid itgen_eol_gltoclaim filters on the platform, writable 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 varchar2(30) itgen_eol_gltoclaimcode filters on the platform, writable Code of GLToClaim.
GLToClaimDescription varchar2(60) itgen_eol_gltoclaimdescription filters on the platform, writable Description of GLToClaim.
GLToPay guid itgen_eol_gltopay filters on the platform, writable 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 varchar2(30) itgen_eol_gltopaycode filters on the platform, writable Code of GLToPay.
GLToPayDescription varchar2(60) itgen_eol_gltopaydescription filters on the platform, writable Description of GLToPay.
ID guid ID filters on the platform, writable Primary key.
IntraStat char Intrastat filters on the platform, writable Used in all legislations except France. Indicates if intrastat is used.
IntrastatType varchar2(1) Intrastat Type filters on the platform, writable 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 char Is Blocked filters on the platform, writable Indicates if the VAT code may still be used.
LegalText varchar2(150) Legal Text filters on the platform, writable Legal description for VAT code to print in the total block of the invoice.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modified (UTC) writable Last modified date in UTC.
Modifier guid Modifier filters on the platform, writable User ID of modifier.
ModifierFullName varchar2(240) Modified Full Name filters on the platform, writable Name of modifier.
OssCountry varchar2 OSS Country filters on the platform
Percentage double Percentage filters on the platform, writable Percentage of the VAT code.
TaxReturnType int16 Tax Return Type filters on the platform, writable Indicates what type of Taxcode it is: can be VAT, IncomeTax.
Type varchar2(1) Type filters on the platform, writable 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.
VATPartialRatio int16 VAT Partial Ratio filters on the platform, writable 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 varchar2(1) Vat Transaction Type filters on the platform, writable Indicates the type of transactions for which the VAT code may be used. B = Both, P = Purchase, S = Sales.
VatDocType varchar2(1) VAT Document Type filters on the platform, writable 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 VAT Margin filters on the platform, writable 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).

Keys

Key Column Refers to Kind Description
VATCodes_Account_Accounts_fk Account Accounts.ID Key
VATCodes_Creator_Users_fk Creator Users.UserID Key
VATCodes_GLDiscountPurchase_GLAccounts_fk GLDiscountPurchase GLAccounts.ID Key
VATCodes_GLDiscountSales_GLAccounts_fk GLDiscountSales GLAccounts.ID Key
VATCodes_GLToClaim_GLAccounts_fk GLToClaim GLAccounts.ID Key
VATCodes_GLToPay_GLAccounts_fk GLToPay GLAccounts.ID Key
VATCodes_Modifier_Users_fk Modifier Users.UserID Key

Referenced By

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: