Documents lifecycle
Every invoice, credit note, Tax Data Document (TDD) and Message Level Status (MLS) has a status property that describes its processing stage.
The meaning of a status can depend on the document direction: outgoing for documents you send, incoming for documents you receive.
A final status doesn't change anymore: no further processing happens on the document.
Invoice and credit note status list
Invoices and credit notes share the same statuses.
Outgoing
| Status | Final | Description |
|---|---|---|
CREATED | No | The document has been accepted by A-Cube and is queued to be sent. |
PROCESSING | No | The document is being sent. |
SENT | No | The document has been sent and its transmission has been acknowledged by the recipient's provider. |
DELIVERED | Yes | The document has been delivered: the recipient's provider returned a positive MLS. |
REPORT_ONLY | Yes | The "substitute participant" (0245:9970300001) has been chosen as the document recipient: the document is stored but not sent, and it is reported to the Tax Authority only. |
REJECTED | Yes | The recipient's provider rejected the document with a negative MLS. Check the document MLS for the reason, fix the document and send it again. |
FAILED | Yes | The recipient's provider didn't acknowledge the transmission. Send the document again. |
ERROR | Yes | An error occurred while processing the document. Send the document again. |
Incoming
| Status | Final | Description |
|---|---|---|
RECEIVED | No | The document has been received by A-Cube. |
PROCESSING | No | The document is being processed: its MLS and TDD are being produced. |
ACCEPTED | Yes | The document has been processed successfully and no further action is needed. If the sender requested it, a positive MLS has been sent back. |
REFUSED | Yes | The document is not valid: it didn't pass validation, and a negative MLS has been sent back to the sender. |
FAILED | Yes | The TDD of the document was rejected, so a negative MLS for the document has been sent back to the sender. |
ERROR | Yes | An error occurred while sending the MLS back to the sender. |
Tax Data Document (TDD) status list
The TDD reports a document exchange to the Tax Authority.
| Status | Final | Description |
|---|---|---|
CREATED | No | The TDD has been created and is ready to be sent. |
PROCESSING | No | The TDD is queued to be sent. |
SENT | No | The TDD has been sent. |
DELIVERED | Yes | The TDD has been delivered and a positive MLS has been received. |
NON_DOMESTIC | Yes | The document exchange is not domestic: the TDD has been created but not sent, as it isn't required. |
REJECTED | Yes | The TDD has been delivered but a negative MLS has been received. Check the TDD MLS for the reason. |
FAILED | Yes | The transmission of the TDD wasn't acknowledged. |
ERROR | Yes | An error occurred while sending the TDD. |
Message Level Status (MLS) status list
The MLS is the response that confirms or rejects a document exchange. Its mlsCode tells the outcome: AP (accepted), AB (acknowledged) or RE (rejected).
Outgoing
| Status | Final | Description |
|---|---|---|
CREATED | No | The MLS has been created and is ready to be sent. |
PROCESSING | No | The MLS is queued to be sent. |
SENT | Yes | The MLS has been sent and its transmission has been acknowledged. |
FAILED | Yes | The MLS transmission failed. |
ERROR | Yes | An error occurred while sending the MLS. |
Incoming
| Status | Final | Description |
|---|---|---|
RECEIVED | Yes | An MLS has been received. |