Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 17.4 KB

InvoiceItemInput.md

File metadata and controls

28 lines (25 loc) · 17.4 KB

InvoiceItemInput

Fields

Field Type Required Description Example
name JsonNullable<String> Item name Model Y
description JsonNullable<String> 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 JsonNullable<String> User defined item code 120-C
sold JsonNullable<Boolean> Item will be available on sales transactions true
purchased JsonNullable<Boolean> Item is available for purchase transactions true
tracked JsonNullable<Boolean> Item is inventoried true
taxable JsonNullable<Boolean> If true, transactions for this item are taxable true
inventoryDate LocalDate The date of opening balance if inventory item is tracked - YYYY-MM-DD. 2020-10-30
type JsonNullable<InvoiceItemTypeType> Item type inventory
salesDetails Optional<InvoiceItemSalesDetails> N/A
purchaseDetails Optional<InvoiceItemPurchaseDetails> N/A
quantity JsonNullable<Double> N/A 1
unitPrice JsonNullable<Double> N/A 27500.5
assetAccount JsonNullable<LinkedLedgerAccountInput> N/A
incomeAccount JsonNullable<LinkedLedgerAccountInput> N/A
expenseAccount JsonNullable<LinkedLedgerAccountInput> N/A
trackingCategory JsonNullable<DeprecatedLinkedTrackingCategory> : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
trackingCategories List<LinkedTrackingCategory> A list of linked tracking categories.
active JsonNullable<Boolean> N/A true
rowVersion JsonNullable<String> 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
passThrough List<PassThroughBody> The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.