PintLint

Rules / IBR-SR-53

The Seller Postal Address Line must occur maximum once

The Seller Postal Address Line (ibt-162) must occur maximum once.

Fails

<cac:PostalAddress>
  …<cbc:Line>…</cbc:Line>
  …<cbc:Line>…</cbc:Line>
</cac:PostalAddress>

Fix

Keep one cac:AddressLine/cbc:Line in cac:AccountingSupplierParty/cac:Party/cac:PostalAddress and delete the extras. If both values matter, one of them belongs in a different field.

Schematron
Context
cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
Test
(count(cac:AddressLine/cbc:Line) <= 1)

Official text: The Seller Postal Address Line (ibt-162) MUST occur maximum once

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule