Update

ParamNotes
bill_idInvoice ID
data.itemsThis is used to overwrite the invoice items quantity and price. Uses ItemsData.
data.totals_infoThis is used to set custom totals for invoice. Array of TotalData.
data.due_dateThis is used to set the due date on the invoice. Set this value to null, if setting net terms and the due date should be set automatically. Vaue should be in the format yyyy-MM-dd HH:mm:ss. Time is optional.
data.nettermThis is used to set netterm data on the invoice. Uses NetTermData
data.external_invoice_idThis is used to set the external invoice id on the invoice.

ItemsData

ParamNotes
objectKeyObject key is order_item_id from the invoice.
qtyThe quantity of the invoice item to be set. This overrides the current qty of the invoice item.
base_priceThe base price of the invoice item to be set in base currency without currency symbol. This overwrites the current base_price of the invoice item.

TotalData

ParamNotes
codeTotal being updated. (shipping, discount, payment_surcharge, tax).
base_raw_valueValue to set the total to. (number).

NetTermData

ParamNotes
termInvoice terms. Set to null to remove terms
detailInvoice terms detail
xy_daysInvoice Net XY terms days
xy_discount_daysInvoice Net XY terms discount days
xy_discount_amountInvoice Net XY terms discount amount in base currency without currency symbol
xy_discount_calculation_totalInvoice Net XY terms discount calculation total. Can be default, subtotal, grand_total
xy_late_feeInvoice Net XY terms late fee amount in base currency without currency symbol
xy_late_fee_calculation_totalInvoice Net XY terms late fee calculation total. Can be default, subtotal, grand_total
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
data
object
Response
200

OK (no example documented yet)

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!