Preview selected orders
Selects matching uninvoiced ordinary charges, reports omitted items, and previews current taxes and billing dates without saving. Period dates do not filter charges. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceCreateFromOrdersReq) -> (InvoicePreviewFromOrdersRes)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
currency_code
invoice_type
Allowed values:
order_ids
schema_version
counterparty_driver_id
counterparty_off_chrt_org_data_id
counterparty_org_id
Must be a string starting with org_
description
export_ref__sage__customer_id
export_ref__sage__department_id
name
period_end_at_timestamp
When derived, the exclusive UTC midnight after the last delivery day. Explicit bounds are preserved.
period_start_at_timestamp
Supply both bounds or omit both to derive the period from delivery completion days in UTC.
Response
Successful Response
calculation
invoice
already_invoiced_line_item_ids
finalized_line_item_ids
invoice_line_items
orders_without_selected_charges
tax_configurations_by_line_item_id
tax_line_item_ids
unmatched_line_item_ids
Errors
422
Invoices Preview from Orders V1request Unprocessable Entity Error

