Aller au contenu principal

Reference Lists

Reference Lists

All reference lists are stored in config-lists.json and editable from the UBL Defaults page in the web interface. Each list is a named template with type matching the list name. Property values follow the pipe-separated format:

"<code>": "<label_FR>|<label_EN>"

or for lists with additional fields:

"<code>": "<CONSTANT>|<label_FR>|<label_EN>||<flag>"

Document Types (document-types)

Defines the regulatory scope of each invoice — which e-invoicing or e-reporting flow applies.

CodeLabel (FR)Description
B2BRelève du e-invoicingStandard B2B e-invoicing flow
B2BINTE-reporting ventes B2B internationalesInternational B2B sales e-reporting
B2CE-reporting B2C VentesB2C sales e-reporting
OUTOFSCOPEHors réformeOutside the French e-invoicing reform scope
ARCHIVEONLYAvoir interne annulation REJETÉE/REFUSÉEInternal credit note for a rejected/refused invoice — no flux 1, no transmission (BR-FR-20)
B2GB2G (public sector)

Invoice Types (invoice-types) — UNTDID 1001 / BT-3

Maps the UBL invoice type code (K74LEDT in F564231) to a label.

CodeLabel (FR)Label (EN)
261Avoir auto-facturéSelf-billed credit note
262Avoir pour Remise GlobaleConsolidated credit note
380Facture commercialeCommercial invoice
381AvoirCredit note
384Facture rectificativeCorrected invoice
386Facture d'acomptePrepayment invoice
389Facture auto-facturéeSelf-billed invoice
393Facture affacturéeFactored invoice
396Avoir affacturéFactored credit note
471Facture rectificative auto-facturéeSelf-billed corrected invoice
472Facture rectificative affacturéeFactored corrected invoice
473Facture rectificative auto-facturée affacturéeSelf-billed factored corrected invoice
500Facture d'acompte auto-facturéeSelf-billed prepayment invoice
501Facture auto-facturée affacturéeSelf-billed factored invoice
502Avoir auto-facturé affacturéSelf-billed factored credit note
503Avoir de facture d'acompteCredit note for prepayment invoice

Profile IDs (profile-ids) — BT-23

The business process type / cadre de facturation, stored in K74XMLV in F564231.

CodeLabel (FR)Label (EN)
B1Dépôt d'une facture de bienGoods invoice deposit
S1Dépôt d'une facture de prestation de serviceService invoice deposit
M1Dépôt d'une facture double (biens et services non accessoires)Mixed invoice deposit
B2Dépôt d'une facture de bien déjà payéeAlready paid goods invoice
S2Dépôt d'une facture de prestation de service déjà payéeAlready paid service invoice
M2Dépôt d'une facture double déjà payéeAlready paid mixed invoice
S3Demande de paiement de sous-traitance avec paiement direct (B2G uniquement)Subcontracting payment request with direct payment (B2G only)
B4Facture définitive (après acompte) de bienFinal goods invoice (after advance payment)
S4Facture définitive (après acompte) de serviceFinal service invoice (after advance payment)
M4Facture définitive (après acompte) doubleFinal mixed invoice (after advance payment)
S5Dépôt par un sous-traitant d'une facture de prestation de serviceSubcontractor service invoice deposit
S6Dépôt par un cotraitant d'une facture de prestation de serviceCo-contractor service invoice deposit
B7Facture de bien avec e-reporting (TVA déjà collectée)Goods invoice with e-reporting (VAT already collected)
S7Facture de service avec e-reporting (TVA déjà collectée)Service invoice with e-reporting
B8Facture multi-vendeurs de bienMulti-vendor goods invoice
S8Facture multi-vendeurs de serviceMulti-vendor service invoice
M8Facture multi-vendeurs double (non exclusivement Sx ou Bx)Multi-vendor mixed invoice

VAT Categories (vat-categories) — UN/ECE 5305 / BT-118 / BT-151

CodeLabel (FR)Label (EN)
STaux standardStandard rate
ZTaux zéroZero rated
EExonéréExempt from tax
AEAutoliquidationVAT Reverse Charge
KIntracommunautaire (UE)Exempt for EEA intra-community supply
GExport hors UEFree export item, tax not charged
OHors champ TVAServices outside scope of tax

VAT Exemption Reason Codes (vatex-codes) — BT-120

Used in K74EXRC when the VAT category requires an exemption justification.

CodeLabel (FR)Label (EN)
vatex-eu-132Art. 132 — Exonération (médical, social, éducation, culture, sport)Art. 132 — Exempt
vatex-eu-143Art. 143 — Importations exonéréesArt. 143 — Exempt imports
vatex-eu-148Art. 148 — Transport internationalArt. 148 — International transport
vatex-eu-151Art. 151 — Organismes diplomatiquesArt. 151 — Diplomatic missions
vatex-eu-309Art. 309 — Régimes particuliersArt. 309 — Special schemes
vatex-eu-icLivraison intracommunautaire (K)Intra-community supply
vatex-eu-aeAutoliquidation (AE)Reverse charge
vatex-eu-gExportation hors UE (G)Export outside EU
vatex-eu-oHors champ TVA (O)Outside scope of VAT
vatex-eu-dFranchise en baseSmall enterprise scheme
vatex-eu-fRégime forfaitaireFlat-rate scheme
vatex-eu-iRégime de la marge — agences de voyageMargin scheme, travel agents
vatex-eu-jRégime de la marge — biens d'occasionMargin scheme, second-hand goods

Payment Means (payment-means) — UNTDID 4461 / BT-81

Stored in Y56PYIN in F564231.

CodeLabel (FR)Label (EN)
10EspècesIn cash
20ChèqueCheque
30VirementCredit transfer
42Virement bancairePayment to bank account
48Paiement par carteCard payment
49PrélèvementDirect debit
57Convention permanenteStanding agreement
58Virement SEPASEPA Credit Transfer
59Prélèvement SEPASEPA Direct Debit
97Compensation entre partenairesClearing between partners
ZZZDéfini mutuellementMutually defined

Scheme IDs (scheme-ids) — ISO 6523 ICD / EAS

Identifies the type of electronic address or identifier used in Y56EPID / Y56EPSC in F564231.

CodeNameDescription
0002SIRENESIRENE identifier
0009SIRET-CODESIRET code
0060D-U-N-SData Universal Numbering System
0088GLN (EAN)EAN Location Code
0177OdetteOdette International Limited
0190Identifiant GLNGLN Identification Number
0223Société UEEU based company
0224FTCTC RoutageFTCTC routing code
0225Adresse électronique FRCTCFRCTC electronic address
0226FRCTC ParticulierFRCTC individual
0227Société hors UENon-EU based company
0228RIDETRépertoire des Entreprises et des Etablissements
0229TAHITIT.A.H.I.T.I identifier
0231Société taxable unique FranceSingle taxable company (France)
0238PPF/Plateforme AgrééeCertified e-invoicing platform

Electronic addresses are formatted as schemeID:identifier, for example:

  • 0225:123456789 — SIREN identifier
  • 0009:12345678901234 — SIRET identifier
  • 0238:PA-CODE — Plateforme Agréée routing code

Unit of Measure Codes (unit-codes) — UN/ECE Recommendation 20 / BT-130

Stored in Y56UM in F564233.

CodeLabel (FR)Label (EN)
C62UnitéOne (piece)
MTRMètreMetre
KGMKilogrammeKilogram
TNETonne (métrique)Tonne (metric ton)
LTRLitreLitre
MTQMètre cubeCubic metre

Note Types (note-types) — UNTDID 4451 / BT-22

Note type codes qualify the content of invoice-level notes. Only the most commonly used codes for e-invoicing are shown here. The full list (200+ codes) is available in config-lists.json.

CodeLabel (FR)Label (EN)
AAADescription de la marchandiseGoods item description
AABConditions de paiementPayment term
AAIInformations généralesGeneral information
AAJConditions supplémentaires de vente/achatAdditional conditions of sale/purchase
AAKConditions de prixPrice conditions
ACDMotifReason
ACELitigeDispute
ADUNoteNote
AVERégime de marge TVAValue Added Tax (VAT) margin scheme
BAQMotif d'exonération TVAVAT exemption reason
ZZZDéfini mutuellementMutually defined

Countries (countries) — ISO 3166-1 alpha-2

The full list of ISO 3166-1 alpha-2 country codes is defined in config-lists.json (250+ entries) and displayed in the web interface wherever a country selector is needed.

Common examples:

CodeFREN
FRFranceFrance
DEAllemagneGermany
GBRoyaume-UniUnited Kingdom
ESEspagneSpain
ITItalieItaly
BEBelgiqueBelgium
USÉtats-Unis d'AmériqueUnited States of America

Currency Codes (currency-codes) — ISO 4217 / BT-5 / BT-6

The full list of ISO 4217 currency codes is defined in config-lists.json (150+ entries).

Common examples:

CodeDescription
EUREuro
USDUS Dollar
GBPPound Sterling
CHFSwiss Franc
JPYYen
CADCanadian Dollar

Editing reference lists

All lists can be edited from the UBL Defaults page in the web interface, or directly in config-lists.json. Changes take effect on the next server restart.

To add a new entry to an existing list, add a property to the corresponding template in config-lists.json:

{
"name": "payment-means",
"properties": {
"type": "payment-means",
"31": "Virement débit|Debit transfer"
}
}