Reference Codes

This page lists the lookup codes used in eMessaging for electronic document exchange. These codes are part of international standards and are used in PEPPOL BIS 3.0, EDIFACT, and other supported formats.

VAT scheme identifiers (EAS)

Used in the Default VAT Scheme field to identify participants on the PEPPOL network. These are Electronic Address Scheme (EAS) codes defined by the PEPPOL authority.

Scheme IDCountryDescriptionExample
0007SwedenSwedish organization number (Organisationsnummer)5567890123
0009FranceSIRET code12345678901234
0037FinlandFinnish OVT code00371234567
0060InternationalDUNS number123456789
0088InternationalEAN/GLN (Global Location Number)7300010000001
0096DenmarkDanish P number1234567890
0106NetherlandsDutch KvK number12345678
0130EUEU Directive 2014/55/EU identifier
0151AustraliaAustralian Business Number (ABN)51824753556
0184DenmarkDanish CVR number12345678
0190NetherlandsDutch OIN00000001234567890
0192NorwayNorwegian organization number (Organisasjonsnummer)987654321
0196IcelandIcelandic kennitala (VAT number)5501234560
0198DenmarkDanish SE number12345678
0199IcelandIcelandic kennitala (alternative)5501234560
0200LithuaniaLithuanian enterprise code123456789
0201LithuaniaLithuanian legal entity code123456789
0204GermanyGerman Leitweg-ID04011000-1234512345-06
0208BelgiumBelgian enterprise number (KBO/BCE)0123456789
0211ItalyItalian Codice FiscaleIT12345678901
9908ItalyItalian Partita IVAIT12345678901

VAT scheme ID usage in eMessaging

The VAT scheme ID is used in two places:

  1. Your sender identifier — configured in the setup wizard, this determines how your VAT number is formatted in outbound PEPPOL messages (e.g., 0196:5501234560 for an Icelandic company).
  2. Recipient lookup — when sending a document, eMessaging uses the recipient’s VAT number with the appropriate scheme to look up their PEPPOL Access Point via the SMP.

Country codes (ISO 3166-1 alpha-2)

CodeCountry
ATAustria
AUAustralia
BEBelgium
CACanada
CHSwitzerland
DEGermany
DKDenmark
EEEstonia
ESSpain
FIFinland
FRFrance
GBUnited Kingdom
GRGreece
IEIreland
ISIceland
ITItaly
LTLithuania
LULuxembourg
LVLatvia
NLNetherlands
NONorway
NZNew Zealand
PLPoland
PTPortugal
SESweden
SGSingapore
USUnited States

Units of measure (UN/ECE Recommendation 20)

These codes are used in PEPPOL BIS 3.0 to identify units of measure. Map these to your Business Central units in General Setup under Unit of Measure Mapping.

CodeDescriptionTypical BC unit
C62One (unit)PCS
DAYDayDAY
EAEachEA
H87PiecePCS
HURHourHOUR
KGMKilogramKG
KTMKilometreKM
LTRLitreL
MINMinuteMIN
MLTMillilitreML
MMTMillimetreMM
MONMonthMONTH
MTKSquare metreM2
MTQCubic metreM3
MTRMetreM
NARNumber of articlesPCS
PCEPiece (alternative)PCS
SETSetSET
TNETonne (metric ton)TON
XBXBoxBOX
XPKPackagePKG

Payment means codes (UNCL 4461)

These codes identify the payment method on electronic documents. Map these to your Business Central payment methods in General Setup under Payment Method Mapping.

CodeDescriptionTypical BC payment method
1Instrument not defined
10In cashCASH
20ChequeCHECK
30Credit transferTRANSFER
31Debit transferTRANSFER
42Payment to bank accountBANK
48Bank cardCARD
49Direct debitDIRECTDEBIT
54Credit cardCREDITCARD
55Debit cardDEBITCARD
57Standing agreementSTANDING
58SEPA credit transferSEPA-CT
59SEPA direct debitSEPA-DD
97Clearing between partnersCLEARING

Tax category codes (UNCL 5305)

These codes identify the VAT/tax treatment of line items and are used in the VAT breakdown of PEPPOL documents.

CodeDescriptionTypical use
SStandard rateNormal VAT-rated goods and services
ZZero rated goodsZero-rated supplies (e.g., food, children’s clothing in some countries)
EExempt from taxVAT-exempt supplies (e.g., financial services, education)
AEVAT Reverse ChargeCross-border B2B services within the EU
KVAT exempt (intra-community)Intra-community supply of goods
GFree export item, tax not chargedExport outside the EU
OServices outside scope of taxOut-of-scope services
LCanary Islands general indirect tax (IGIC)Canary Islands
MCanary Islands general indirect tax (IGIC, other)Canary Islands

Tax category in Vendor Posting Setup

The Vendor Posting Setup can use tax category codes as conditional rules. For example, you can configure different G/L accounts for standard-rated invoices (S) versus reverse charge invoices (AE) from the same vendor. See Posting Setup.

Accounting cost codes

Accounting cost codes are used in PEPPOL BIS 3.0 to identify the buyer’s internal cost allocation. These codes appear in the AccountingCost element of incoming invoices and are used as part of the Vendor Posting Setup primary key.

Common patterns include:

PatternExampleDescription
Cost centre codeCC-200, CC-310Maps to a cost centre dimension in BC
Department codeDEPT-IT, DEPT-HRMaps to a department dimension in BC
Project codePRJ-2026-001Maps to a project dimension in BC
Budget codeBUD-OPEX-Q1Maps to a budget dimension in BC
Free textAny textSupplier’s cost reference, mapped via Accounting Cost Mapping

Configure how accounting cost codes map to Business Central dimensions in General Setup under Accounting Cost Mapping.

Document type codes (UNCL 1001)

CodeDescriptionDirection in eMessaging
380Commercial invoiceSend and Receive
381Credit noteSend and Receive
383Debit noteReceive
384Corrected invoiceReceive
386Prepayment invoiceReceive
389Self-billed invoiceReceive
751Invoice information for accounting purposesReceive

Charge reason codes (UNCL 7161)

These codes identify charges and allowances at the document or line level:

CodeDescription
AAAdvertising
ABLAdditional packaging
FCFreight service
FIFinancing
LALabelling
PCPacking
AEOGovernment tax (Ceuta and Melilla)

Allowance reason codes (UNCL 5189)

CodeDescription
41Bonus for works ahead of schedule
42Other bonus
60Manufacturer’s consumer discount
62Due to military status
63Due to work accident
64Special agreement
65Production error discount
66New outlet discount
67Sample discount
68End-of-range discount
70Incoterm discount
71Point of sales threshold allowance
88Material surcharge/deduction
95Discount
100Special rebate
102Fixed long term
103Temporary
104Standard