Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.64 KB

File metadata and controls

42 lines (36 loc) · 1.64 KB

Invoicetronic_Sdk::Update

Properties

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 Time Creation date. It is set automatically. [optional][readonly]
version Integer Row version, for optimistic concurrency. It is set automatically. [optional][readonly]
user_id Integer User id. [optional]
company_id Integer Company id. [optional]
send_id Integer Send id. This is the id of the sent invoice to which this update refers to. [optional]
last_update Time Last update from SDI. [optional]
state String State of the document. These are the possible values, as per the SDI documentation: [optional]
description String Description for the state. [optional]
message_id String SDI message id. [optional]
errors Array<Error> SDI errors, if any. [optional]
is_read Boolean Whether the item has been read at least once. [optional]
_send SendReduced [optional]

Example

require 'invoicetronic_sdk'

instance = Invoicetronic_Sdk::Update.new(
  id: 0,
  created: null,
  version: null,
  user_id: null,
  company_id: null,
  send_id: null,
  last_update: null,
  state: null,
  description: null,
  message_id: null,
  errors: null,
  is_read: null,
  _send: null
)