Tax Data Documents
Under the Croatian mandate, both parties report each electronic invoice and credit note to the Tax Authority: the supplier when it issues the document, and the customer when it receives it. A-Cube files this report for your Legal Entity as a Tax Data Document (TDD), when fiscalisation is enabled.
In the Tax Authority's terms, a Tax Data Document is a fiscalisation message (fiskalizacijska poruka). It contains the document's key data: number, issue date, the OIBs of both parties, totals and VAT breakdown. It does not contain the document itself.
The report_only type is the exception: it is an eReporting message, sent when no electronic invoice could be issued for a supply. A-Cube treats it as a Tax Data Document too, because it carries the same data and is sent in place of the fiscalisation message.
Official description: the Tax Authority's Fiskalizacija 2.0 page (in Croatian).
The Tax Authority accepts Tax Data Documents from A-Cube only once the Legal Entity has authorised A-Cube to fiscalise for it. See Onboard a Legal Entity. When it refuses a Tax Data Document, errors lists its answer; see Errors for the codes.
Types
| Type | Tax Authority code | Filed when the Legal Entity is |
|---|---|---|
outgoing | I (issued electronic invoice) | The supplier |
incoming | U (received electronic invoice) | The customer |
report_only | IR (issued invoice for which no electronic invoice was issued) | The supplier, and the document could not be delivered electronically |
Documents sent or received through A-Cube
A-Cube files the Tax Data Document automatically: when an outgoing document becomes delivered or undeliverable, and when an incoming document is received. See Documents lifecycle for the type filed for each outcome.
An undeliverable document gets a report_only Tax Data Document: the recipient has no address in the Tax Authority's address directory (AMS), so no electronic invoice was issued. Its payments are still reported, see eReporting.
- List Tax Data Documents:
GET /tax-data-documents - Fetch Tax Data Document details:
GET /tax-data-documents/{uuid}
External documents
For an invoice or credit note exchanged outside A-Cube, for example through another provider, file the Tax Data Document yourself:
- File a Tax Data Document for an external document:
POST /tax-data-documents/{type}
Send the document's UBL 2.1 XML as the request body, with the type in the path. A-Cube uses it only to build the Tax Data Document: the document itself is not sent to the recipient or to the Tax Authority. A-Cube validates it as when sending an invoice, and finds the Legal Entity in the document: the supplier for outgoing and report_only, the customer for incoming. The Legal Entity must be one of yours, with fiscalisation enabled and confirmed; otherwise the response is 422 or 409.
Sample Submission Response (202 Accepted)
{
"uuid": "0199e8d3-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"legalEntityUuid": "018f4a2e-7b3c-7f1a-b2c3-4d5e6f789abc",
"type": "outgoing",
"documentUuid": null,
"documentType": "invoice",
"status": "queued",
"fiscalisationRequestId": null,
"errors": [],
"acceptedAt": null,
"createdAt": "2026-11-01T10:00:00+00:00",
"updatedAt": "2026-11-01T10:00:00+00:00"
}