BR-03 An invoice must have an issue date (BT-2)
An invoice must have an issue date (BT-2). The issue date fixes the VAT period the invoice falls into and starts the payment clock.
This rule is implemented and its error payload below is real, but the long-form write-up — normative text, worked example, divergence note — is not written yet. Everything the library knows about this rule is on this page. Ask and we will prioritise it.
- Business term
BT-2- Severity
fatal
What the library returns
The exact object in result.errors when this rule fires.
Generated by running @attestwire/en16931, not transcribed:
{
"rule": "BR-03",
"field": "BT-2",
"severity": "fatal",
"message": "An invoice must have an issue date (BT-2). The issue date fixes the VAT period the invoice falls into and starts the payment clock.",
"fix": "Set issueDate to the date you issued the document, as an ISO 8601 calendar date (\"YYYY-MM-DD\"). UBL forbids a time component here.",
"example": "\"issueDate\": \"2026-08-09\"",
"xpath": "/ubl:Invoice/cbc:IssueDate",
"docsUrl": "https://attestwire.com/rules/BR-03"
}
xpath locates the element in the generated UBL document,
which is where a KoSIT or Peppol validator will report the same problem.
A passing value
"issueDate": "2026-08-09"The fix
Set issueDate to the date you issued the document, as an ISO 8601 calendar date ("YYYY-MM-DD"). UBL forbids a time component here.