Skip to main content
POST
Create invoice(s)

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 | null

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

Example:

"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"

customer_id
string | null

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

Example:

"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"

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)

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

Response

Nothing to create