Preview ad-hoc

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_itemslist of objectsRequired
task_group_idstringRequired

Response

Successful Response
created_at_timestampdatetime
created_by_user_idstring

Must be a string starting with user_

currency_codeenum
descriptionstring1-32768 characters
invoice_typeenum
last_edited_at_timestampdatetime
last_edited_by_user_idstring

Must be a string starting with user_

line_item_typeenum
owned_by_org_idstring

Must be a string starting with org_

quantitydouble
schema_versioninteger
unit_pricedouble
counterparty_off_chrt_org_data_idstringOptional
counterparty_org_idstringOptional

Must be a string starting with org_

export_ref__sage__item_idstringOptional<=255 characters
invoice_idstringOptional
order_idstringOptional
rate_sheet_idstringOptional
shipper_account_idstringOptional
statusenumOptional
task_group_idstringOptional
tax_percentagedoubleOptional>=0
unitenumOptional

Errors

422
Invoice Line Items Preview Ad Hoc V1request Unprocessable Entity Error