Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 2.61 KB

File metadata and controls

37 lines (25 loc) · 2.61 KB

invoicetronicSdk.Receive

Properties

Name Type Description Notes
id Number 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 Date Creation date. It is set automatically. [optional] [readonly]
version Number Row version, for optimistic concurrency. It is set automatically. [optional] [readonly]
userId Number User id. It is set automatically based on the authenticated user. [optional] [readonly]
companyId Number Company id. It is set automatically based on the VAT number extracted from the invoice payload (the sender for `send`, the recipient for `receive`). [optional] [readonly]
committente String VAT number of the Cessionario/Committente (customer). This is automatically set based on the recipient's VAT number. [optional] [readonly]
prestatore String VAT number of the Cedente/Prestatore (vendor). This is automatically set based on the sender's VAT number. [optional] [readonly]
identifier String SDI identifier. This is set by the SDI and is guaranteed to be unique within the SDI system. [optional] [readonly]
fileName String Xml file name. If not provided on send, it will be auto-generated. [optional]
format String SDI format (FPA12, FPR12, FSM10, ...) [optional]
payload String Xml payload. This is the actual xml content, as string. On send, it can be base64 encoded. If it's not, it will be encoded before sending. It is guaranteed to be encrypted at rest.
lastUpdate Date Last update from SDI. [optional] [readonly]
dateSent Date When the invoice was sent to SDI. [optional] [readonly]
documents [DocumentData] The invoices included in the payload. This is set by the system, based on the xml content. [optional] [readonly]
encoding String Whether the payload is Base64 encoded or a plain XML (text). [optional]
nomePrestatore String Business name of the prestatore (supplier/seller) extracted from the invoice XML. [optional]
isRead Boolean Whether the invoice has been read at least once. Set to true only when the invoice is requested with include_payload=true. [optional]
messageId String SDI message id. [optional]

Enum: EncodingEnum

  • Xml (value: "Xml")

  • Base64 (value: "Base64")