HR-BR-53

HR PDV identifikacijski broj (BT-31, BT-48, BT-63) ili porezni identifikator (BT-32) mora biti ispravan OIB

Official rule text

[HR-BR-53] - HR PDV identifikacijski broj (BT-31, BT-48, BT-63) ili porezni identifikator (BT-32) mora biti ispravan OIB

Where the rule applies

Rule setDocument typeSeverity
HR-CIUS (eRačun) (1.0.4)
Croatian Tax Administration
HR-CIUS (UBL Invoice), HR-CIUS (UBL CreditNote)fatal

Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.

Business terms concerned (EN 16931)

  • BT-31
  • BT-32
  • BT-48
  • BT-63

Technical check

Syntax
UBL · HR-CIUS (eRačun) (1.0.4)
Context
cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme
Test (must be true)
(u:ctrlOIB(cbc:CompanyID)) or (../cac:PostalAddress/cac:Country/cbc:IdentificationCode != 'HR')
Syntax
UBL · HR-CIUS (eRačun) (1.0.4)
Context
cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme
Test (must be true)
(u:ctrlOIB(cbc:CompanyID)) or (../cac:PostalAddress/cac:Country/cbc:IdentificationCode != 'HR')
Syntax
UBL · HR-CIUS (eRačun) (1.0.4)
Context
cac:TaxRepresentativeParty/cac:PartyTaxScheme
Test (must be true)
(u:ctrlOIB(cbc:CompanyID)) or (../cac:PostalAddress/cac:Country/cbc:IdentificationCode != 'HR')

How the API reports this rule

Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):

{
  "severity": "fatal",
  "ruleId": "HR-BR-53",
  "message": "[HR-BR-53] - HR PDV identifikacijski broj (BT-31, BT-48, BT-63) ili porezni identifikator (BT-32) mora biti ispravan OIB",
  "xpath": "/…",
  "source": "schematron:hr-cius@1.0.4",
  "docUrl": "https://einvoice-api.eu/rules/hr-br-53.html"
}

Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.

Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.