Menu
Create invoices/
Create invoices/
POST
/V1/invoices/Use it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Create invoices/ action (under Invoices & Shipments).
- Fill in the fields below, then reference the result from later steps as
{{createInvoices.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"entity": {
"order_id": 0,
"total_qty": 0,
"items": [
{
"sku": "string",
"order_item_id": 0,
"qty": 0,
"additional_data": "string",
"base_cost": 0,
"base_discount_amount": 0,
"base_discount_tax_compensation_amount": 0,
"base_price": 0,
"base_price_incl_tax": 0,
"base_row_total": 0,
"base_row_total_incl_tax": 0,
"base_tax_amount": 0
}
],
"base_currency_code": "string",
"base_discount_amount": 0,
"base_grand_total": 0,
"base_discount_tax_compensation_amount": 0,
"base_shipping_amount": 0,
"base_shipping_discount_tax_compensation_amnt": 0,
"base_shipping_incl_tax": 0,
"base_shipping_tax_amount": 0,
"base_subtotal": 0
}
}
Response
Returns 200 with an object. Read it in later steps with {{createInvoices.response.data.<field>}}.
{
"order_id": 0,
"total_qty": 0,
"items": [
{
"sku": "string",
"order_item_id": 0,
"qty": 0,
"additional_data": "string",
"base_cost": 0,
"base_discount_amount": 0,
"base_discount_tax_compensation_amount": 0,
"base_price": 0,
"base_price_incl_tax": 0,
"base_row_total": 0,
"base_row_total_incl_tax": 0,
"base_tax_amount": 0
}
],
"base_currency_code": "string",
"base_discount_amount": 0,
"base_grand_total": 0,
"base_discount_tax_compensation_amount": 0,
"base_shipping_amount": 0,
"base_shipping_discount_tax_compensation_amnt": 0,
"base_shipping_incl_tax": 0,
"base_shipping_tax_amount": 0,
"base_subtotal": 0
}
Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?