1. Home
  2. Docs
  3. Documentation
  4. Using vatTypes/VAT-codes

Using vatTypes/VAT-codes

When using VAT-codes (in for example orderLines or postings) then you need to make sure that the VAT-codes you are attempting to use are…

  • Valid to use with your current endpoint (voucher = incoming, orderLines = outgoing, for instance)
  • Active in the Tripletex account (To enable VAT codes this is done via GUI in Accounts -> Settings -> VAT-settings)
    • If you are also specifying an account with the vatType then you also need to make sure the account is not locked to a specific VAT-code (VAT locked) and that the vatType is allowed for that account type.
  • Exists in Tripletex

To validate wether or not these conditions are met you can do the following:

  • Use GET ledger/account to fetch the legalVatTypes for a given account.
  • Check GET ledger/vatType with typeOfVat defined as either incoming or outgoing. This endpoint only returns VAT-codes that are active in the Tripletex account.
  • Check the accountId you are using via GET ledger/account to make sure the vatType is valid.

What VatTypes should I use?

In general this should be something you agree with (and map up) with your end user(s). The following table shows what codes are available (given that they are active in the Tripletex account) and wether they are inbound or outbound. Keep in mind that orderLine objects can only use inbound vatTypes. The database ID indicates the id-parameter in vatType, the number column indicate the VAT-code (shown in GUI)

DatabaseIDNumber (In GUI)NameInbound or outbound (sales) VAT TypeBasis precentageTax percentage
(2022-08-16)
11Deduction of input tax, high rateInbound100%25%
1111Deduction of input tax, medium rateInbound100%15%
11112Deduction of input tax, raw fishInbound100%11,11%
1213Deduction of input tax, low rateInbound100%12%
2314Deduction of input tax paid on importation, high rateInbound100%100%
2415Deduction of input tax paid on importation, medium rateInbound100%100%
23020Basis, no input tax on importationInbound100%0%
1321Basis input tax on importation, high rateInbound100%0%
1422Basis including import tax, medium rateInbound100%0%
33Outbound tax, high rateOutbound100%25%
3131Outbound tax, medium rateOutbound100%15%
31132Outgoing fee, raw fishOutbound100%11,11%
3233Outgoing fee, low rateOutbound100%12%
55No output tax (within the VAT Act)Outbound100%0%
5151Tax-free inland turnover with reverse tax liabilityOutbound100%0%
5252Duty-free export of goods and servicesOutbound100%0%
66No output tax (outside the VAT Act)Outbound100%
77No tax processing (revenues)Outbound100%0%
8181Deduction of input tax on importation, high rateOutbound100%25%
8282Input tax without deduction on importation, high rateInbound100%25%
8383Deduction of input tax on importation, medium rateInbound100%15%
8484Input tax without deduction on importation, medium rateInbound100%15%
8585Basic, duty-free importationInbound100%0%
3486Deduction of input tax when purchasing services from abroad, high rateInbound100%25%
3587Purchase of services from abroad without deduction, high rateInbound100%25%
8888Deduction of input tax when purchasing services from abroad, low rateInbound100%12%
8989Purchase of services from abroad without deduction, low rateInbound100%12%
9191Deduction of input tax when purchasing climate quotas/goldInbound100%25%
9292Purchase of climate quotas/gold without tax compensationInbound100%25%
559JUST-1VAT adjustment for capital goods – code 1100%25%
562JUST-81VAT adjustment for capital goods – code 81100%25%
550TAP-1Loss of claim – code 1100%25%
551TAP-11Loss of claim – code 11100%15%
552TAP-12Loss of claim – code 12100%11,11%
553TAP-13Loss of claim – code 13100%12%
560TILB-1Refund of VAT for capital goods – code 1100%25%
561TILB-81Refund of VAT for capital goods – code 81100%25%
554UTTAK-3Withdrawal – code 3100%25%
556UTTAK-31Withdrawal – code 31100%15%
557UTTAK-32Withdrawal – code 32100%11,11%
558UTTAK-33Withdrawal – code 33100%12%
555UTTAK-5Withdrawal – code 5100%0%