An SDI status update for a sent invoice.
| Name |
Type |
Description |
Notes |
| id |
Integer |
Unique identifier. For POST requests, leave it at `0` — the server will assign one automatically. For PUT requests, set it to the id of the record you want to update. |
[optional] |
| created |
OffsetDateTime |
Creation date. It is set automatically. |
[optional] [readonly] |
| version |
Integer |
Row version, for optimistic concurrency. It is set automatically. |
[optional] [readonly] |
| userId |
Integer |
User id. |
[optional] |
| companyId |
Integer |
Company id. |
[optional] |
| sendId |
Integer |
Send id. This is the id of the sent invoice to which this update refers to. |
[optional] |
| lastUpdate |
OffsetDateTime |
Last update from SDI. |
[optional] |
| state |
StateEnum |
State of the document. These are the possible values, as per the SDI documentation: |
[optional] |
| description |
String |
Description for the state. |
[optional] |
| messageId |
String |
SDI message id. |
[optional] |
| errors |
List<Error> |
SDI errors, if any. |
[optional] |
| isRead |
Boolean |
Whether the item has been read at least once. |
[optional] |
| send |
SendReduced |
|
[optional] |
| Name |
Value |
| INVIATO |
"Inviato" |
| CONSEGNATO |
"Consegnato" |
| NON_CONSEGNATO |
"NonConsegnato" |
| SCARTATO |
"Scartato" |
| ACCETTATO_DAL_DESTINATARIO |
"AccettatoDalDestinatario" |
| RIFIUTATO_DAL_DESTINATARIO |
"RifiutatoDalDestinatario" |
| IMPOSSIBILITA_DI_RECAPITO |
"ImpossibilitaDiRecapito" |
| DECORRENZA_TERMINI |
"DecorrenzaTermini" |
| ATTESTAZIONE_TRASMISSIONE_FATTURA |
"AttestazioneTrasmissioneFattura" |