Skip to main content

BR-57 Deliver-to country code must be present when delivery address is used

Under EN 16931 rule BR-57, whenever an invoice specifies a distinct delivery address (BG-15 / DELIVER TO ADDRESS), the deliver-to country code (BT-80) must be explicitly provided using a valid two-letter ISO 3166-1 alpha-2 country code (such as DE, FR, NL, AT, or IT). Tax compliance and customs algorithms require the delivery country code to verify cross-border VAT treatment, intra-community supply status, and export tax exemptions.

Problem Description

ERROR

EN 16931 core business rule (CEN)

Interactive pipeline

Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.

Try:

BR-57 EN 16931 core rule

Reported in stage 2: EN 16931 rules.

Level error: the report recommends rejecting the invoice.

Stage 2 · What it checks

  • The core business terms are present (BR-01 to BR-65).
  • Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
  • Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).

Example codes

Typical fix

Recalculate totals and VAT from the line data, and correct the VAT category in the source data.

A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-57: EN 16931 core rule, reported in the stage “EN 16931 rules”. Rule sets: KoSIT validator 1.6.3 with the XRechnung configuration of 31 Aug 2026 (EN 16931 artefacts 1.3.16), Peppol BIS Billing 3.0.21.

Solution

In your sales order or shipping configuration, verify that the delivery address includes the two-letter ISO country code. In UBL 2.1 syntax, populate <cac:Country><cbc:IdentificationCode>DE</cbc:IdentificationCode></cac:Country> within <cac:Delivery><cac:DeliveryLocation><cac:Address>. In UN/CEFACT CII syntax, populate <ram:CountryID>DE</ram:CountryID> within <ram:PostalTradeAddress> under <ram:ShipToTradeParty>. If delivery is made to the buyer’s standard billing address, omit BG-15 completely.

Quick actions

Context and Significance

An incomplete delivery address without country code fails Schematron rule BR-57 and prevents automated tax determination on cross-border invoices.

Valid Examples

  • Delivery address BG-15 with BT-80 = "DE" (Delivery within Germany)
  • Delivery address BG-15 with BT-80 = "FR" (Cross-border delivery to France)

Invalid Examples

  • Delivery address (cac:Address / ram:PostalTradeAddress) includes street and city but omits Country element
  • CII ram:ShipToTradeParty/ram:PostalTradeAddress with an empty ram:CountryID; in UBL an empty <cbc:IdentificationCode/> does not trigger BR-57 but fails the code list rule BR-CL-14

Code Examples

Valid XML
<cac:Delivery>
  <cac:DeliveryLocation>
    <cac:Address>
      <cbc:CityName>Köln</cbc:CityName>
      <cbc:PostalZone>50667</cbc:PostalZone>
      <cac:Country><cbc:IdentificationCode>DE</cbc:IdentificationCode></cac:Country>
    </cac:Address>
  </cac:DeliveryLocation>
</cac:Delivery>
Invalid XML
<cac:Delivery>
  <cac:DeliveryLocation>
    <cac:Address>
      <cbc:CityName>Köln</cbc:CityName>
      <cbc:PostalZone>50667</cbc:PostalZone>
    </cac:Address>
  </cac:DeliveryLocation>
</cac:Delivery>

Affected Fields

Validation Tools