Field | Type | Required | Description | Example |
---|---|---|---|---|
Name |
*string | ➖ | Item name | Model Y |
Description |
*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 |
*string | ➖ | User defined item code | 120-C |
Sold |
*bool | ➖ | Item will be available on sales transactions | true |
Purchased |
*bool | ➖ | Item is available for purchase transactions | true |
Tracked |
*bool | ➖ | Item is inventoried | true |
Taxable |
*bool | ➖ | If true, transactions for this item are taxable | true |
InventoryDate |
*types.Date | ➖ | The date of opening balance if inventory item is tracked - YYYY-MM-DD. | 2020-10-30 |
Type |
*components.InvoiceItemTypeType | ➖ | Item type | inventory |
SalesDetails |
*components.InvoiceItemSalesDetails | ➖ | N/A | |
PurchaseDetails |
*components.InvoiceItemPurchaseDetails | ➖ | N/A | |
Quantity |
*float64 | ➖ | N/A | 1 |
UnitPrice |
*float64 | ➖ | N/A | 27500.5 |
AssetAccount |
*components.LinkedLedgerAccountInput | ➖ | N/A | |
IncomeAccount |
*components.LinkedLedgerAccountInput | ➖ | N/A | |
ExpenseAccount |
*components.LinkedLedgerAccountInput | ➖ | N/A | |
TrackingCategory |
*components.DeprecatedLinkedTrackingCategory | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
TrackingCategories |
[]components.LinkedTrackingCategory | ➖ | A list of linked tracking categories. | |
Active |
*bool | ➖ | N/A | true |
RowVersion |
*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 |
[]components.PassThroughBody | ➖ | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. |