Invoice issue date

Error BR-03 EN 16931

An Invoice shall have an Invoice issue date (BT-2).

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The date value in udt:DateTimeString with the attribute format='102' is empty. The invoice issue date BT-2 is therefore missing in the checked form.

What the rule means

BT-2 states when the invoice was issued. This date is a fundamental time reference for the invoice document.

Affected fields BT-2
Please add the invoice issue date

The invoice issue date is missing from ram:ExchangedDocument, or the checked date value is empty. You can add the date in the designated date field.

What to do
  1. Check the value of FacturXInvoice.InvoiceDate.
  2. Ensure that ram:IssueDateTime/udt:DateTimeString with format='102' contains a date value.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:IssueDateTime>
  <udt:DateTimeString format="102"/>
</ram:IssueDateTime>
✓ Correct
<ram:IssueDateTime>
  <udt:DateTimeString format="102">20261115</udt:DateTimeString>
</ram:IssueDateTime>
Check in FactoorSharp
  • FacturXInvoice.InvoiceDate (BT-2)
Technical details

The XPath requires a non-empty udt:DateTimeString value with the attribute format='102' under ram:IssueDateTime.

Where the rule applies

The rule applies to ram:IssueDateTime/udt:DateTimeString in the invoice document ram:ExchangedDocument; the date must use format 102.

Context (rule/@context)
/rsm:CrossIndustryInvoice
Test expression (assert/@test)
(rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']!='')