Retrieve (via POST) ad-hoc preview
Retrieve (via POST) ad-hoc preview
Previews account-split ad-hoc line items without persisting them. | authz: allowed_org_types=[provider], min_org_role=operator | (AdHocInvoiceLineItemsReq) -> (list[InvoiceLineItemServerCreate1])
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
ad_hoc_line_items
task_group_id
Response
Successful Response
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 Preview Ad Hoc V1request Unprocessable Entity Error

