HR-BR-52
Završni datum obračunskog razdoblja stavke računa (BT-135) mora biti veći od 01.01.1900. i manji od 01.01.2100.
Official rule text
[HR-BR-52] - Završni datum obračunskog razdoblja stavke računa (BT-135) mora biti veći od 01.01.1900. i manji od 01.01.2100.
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| 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-135
Technical check
- Syntax
- UBL · HR-CIUS (eRačun) (1.0.4)
- Context
cac:InvoiceLine | cac:CreditNoteLine- Test (must be true)
((xs:date(cac:InvoicePeriod/cbc:EndDate) >= xs:date('1900-01-01')) and (xs:date(cac:InvoicePeriod/cbc:EndDate) < xs:date('2100-01-01'))) or (not(exists(cac:InvoicePeriod/cbc:EndDate)))
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-52",
"message": "[HR-BR-52] - Završni datum obračunskog razdoblja stavke računa (BT-135) mora biti veći od 01.01.1900. i manji od 01.01.2100.",
"xpath": "/…",
"source": "schematron:hr-cius@1.0.4",
"docUrl": "https://einvoice-api.eu/rules/hr-br-52.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.