POST
/
v1
/
c
/
invoice

Authorizations

wb-key
string
header
required

Body

application/json

Arguments for invoice(s) creation

Invoice Item identifiers are optional: if this array isn't provided, all items that can currently be attached will be attached.

The customer is optional: if not provided and if no list of items is provided, then all attachable items belonging to this wb_customer will be grouped into invoices.

contract_id
string

Unique identifier of an object. Consists of object class prefix and a UUID

customer_id
string

Unique identifier of an object. Consists of object class prefix and a UUID

invoice_item_ids
string[] | null

optional list of invoice items to gather into one or several invoices (the invoices will be consistent: same contract, and items in automatic payment won't be mixed with items in manual payement)