Update currency conversion
Converts uninvoiced charges or updates exchange rates within their draft invoice currency. | (InvoiceLineItemsCurrencyConversionUpdateManyReq) -> (list[InvoiceLineItem1])
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
invoice_line_item_ids
target_currency_code
conversion_rate
Units of target_currency_code per one unit of the line items’ original source currency — their currency_conversion.source_currency_code if already converted, otherwise their current currency_code. Always relative to that original source, never to an intermediate converted currency, so conversions never compound. Omitted when target_currency_code is the original source currency, which reverts converted items and leaves unconverted items unchanged.
description
Response
Successful Response
_id
created_at_timestamp
created_by_user_id
currency_code
description
invoice_type
Allowed values:
last_edited_at_timestamp
last_edited_by_user_id
line_item_type
owned_by_org_id
Must be a string starting with org_
quantity
schema_version
total_amount
unit_price
awb_number
billing_line_key
billing_period_id
counterparty_driver_id
counterparty_off_chrt_org_data_id
counterparty_org_id
currency_conversion
edited_by_user
export_ref__sage__item_id
generated_by_pricing
invoice_id
needs_review
order_id
rate_sheet_id
rate_sheet_revision
shipper_account_id
source_order_billing_quote_id
status
Allowed values:
task_group_id
task_ids
task_short_ids
tax_percentage
unit
Errors
422
Unprocessable Entity Error