Correction Definitions

Auto-generation of corrective invoices or credit and debit notes is supported.

Extension Keys

One or all of the following extensions may be required as part of the correction options. See the Extensions section for possible values.

  • es-tbai-correction

Extensions

The following extensions are supported.

TicketBAI Product Key

Key: es-tbai-product

Product keys are used by TicketBAI to differentiate between -exported- goods and services. It may be useful to classify all products regardless of wether they are exported or not.

There is an additional exception case for goods that are resold without modification when the supplier is in the simplified tax regime. For must purposes this special case can be ignored.

ValueName
goodsDelivery of goods
servicesProvision of services
resaleResale of goods without modification by vendor in the simplified regime

TicketBAI Exemption code

Key: es-tbai-exemption

Codes used by TicketBAI for both “exempt”, “not-subject”, and reverse charge transactions. In the TicketBAI format these are separated, but in order to simplify GOBL and be more closely aligned with other countries we’ve combined them into one.

ValueName
E1Exempt: pursuant to Article 20 of the Foral VAT Law
E2Exempt: pursuant to Article 21 of the Foral VAT Law
E3Exempt: pursuant to Article 22 of the Foral VAT Law
E4Exempt: pursuant to Articles 23 and 24 of the Foral VAT Law
E5Exempt: pursuant to Article 25 of the Foral VAT law
E6Exempt: pursuant to other reasons
OTNot subject: pursuant to Article 7 of the VAT Law - other cases of non-subject
RLNot subject: pursuant to localization rules
VTNot subject: sales made on behalf of third parties (amount not computable for VAT or IRPF purposes)
IENot subject in the TAI due to localization rules, but foreign tax, IPS/IGIC or VAT from another EU member state is passed on
S2Subject and not exempt: with reverse charge

TicketBAI Rectification Type Code

Key: es-tbai-correction

Corrected or rectified invoices that need to be sent in the TicketBAI format require a specific type code to be defined alongside the preceding invoice data.

ValueName
R1Rectified invoice: error based on law and Article 80 One, Two and Six of the Provincial Tax Law of VAT
R2Rectified invoice: error based on law and Article 80 Three of the Provincial Tax Law of VAT
R3Rectified invoice: error based on law and Article 80 Four of the Provincial Tax Law of VAT
R4Rectified invoice: Other
R5Rectified invoice: simplified invoices