NL-R-002: For suppliers in the Netherlands the supplier's address (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone)
NL-R-002 is a fatal Peppol BIS Billing 3.0 Schematron rule that enforces the Dutch national requirement for a complete supplier postal address when the supplier is established in the Netherlands. The rule is evaluated in the context of cac:AccountingSupplierParty/cac:Party/cac:PostalAddress, but only when the predicate [$supplierCountryIsNL] is true. That predicate is defined elsewhere in the Schematron (typically as a variable that checks cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'NL'). The assertion requires the presence of three Business Terms: BT-35 (cbc:StreetName), BT-37 (cbc:CityName), and BT-38 (cbc:PostalZone). In EN 16931 terms, these correspond to BG-5 (Seller postal address) child elements. The XPath test fails if any of the three elements is absent or empty. Because the rule is fatal, a missing element causes the entire invoice to be rejected by the receiving Access Point. The rule does not apply to suppliers in other countries, even though Peppol BIS Billing 3.0 generally allows a more flexible address structure (e.g., address lines instead of street name). For Dutch suppliers, the street name, city, and post code are mandatory.
1. Locate the supplier postal address block: cac:AccountingSupplierParty/cac:Party/cac:PostalAddress. 2. Verify that the country code in cac:Country/cbc:IdentificationCode is 'NL'. If it is not 'NL', this rule does not apply. 3. Ensure that the following three elements are present and non-empty: - cbc:StreetName (BT-35) - cbc:CityName (BT-37) - cbc:PostalZone (BT-38) 4. If any of these elements are missing, add them with the correct values from the supplier's official address. 5. Do not use cbc:AddressLine as a substitute for cbc:StreetName for Dutch suppliers; the rule explicitly requires cbc:StreetName. 6. Re-validate the invoice against the Peppol BIS Billing 3.0 Schematron to confirm the error is resolved.
Missing <cbc:CustomizationID> or value does not declare EN 16931 CIUS compliance.
fix: Insert <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>.
Missing <cbc:EndpointID schemeID="..."> inside <cac:AccountingSupplierParty>/<cac:Party>.
fix: Add <cbc:EndpointID schemeID="9930">DE123456789</cbc:EndpointID> as the first child of Seller <cac:Party>.
No <cbc:BuyerReference> (BT-10) found. Mandatory in XRechnung 3.0 (BR-DE-15) and required in Peppol BIS 3.0 (PEPPOL-EN16931-R003) when OrderReference is absent.
fix: Insert <cbc:BuyerReference>991-12849-74</cbc:BuyerReference> in the document header.
If both supplier and customer are located in Germany, an invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16).
If both supplier and customer are located in Germany, the group "SELLER CONTACT" (BG-6) shall be provided.
If both supplier and customer are located in Germany, the element "Buyer reference" (BT-10) shall be provided.
If both supplier and customer are located in Germany, and if one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11).
If both supplier and customer are located in Germany, the element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice).