Update source
Updates an owner-scoped line item’s source fields, reapplies any existing currency conversion, and rebuilds its draft invoice when attached. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemClientUpdate1) -> (InvoiceLineItem1)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
invoice_line_item_id
Request
This endpoint expects an object.
description
export_ref__sage__item_id
export_ref__sage__item_id__set_to_None
invoice_type
Allowed values:
quantity
source_currency_code
source_unit_price
unit
unit__set_to_None
Response
Successful Response
_id
created_at_timestamp
created_by_user_id
Must be a string starting with user_
currency_code
description
invoice_type
last_edited_at_timestamp
last_edited_by_user_id
Must be a string starting with user_
line_item_type
owned_by_org_id
Must be a string starting with org_
quantity
schema_version
unit_price
awb_number
IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. ‘020-12345678’.
billing_period_id
counterparty_driver_id
counterparty_off_chrt_org_data_id
counterparty_org_id
Must be a string starting with org_
currency_conversion
export_ref__sage__item_id
invoice_id
order_id
rate_sheet_id
shipper_account_id
status
task_group_id
tax_percentage
unit
Errors
422
Invoice Line Items Update Source V1request Unprocessable Entity Error

