XV-AT-04

The supplier number the federal government assigns (Lieferantennummer) is missing: e-Rechnung.gv.at reads it from the seller identifier (BT-29, cac:PartyIdentification/cbc:ID of the seller).

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/ubl:Invoice | /cn:CreditNote
Test
normalize-space(($supplier/cbc:CustomerAssignedAccountID, $supplier/cac:Party/cac:PartyIdentification/cbc:ID)[normalize-space(.) != ''][1]) != ''

Checked with Austria e-Rechnung.gv.at Peppol Invoice, Austria e-Rechnung.gv.at Peppol Credit Note