Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 22.8 KB

File metadata and controls

38 lines (35 loc) · 22.8 KB

InvoiceLineItemInput

Fields

Field Type Required Description Example
id OptionalNullable[str] A unique identifier for an object. 12345
row_id Optional[str] Row ID 12345
code OptionalNullable[str] User defined item code 120-C
line_number OptionalNullable[int] Line number of the resource 1
description OptionalNullable[str] 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 OptionalNullable[models.InvoiceLineItemType] Item type sales_item
tax_amount OptionalNullable[float] Tax amount 27500
total_amount OptionalNullable[float] Total amount of the line item 27500
quantity OptionalNullable[float] N/A 1
unit_price OptionalNullable[float] N/A 27500.5
unit_of_measure OptionalNullable[str] Description of the unit type the item is sold as, ie: kg, hour. pc.
discount_percentage OptionalNullable[float] Discount percentage applied to the line item when supported downstream. 0.01
discount_amount OptionalNullable[float] Discount amount applied to the line item when supported downstream. 19.99
service_date datetime Date on which the service was provided or performed - YYYY-MM-DD. 2024-01-15
category_id OptionalNullable[str] ID of the category of the line item 12345
location_id OptionalNullable[str] The ID of the location 12345
department_id OptionalNullable[str] The ID of the department 12345
subsidiary_id OptionalNullable[str] The ID of the subsidiary 12345
shipping_id OptionalNullable[str] ID of the shipping of the line item 12345
memo OptionalNullable[str] Memo Some memo
prepaid OptionalNullable[bool] Whether the line item is prepaid true
item Optional[models.LinkedInvoiceItem] N/A
tax_applicable_on OptionalNullable[str] Tax applicable on Domestic_Purchase_of_Goods_and_Services
tax_recoverability OptionalNullable[str] Tax recoverability Fully_Recoverable
tax_method OptionalNullable[str] Method of tax calculation Due_to_Supplier
worktags List[Nullable[models.LinkedWorktag]] Worktags of the line item. This is currently only supported in Workday.
tax_rate Optional[models.LinkedTaxRateInput] N/A
tracking_categories List[Nullable[models.LinkedTrackingCategory]] A list of linked tracking categories.
ledger_account OptionalNullable[models.LinkedLedgerAccount] N/A
custom_fields List[models.CustomField] N/A
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