Skip to content

Latest commit

 

History

History
42 lines (39 loc) · 25.6 KB

File metadata and controls

42 lines (39 loc) · 25.6 KB

InvoiceLineItem

Fields

Field Type Required Description Example
id ?string A unique identifier for an object. 12345
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\InvoiceLineItemType Item type sales_item
taxAmount ?float Tax amount 27500
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
serviceDate \DateTime Date on which the service was provided or performed - YYYY-MM-DD. 2024-01-15
categoryId ?string ID of the category of the line item 12345
locationId ?string The ID of the location 12345
departmentId ?string The ID of the department 12345
subsidiaryId ?string The ID of the subsidiary 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
item ?Components\LinkedInvoiceItem N/A
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
worktags array<Components\LinkedWorktag> Worktags of the line item. This is currently only supported in Workday.
taxRate ?Components\LinkedTaxRate N/A
trackingCategories array<Components\LinkedTrackingCategory> A list of linked tracking categories.
ledgerAccount ?Components\LinkedLedgerAccount N/A
customFields array<Components\CustomField1|Components\CustomField2> N/A
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
updatedBy ?string The user who last updated the object. 12345
createdBy ?string The user who created the object. 12345
createdAt \DateTime The date and time when the object was created. 2020-09-30T07:43:32.000Z
updatedAt \DateTime The date and time when the object was last updated. 2020-09-30T07:43:32.000Z