| Field | Type | Required | Description | Example |
|---|---|---|---|---|
rowId |
?string | ➖ | Row ID | 12345 |
code |
?string | ➖ | User defined item code | 120-C |
lineNumber |
?int | ➖ | Line number of the resource | 1 |
description |
?string | ➖ | User defined description | Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection. |
type |
?Components\LineItemType | ➖ | Line Item type | expense_account |
taxAmount |
?float | ➖ | Tax amount | 27.5 |
totalAmount |
?float | ➖ | Total amount of the line item | 27500 |
quantity |
?float | ➖ | N/A | 1 |
unitPrice |
?float | ➖ | N/A | 27500.5 |
unitOfMeasure |
?string | ➖ | Description of the unit type the item is sold as, ie: kg, hour. | pc. |
discountPercentage |
?float | ➖ | Discount percentage applied to the line item when supported downstream. | 0.01 |
discountAmount |
?float | ➖ | Discount amount applied to the line item when supported downstream. | 19.99 |
locationId |
?string | ➖ | The ID of the location | 12345 |
departmentId |
?string | ➖ | The ID of the department | 12345 |
subsidiaryId |
?string | ➖ | The ID of the subsidiary | 12345 |
categoryId |
?string | ➖ | ID of the category of the line item | 12345 |
shippingId |
?string | ➖ | ID of the shipping of the line item | 12345 |
memo |
?string | ➖ | Memo | Some memo |
prepaid |
?bool | ➖ | Whether the line item is prepaid | true |
taxApplicableOn |
?string | ➖ | Tax applicable on | Domestic_Purchase_of_Goods_and_Services |
taxRecoverability |
?string | ➖ | Tax recoverability | Fully_Recoverable |
taxMethod |
?string | ➖ | Method of tax calculation | Due_to_Supplier |
retentionAmount |
?float | ➖ | Retention amount | 1000 |
paymentAmount |
?float | ➖ | Payment amount | 1000 |
item |
?Components\LinkedInvoiceItem | ➖ | N/A | |
taxRate |
?Components\LinkedTaxRateInput | ➖ | N/A | |
ledgerAccount |
?Components\LinkedLedgerAccount | ➖ | N/A | |
purchaseOrder |
?Components\LinkedPurchaseOrder | ➖ | N/A | |
trackingCategories |
array<Components\LinkedTrackingCategory> | ➖ | A list of linked tracking categories. | |
customer |
?Components\LinkedCustomerInput | ➖ | The customer this entity is linked to. | |
rebilling |
?Components\Rebilling | ➖ | Rebilling metadata for this line item. | |
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 |
worktags |
array<Components\LinkedWorktag> | ➖ | A list of linked worktags. This is only supported for Workday. |