Italy Credit Notes

Changes to standard fields

  • ref has a maximum length of 20 characters.
  • lines[].unit is required
  • recipient.address.line1 is required.
  • recipient.address.city is required.
  • recipient.address.country is required.
  • recipient.address.postalCode is required.
  • recipient.address.state is required (2-character ISO code)

Italy-specific fields

type Invoice {
  // ...everything from Generic credit note
 customInfo: {
    ita: {
      documentType: 'TD04';
      recipientCode: string;
      transmissionFormat: string;
    }
  },
  lines: InvoiceLine[];
  // ...everything from recipient
  // recipient.contact.email required when customInfo.ita.recipientCode = '0000000'
  recipient: {
    contact: {
      email?: string;
    }
  }
}

type InvoiceLine {
  description: string;
  unit: Unit;
	quantity?: number;
	vat: {
    type: 'fixed' | 'percent';
    code: TaxCode;
    // If type='percent, amount can be one of:
    amount: 0.00 | 4.00 | 5.00 | 10.00 | 22.00;
  };
  price: {
    amount: number;
  };
}
NameTypeRequiredDescription
invoiceRefsstringYesAn array of existing invoices
lines[].descriptionstringYesDescription of the goods or service
lines[].unitstringYesA value from an enumerated list as outlined on Units of Measure
lines[].quantitynumberYesQuantity of the good or service
lines[].vat.typestringYesA value from an enumerated list of types:
"fixed"
"percent"
lines[].vat.codestringYesA value from an enumerated list of types:
"Reverse charge": Vat Reverse Charge
"Exempt": Exempt from Tax
"Standard": Standard rate
"Zero rated": Zero-rated goods
"Free export": Free export item, VAT not charged
"Outside of scope": Services outside scope of tax
lines[].vat.amountnumberYesLine item Tax amount when lines[].vat.type = 'percent' Can be one of 0.00, 4.00, 5.00, 10.00 or 22.00
lines[].price.amountnumberYes
customInfo.ita.recipientCodestringYesRecipient Code (Codice Destinatario) is used to identify the recipient's intermediary (such as a certified email provider or an SDI intermediary).

Here are the possible values:
7-character alphanumeric codes: These codes are assigned to intermediaries authorized to receive invoices on behalf of recipients. Each intermediary has a unique code.

0000000: This code is used when the recipient prefers to receive the invoice via their certified email (PEC) rather than through an intermediary.

XXXXXXX: For invoices issued to foreign customers who do not have an Italian SDI code.
customInfo.ita.transmissionFormatstringYes Here are the possible values:
"FPR12" - invoice to private parties
"FPA12" - invoice to public administration
recipient.contact.emailstringConditionalWhen the recipient code is set to 0000000, the invoice is intended to be delivered via a certified email address (recipient PEC). In this case, the recipient's PEC email address must be provided.

Example CSV file

Credit note - Italy.csv