AF-0069

Der angegebene Wert '…' ist ungültig. Die angegebene UID-Nummer ist ungültig. Österreichische UID-Nummern müssen 11-stellig sein, und mit 'ATU' beginnen.

In English The VAT number is not valid: Austrian VAT numbers have eleven characters and start with ATU.

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
/*:Invoice/*:Biller | /*:Invoice/*:InvoiceRecipient
Test
not(starts-with($vat, 'AT')) or matches($vat, '^ATU[0-9]{8}$')

Checked with Austria e-Rechnung.gv.at (ebInterface 6.1), Austria e-Rechnung.gv.at (ebInterface 6.0)

Context
cac:AccountingSupplierParty/cac:Party | cac:AccountingCustomerParty/cac:Party
Test
not(starts-with($vat, 'AT')) or matches($vat, '^ATU[0-9]{8}$')

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