All rules · pint-om · error

IBR-006-OM

The seller's VAT identifier (TRN) is required, unless the invoice type code says the supply is out of scope of VAT or the document is a credit note for goods or services.

Reviewed

Why this rule exists

The seller TRN is how the FTA attributes the transaction to a registered taxpayer. Without it the reporting copy cannot be filed against anyone.

Why it usually happens

How to fix it

Always emit the seller PartyTaxScheme when the seller is VAT-registered, regardless of whether this particular invoice carries tax.

Wrong
<cac:AccountingSupplierParty><cac:Party><!-- no cac:PartyTaxScheme --></cac:Party></cac:AccountingSupplierParty>
Right
<cac:PartyTaxScheme>
  <cbc:CompanyID>100123456789003</cbc:CompanyID>
  <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>

The official rule

Seller tax identifier (IBT-031) MUST be mandatory in all cases except when Invoice transaction type (BTOM-001) is an invoice for import of goods (00000000000010000000), import of service RCM (00000000100000000000) or profit margin self invoice (00000000001000000000).

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

Schematron test

$isImportGoods or $isImportRCM or $isProfitMarginSelf                   or cac:AccountingSupplierParty/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-132-ae · ibr-150-ae

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