Skip to main content
Key: it-ticket-v1

Sources

Correction Definitions

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

Invoice Types

The types of invoices that can be created with a preceding definition:
  • corrective

Stamp Keys

Stamp keys from the previous invoice that need to be referenced:
  • ade-ref

Extensions

Exemption Code

CodeName
N1Excluded pursuant to Art. 15, DPR 633/72
N2Not subject
N3Not taxable
N4Exempt
N5Margin regime / VAT not exposed
N6Reverse charge

AdE CF Product Key

Product keys are used by AdE CF to differentiate between goods and services.
CodeName
goodsDelivery of goods
servicesProvision of services

AdE Lottery Code

Lottery key is used to identify the lottery number (Codice lotteria). This lottery code is provided by the customer at the time of purchase. It is used to identify the customer in the lottery system provided by the Agenzia delle Entrate.
Pattern: ^[A-Z0-9]{8}$

AdE Line Reference

Reference code provided by the AdE to be able to identify the specific line in credit notes.

Validation Rules

FieldTestValidation Code / Message
tax
  • Present
GOBL-IT-TICKET-V1-BILL-INVOICE-01
Tax is required
tax.prices_include
  • Present
GOBL-IT-TICKET-V1-BILL-INVOICE-02
Prices_include is required
tax.prices_include
  • One of [VAT]
GOBL-IT-TICKET-V1-BILL-INVOICE-03
Prices_include must be VAT
supplier.tax_id
  • Present
GOBL-IT-TICKET-V1-BILL-INVOICE-04
Supplier tax ID is required
preceding
  • Invoice type in [corrective]
  • Present
GOBL-IT-TICKET-V1-BILL-INVOICE-05
Preceding documents are required for corrective invoices
lines[*]
  • Line has tax category VAT
GOBL-IT-TICKET-V1-BILL-INVOICE-06
Line taxes must include VAT category
lines[*].ext
  • Invoice type in [corrective]
  • Ext require [it-ticket-line-ref]
GOBL-IT-TICKET-V1-BILL-INVOICE-07
Corrective invoice lines require ‘it-ticket-line-ref’ extension
FieldTestValidation Code / Message
ext
  • VAT without percent
  • Ext require [it-ticket-exempt]
GOBL-IT-TICKET-V1-TAX-COMBO-01
Exempt VAT combo requires ‘it-ticket-exempt’ extension
percent
Calculated
  • Is VAT
  • Valid percentage
GOBL-IT-TICKET-V1-TAX-COMBO-02
Must be a valid value