IT-R-002: BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale.
This rule enforces the Italian national extension to EN 16931, requiring that when the supplier's country code (BT-40) is 'IT', the seller's postal address line 1 (BT-35) must be present. The context XPath selects the supplier party (cac:AccountingSupplierParty/cac:Party) only when the country code equals 'IT'. The assertion then checks that the element cac:PostalAddress/cac:StreetName (which maps to BT-35) exists and is non-empty. If missing, the document is invalid because Italian law mandates a complete address for e-invoicing. The rule is fatal, meaning the invoice cannot be processed.
1. Locate the supplier party element (cac:AccountingSupplierParty/cac:Party). 2. Within its cac:PostalAddress, ensure a cac:StreetName element exists and contains a non-empty value. 3. If the element is missing, add it with the correct street address. 4. If it exists but is empty, populate it with the address line 1. 5. Validate that the country code (cbc:IdentificationCode) is 'IT' to confirm the rule applies. 6. Re-run validation to ensure 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).