Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 21.9 KB

invoiceitem.md

File metadata and controls

34 lines (31 loc) · 21.9 KB

InvoiceItem

Fields

Field Type Required Description Example
id Optional[str] The ID of the item. 123456
name OptionalNullable[str] Item name Model Y
description OptionalNullable[str] A short description of the item Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.
code OptionalNullable[str] User defined item code 120-C
sold OptionalNullable[bool] Item will be available on sales transactions true
purchased OptionalNullable[bool] Item is available for purchase transactions true
tracked OptionalNullable[bool] Item is inventoried true
taxable OptionalNullable[bool] If true, transactions for this item are taxable true
inventory_date datetime The date of opening balance if inventory item is tracked - YYYY-MM-DD. 2020-10-30
type OptionalNullable[models.InvoiceItemTypeType] Item type inventory
sales_details Optional[models.SalesDetails] N/A
purchase_details Optional[models.PurchaseDetails] N/A
quantity OptionalNullable[float] N/A 1
unit_price OptionalNullable[float] N/A 27500.5
asset_account OptionalNullable[models.LinkedLedgerAccount] N/A
income_account OptionalNullable[models.LinkedLedgerAccount] N/A
expense_account OptionalNullable[models.LinkedLedgerAccount] N/A
tracking_category OptionalNullable[models.DeprecatedLinkedTrackingCategory] : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
tracking_categories List[models.LinkedTrackingCategory] A list of linked tracking categories.
active OptionalNullable[bool] N/A true
custom_mappings OptionalNullable[models.CustomMappings] When custom mappings are configured on the resource, the result is included here.
row_version OptionalNullable[str] A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. 1-12345
updated_by OptionalNullable[str] The user who last updated the object. 12345
created_by OptionalNullable[str] The user who created the object. 12345
updated_at date The date and time when the object was last updated. 2020-09-30T07:43:32.000Z
created_at date The date and time when the object was created. 2020-09-30T07:43:32.000Z
pass_through List[models.PassThroughBody] The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.