younifyd
Menu

Get invoices

Get invoices

GET/V1/invoices

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get invoices action (under Invoices & Shipments).
  3. Fill in the fields below, then reference the result from later steps as {{getInvoices.response.data}}.

Request

Query parameters

searchCriteria[filterGroups][0][filters][0][field]string

Field

searchCriteria[filterGroups][0][filters][0][value]string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]string

Condition type

searchCriteria[sortOrders][0][field]string

Sorting field.

searchCriteria[sortOrders][0][direction]string

Sorting direction.

searchCriteria[pageSize]integer

Page size.

searchCriteria[currentPage]integer

Current page.

Response

Returns 200 with an object. Read it in later steps with {{getInvoices.response.data.<field>}}.

itemsarray<object>

Array of collection items.

base_currency_codestring

Base currency code.

base_discount_amountnumber

Base discount amount.

base_grand_totalnumber

Base grand total.

base_discount_tax_compensation_amountnumber

Base discount tax compensation amount.

base_shipping_amountnumber

Base shipping amount.

base_shipping_discount_tax_compensation_amntnumber

Base shipping discount tax compensation amount.

base_shipping_incl_taxnumber

Base shipping including tax.

base_shipping_tax_amountnumber

Base shipping tax amount.

base_subtotalnumber

Base subtotal.

base_subtotal_incl_taxnumber

Base subtotal including tax.

base_tax_amountnumber

Base tax amount.

base_total_refundednumber

Base total refunded.

base_to_global_ratenumber

Base-to-global rate.

base_to_order_ratenumber

Base-to-order rate.

billing_address_idinteger

Billing address ID.

can_void_flaginteger

Can void flag value.

created_atstring

Created-at timestamp.

discount_amountnumber

Discount amount.

discount_descriptionstring

Discount description.

email_sentinteger

Email-sent flag value.

entity_idinteger

Invoice ID.

global_currency_codestring

Global currency code.

grand_totalnumber

Grand total.

discount_tax_compensation_amountnumber

Discount tax compensation amount.

increment_idstring

Increment ID.

is_used_for_refundinteger

Is-used-for-refund flag value.

order_currency_codestring

Order currency code.

order_idintegerrequired

Order ID.

shipping_address_idinteger

Shipping address ID.

shipping_amountnumber

Shipping amount.

shipping_discount_tax_compensation_amountnumber

Shipping discount tax compensation amount.

shipping_incl_taxnumber

Shipping including tax.

shipping_tax_amountnumber

Shipping tax amount.

stateinteger

State.

store_currency_codestring

Store currency code.

store_idinteger

Store ID.

store_to_base_ratenumber

Store-to-base rate.

store_to_order_ratenumber

Store-to-order rate.

subtotalnumber

Subtotal.

subtotal_incl_taxnumber

Subtotal including tax.

search_criteriaobject

Search criteria interface.

filter_groupsarray<object>required1 fields

A list of filter groups.

sort_ordersarray<object>2 fields

Sort order.

page_sizeinteger

Page size.

current_pageinteger

Current page.

total_countinteger

Total count.

json
{
  "items": [
    {
      "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
    }
  ],
  "search_criteria": {
    "filter_groups": [
      {
        "filters": [
          {
            "field": "string",
            "value": "string",
            "condition_type": "string"
          }
        ]
      }
    ],
    "sort_orders": [
      {
        "field": "string",
        "direction": "string"
      }
    ],
    "page_size": 0,
    "current_page": 0
  },
  "total_count": 0
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.