> ## Documentation Index
> Fetch the complete documentation index at: https://gobl-regime-code.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Italy AdE ticket v1.x

Key: <code>it-ticket-v1</code>

## Sources

* [Italian AdE Cassetto Fiscale](https://www.agenziaentrate.gov.it/portale/schede/comunicazioni/fatture-e-corrispettivi)
* [Italian AdE Fattura e Corrispettivi](https://www.agenziaentrate.gov.it/portale/schede/comunicazioni/fatture-e-corrispettivi)

## 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:

* <code>corrective</code>

### Stamp Keys

Stamp keys from the previous invoice that need to be referenced:

* <code>ade-ref</code>

## Extensions

### Exemption Code

<Accordion title="it-ticket-exempt">
  | Code            | Name                                     |
  | --------------- | ---------------------------------------- |
  | <code>N1</code> | Excluded pursuant to Art. 15, DPR 633/72 |
  | <code>N2</code> | Not subject                              |
  | <code>N3</code> | Not taxable                              |
  | <code>N4</code> | Exempt                                   |
  | <code>N5</code> | Margin regime / VAT not exposed          |
  | <code>N6</code> | Reverse charge                           |
</Accordion>

### AdE CF Product Key

Product keys are used by AdE CF to differentiate between goods
and services.

<Accordion title="it-ticket-product">
  | Code                  | Name                  |
  | --------------------- | --------------------- |
  | <code>goods</code>    | Delivery of goods     |
  | <code>services</code> | Provision of services |
</Accordion>

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

<Accordion title="it-ticket-lottery">
  Pattern: <code>^\[A-Z0-9]{8}\$</code>
</Accordion>

### AdE Line Reference

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

<Accordion title="it-ticket-line-ref" />
