Invoice issue date is missing
What it means
The issue date (BT-2) drives VAT periods, payment terms and statutory retention. It is the date the invoice was legally issued, which is not necessarily the date the file was generated.
Can it be fixed automatically?
This needs a decision only the issuer can make. Guessing it would produce an invoice that validates and is wrong, which is worse than one that fails.
How to fix it
Supply the date the invoice was issued. This must not be defaulted to today — doing so would fabricate a legally significant date and could place the invoice in the wrong VAT period.
Where it applies
| CII | /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IssueDateTime |
|---|---|
| UBL | /Invoice/cbc:IssueDate |
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml