All rules · pint-om · error

IBR-016-OM

Either the buyer identifier or the buyer VAT identification number must be present.

Reviewed

Why this rule exists

For a domestic business supply the buyer has to be identifiable to the tax authority. One of the two identifiers is enough; neither is not.

Why it usually happens

How to fix it

Populate the buyer VAT identification number for B2B, or the buyer identifier where no VATIN exists.

The official rule

Either Buyer identifier (IBT-046) or Buyer VATIN (IBT-048) MUST be present when the Invoice transaction type (BTOM-001) is a Full tax invoice (10000000000000000000) OR Third-party Invoice (00010000000000000000) OR Summary invoice (00001000000000000000) OR Continuous supply (00000100000000000000) OR Export Invoice (00000010000000000000) OR Profit margin invoice (00000000010000000000) OR E-commerce supplies (00000000000100000000).

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

not($isFullTax or $isThirdParty or $isSummary or $isContinuous or $isExport or $isProfitMargin or $isEcommerce)                   or (cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID                       or cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID)

Applied to nodes matching ubl:Invoice | cn:CreditNote

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-om-1.0.1pint-omerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-om-1.0.0pint-omerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-135-ae · ibr-080

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator