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
Allowed values:
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
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