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
- The seller record has no TRN in the ERP because the company was onboarded before VAT registration
- Emitting cac:PartyTaxScheme only when a tax amount is non-zero, so zero-rated and exempt invoices lose it
- Mapping the TRN into cac:PartyLegalEntity/cbc:CompanyID (legal registration) instead of cac:PartyTaxScheme/cbc:CompanyID (VAT)
How to fix it
Always emit the seller PartyTaxScheme when the seller is VAT-registered, regardless of whether this particular invoice carries tax.
<cac:AccountingSupplierParty><cac:Party><!-- no cac:PartyTaxScheme --></cac:Party></cac:AccountingSupplierParty>
<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-pack | Layer | Severity | Applies to |
|---|---|---|---|
| pint-om-1.0.1 | pint-om | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-om-1.0.0 | pint-om | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
Related rules
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