An SDI status update for a sent invoice.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | 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 | datetime | Creation date. It is set automatically. | [optional] [readonly] |
| version | int | Row version, for optimistic concurrency. It is set automatically. | [optional] [readonly] |
| user_id | int | User id. | [optional] |
| company_id | int | Company id. | [optional] |
| send_id | int | Send id. This is the id of the sent invoice to which this update refers to. | [optional] |
| last_update | datetime | Last update from SDI. | [optional] |
| state | str | State of the document. These are the possible values, as per the SDI documentation: | [optional] |
| description | str | Description for the state. | [optional] |
| message_id | str | SDI message id. | [optional] |
| errors | List[Error] | SDI errors, if any. | [optional] |
| is_read | bool | Whether the item has been read at least once. | [optional] |
| send | SendReduced | [optional] |
from invoicetronic_sdk.models.update import Update
# TODO update the JSON string below
json = "{}"
# create an instance of Update from a JSON string
update_instance = Update.from_json(json)
# print the JSON string representation of the object
print(Update.to_json())
# convert the object into a dict
update_dict = update_instance.to_dict()
# create an instance of Update from a dict
update_from_dict = Update.from_dict(update_dict)