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-facturae-correction

Extensions

The following extensions are supported.

FacturaE: Document Type

Key: es-facturae-doc-type

ValueName
FCCommercial Invoice
FASimplified Invoice
AFSelf-billed Invoice

FacturaE: Invoice Class

Key: es-facturae-invoice-class

ValueName
OOOriginal
ORCorrective Original
OCSummary Original
COCopy of the Original
CRCopy of the Corrective
CCCopy of the Summary

FacturaE Change

Key: es-facturae-correction

FacturaE requires a specific and single code that explains why the previous invoice is being corrected.

ValueName
01Invoice code
02Invoice series
03Issue date
04Name and surnames/Corporate name - Issuer (Sender)
05Name and surnames/Corporate name - Receiver
06Issuer’s Tax Identification Number
07Receiver’s Tax Identification Number
08Supplier’s address
09Customer’s address
10Item line
11Applicable Tax Rate
12Applicable Tax Amount
13Applicable Date/Period
14Invoice Class
15Legal literals
16Taxable Base
80Calculation of tax outputs
81Calculation of tax inputs
82Taxable Base modified due to return of packages and packaging materials
83Taxable Base modified due to discounts and rebates
84Taxable Base modified due to firm court ruling or administrative decision
85Taxable Base modified due to unpaid outputs where there is a judgement opening insolvency proceedings