Create
Creates a new draft invoice, optionally attaching selected uninvoiced charges atomically. Omitted dates derive from completed deliveries; empty drafts and charges without completed delivery dates require explicit bounds. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceCreateReq) -> (PydanticObjectId)
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:
schema_version
counterparty_driver_id
counterparty_off_chrt_org_data_id
counterparty_org_id
description
export_ref__sage__customer_id
export_ref__sage__department_id
invoice_line_item_ids
name
period_end_at_timestamp
period_start_at_timestamp
Response
Successful Response
Errors
422
Unprocessable Entity Error