Skip to main content
Key: es-facturae-v3 Module: github.com/invopop/gobl

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

Scenarios

bill/invoice

Filters:
  • Types: standard, corrective, credit-note, debit-note
Output:
  • Extensions: es-facturae-doc-type:FC
Filters:
  • Tags: simplified
Output:
  • Extensions: es-facturae-doc-type:FA
Filters:
  • Tags: self-billed
Output:
  • Extensions: es-facturae-doc-type:AF
Filters:
  • Types: standard
Output:
  • Extensions: es-facturae-invoice-class:OO
Filters:
  • Types: corrective, credit-note, debit-note
Output:
  • Extensions: es-facturae-invoice-class:OR
Filters:
  • Tags: summary
Output:
  • Extensions: es-facturae-invoice-class:OC
Filters:
  • Types: standard
  • Tags: copy
Output:
  • Extensions: es-facturae-invoice-class:CO
Filters:
  • Types: corrective
  • Tags: copy
Output:
  • Extensions: es-facturae-invoice-class:CR
Filters:
  • Types: standard
  • Tags: copy, summary
Output:
  • Extensions: es-facturae-invoice-class:CC

Extensions

FacturaE: Subsidy

Indicates that an advance payment came from a public grant or subsidy. Set on a payment Record’s ext map; replaces the previous pay.Record.Grant boolean field.

FacturaE: Document Type

FacturaE: Invoice Class

FacturaE Change

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

Validation Rules