Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.47 KB

File metadata and controls

36 lines (27 loc) · 1.47 KB

Company

A company model.

Properties

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. It is set automatically based on the authenticated user. [optional] [readonly]
vat str Vat number. Must include the country code.
fiscal_code str Fiscal code. In most cases it's the same as the vat number.
name str Name

Example

from invoicetronic_sdk.models.company import Company

# TODO update the JSON string below
json = "{}"
# create an instance of Company from a JSON string
company_instance = Company.from_json(json)
# print the JSON string representation of the object
print(Company.to_json())

# convert the object into a dict
company_dict = company_instance.to_dict()
# create an instance of Company from a dict
company_from_dict = Company.from_dict(company_dict)

[Back to Model list] [Back to API list] [Back to README]