Skip to main content

Type of Service: ftChargeItemCase

This table expands on the values provided in the Type of Service: ftChargeItemCase reference table of the Compliance Middleware with country-specific values applicable to the Spanish market.

Format​

CCCC_vlll_gggg_NNSV

v - version​

version 2

V - VAT​

For more information, see VAT rules and rates. The fiskaltrust.Middleware checks that the VATRate of the charge item matches the rate of the category and that the VATAmount matches the rate within 0.01; mismatches are rejected.

ValueDescription
0Unknown type of service for ES
Not supported in Spain; charge items with this value are rejected (EEEE_UnsupportedVatRate).
1Discounted-1 VAT rate
Reduced rate (tipo reducido), 10 %.
2Discounted 2 VAT rate
Reduced rate, 10 % (same rate as 1).
3Normal VAT rate
General rate (tipo general), 21 %.
4Super reduced 1 VAT rate
Super-reduced rate (tipo superreducido), 4 %.
5Super reduced 2 VAT rate
Super-reduced rate, 4 % (same rate as 4).
6Parking VAT rate
Not supported in Spain; charge items with this value are rejected.
7Zero VAT rate
0 %. The nature-of-VAT segment (NN) must identify the exemption or not-subject reason.
8Not Taxable
0 %. The nature-of-VAT segment (NN) must identify the exemption or not-subject reason.

Table 1. VAT rate values (V) for Spain.

S - Type of Service​

Only the types of service 0, 1, 2, 3, 5 and 9 are accepted by the fiskaltrust.Middleware in Spain; the other values are rejected with EEEE_UnsupportedChargeItemServiceType. For invoices to foreign customers the TicketBAI file distinguishes deliveries of goods (Entrega: 0, 1, 5) from services (PrestacionServicios: 2, 3, 9).

ValueDescription
0Unknown type of service
Handled as delivery of goods.
1Delivery (supply of goods)
2Other service (supply of service)
3Tip
Handled as a service.
4Voucher
Not supported in Spain; rejected.
5Catalog service
Handled as delivery of goods.
6Not own sales / Agency business
Not supported in Spain; rejected.
7Own Consumption
Not supported in Spain; rejected.
8Grant
Not supported in Spain; rejected.
9Receivable
Receivable creation is negative (-) amount
Receivable reduction is positive (+) amount.
Handled as a service.
ACash Transfer
Not supported in Spain; rejected.

Table 2. Type of service values (S) for Spain.

NN - nature of VAT​

The nature of VAT identifies why a line carries no VAT or a special treatment. The values follow the key lists of the AEAT (VERI*FACTU: L8A ClaveRegimen, L9 CalificacionOperacion, L10 OperacionExenta) and of the Basque provinces (TicketBAI: L9 ClaveRegimenIvaOpTrascendencia, L10 CausaExencion, L11 TipoNoExenta, L13 Causa of NoSujeta). Every 0 % line must carry one of the values below; a value that is not listed is rejected.

ValueDescriptionVERI*FACTU recordTicketBAI file
00Usual VAT appliesCalificacionOperacion S1, ClaveRegimen 01Sujeta/NoExenta, TipoNoExenta S1, clave 01
10Exempt: exports (art. 21 LIVA)OperacionExenta E2, ClaveRegimen 02Sujeta/Exenta, CausaExencion E2, clave 02
11Exempt: intra-Community delivery of goods (art. 25 LIVA)E5, clave 01Exenta E5, clave 01
13Exempt: transactions treated as exports (art. 22 LIVA)E3, clave 02Exenta E3, clave 02
14Exempt: customs and tax-warehouse regimes (art. 23 and 24 LIVA)E4, clave 02Exenta E4, clave 02
20Not subject: location rulesCalificacionOperacion N2, clave 01NoSujeta, Causa RL
21Not subject: art. 7 and 14 LIVA and othersN1, clave 01NoSujeta, Causa OT
30Exempt: domestic transactions (art. 20 LIVA)E1, clave 01Exenta E1, clave 01
31Exempt: other exemptionsE6, clave 01Exenta E6, clave 01
50Reverse charge (inversión del sujeto pasivo)CalificacionOperacion S2, clave 01Sujeta/NoExenta, TipoNoExenta S2, clave 01
60Not subject: foreign tax applies (IPSI/IGIC territories or another country)N1, clave 01; the applied tax (Impuesto) follows the tax regime configured for the queueNoSujeta, Causa IE, clave 08
80Excluded: transactions on behalf of third partiesN1, clave 01NoSujeta, Causa VT, clave 01

Table 3. Nature of VAT values (NN) for Spain.

The applied tax of a VERI*FACTU record (Impuesto: 01 VAT, 02 IPSI for Ceuta and Melilla, 03 IGIC for the Canary Islands) is a property of the queue configuration, not of the charge item. The special regimes of ClaveRegimen beyond 01 (general) and 02 (exports) and the equivalence surcharge are not supported yet.

lll - local tagging/flag​

TBD

gggg - global tagging/flag​

ValueDescription
0001IsVoid
Marks ChargeItem as Void previous position. Quantity and amount are inverted, related to original item.
0002IsReturn/IsRefund
Marks ChargeItem as Return of good or service. Quantity and amount are inverted, related to original item.
0004Discount
Marks ChargeItem as Discount/Extra for previous position.
Positive (+) amount is extra.
Negative (-) amount is discount
IsVoid or IsReturn/IsRefund will invert this behavior.
0008Downpayment
Marks ChargeItem as a downpayment.
Positive (+) amount is the creation of downpayment.
Negative (-) amount is reduction of downpayment.
IsVoid or IsReturn/IsRefund will invert this behavior.
0010Returnable
Marks ChargeItem as a returnable.
Positive (+) amount/quantity is handout.
Negative (-) amount/quantity is reverse.
IsVoid or IsReturn/IsRefund will invert this behavior.
0020TakeAway
Marks ChargeItem as TakeAway item to prove special VAT application
8000ShowInPayments
Visualize the item after Total Amount. This inverts amount and does not include the amount into the visualized total amount on the receipt.

Table 4. Global tagging/flag values (gggg) for Spain.

ftChargeItemCaseFlag​

This table shows flags that can be added to each ftChargeItemCase with values applicable to the Spanish market.