Attestwire › Rule reference › PEPPOL-EN16931-R020
PEPPOL-EN16931-R020 A Peppol invoice should give the seller electronic address
noun · Peppol BIS · warning · BT-34
For a sample invoice, the library reports: The seller electronic address (BT-34) must be provided. This is the routing identifier a Peppol access point uses to deliver the document — a postal address and an email are not substitutes, and without it the invoice cannot be addressed on the network.
- Business term
BT-34- Severity
warning
The fix
Set seller.electronicAddress to the participant identifier and its scheme, e.g. scheme "9930" (German VAT ID) or "0204" (Leitweg-ID). The full list is the Peppol EAS code list (ISO 6523 ICD).
A passing value
"electronicAddress": { "schemeId": "9930", "value": "DE123456789" }What the library returns
The full error returned by @attestwire/en16931. It includes the rule ID,
affected field and suggested correction. Developers can use this object in their application:
{
"rule": "PEPPOL-EN16931-R020",
"field": "BT-34",
"severity": "warning",
"message": "The seller electronic address (BT-34) must be provided. This is the routing identifier a Peppol access point uses to deliver the document — a postal address and an email are not substitutes, and without it the invoice cannot be addressed on the network.",
"fix": "Set seller.electronicAddress to the participant identifier and its scheme, e.g. scheme \"9930\" (German VAT ID) or \"0204\" (Leitweg-ID). The full list is the Peppol EAS code list (ISO 6523 ICD).",
"example": "\"electronicAddress\": { \"schemeId\": \"9930\", \"value\": \"DE123456789\" }",
"xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID",
"docsUrl": "https://attestwire.com/rules/PEPPOL-EN16931-R020"
}
xpath is always a UBL path. On a CII invoice, look for the
matching CII field instead.