Creates a new invoice line item
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
ID of the product
Quantity of the product
ID of the tax code to apply to this line
ID of the ledger account for this line
Discount to apply to this line (can be percentage or amount-based)
Price overwrite in cents. If not provided, the product's default price will be used
Product name overwrite. If not provided, the product's default name will be used
Tax amount override in cents. Bypasses tax calculation and sets the exact tax amount for this line.
Requirements: The line must have a valid amount (product price or priceOverwrite must be set).
The taxAmount field in the response will reflect this override value.
Avalara tax code. Used when the invoice tax engine is AVATAX
Start of the billing period for this line
End of the billing period for this line
ID of the accrual/amortization template to apply to this line
Start date for accrual/amortization
End date for accrual/amortization
List of custom properties to set on the invoice or line
List of custom properties to set on the vendor. Replaces the existing set.
default response
Unique identifier for the object
ID of the company
ID of the invoice receivable this line belongs to
ID of the product
Quantity of the product
ID of the tax code
ID of the ledger account
Discount to apply to this line (can be percentage or amount-based)
Discount amount in cents
Net amount in cents after discount but before tax
Tax amount in cents
Avalara tax code. Used when the invoice tax engine is AVATAX
Start of the billing period
End of the billing period
Custom product price in cents. This overrides the default product's price
Custom product name. This overrides the default product's name
Timestamp when the line was created
Timestamp when the line was last updated
ID of the accrual template
Start date for accrual
End date for accrual
List of custom properties associated with the line
Custom properties set on the vendor.