Performs persist operations for a specified invoice

POST /V1/invoices/

Performs persist operations for a specified invoice.

Body

  • entity object Required

    Invoice interface. An invoice is a record of the receipt of payment for an order.

    Hide entity attributes Show entity attributes object
    • base_currency_code string

      Base currency code.

    • base_discount_amount number

      Base discount amount.

    • base_grand_total number

      Base grand total.

    • base_discount_tax_compensation_amount number

      Base discount tax compensation amount.

    • base_shipping_amount number

      Base shipping amount.

    • base_shipping_discount_tax_compensation_amnt number

      Base shipping discount tax compensation amount.

    • base_shipping_incl_tax number

      Base shipping including tax.

    • base_shipping_tax_amount number

      Base shipping tax amount.

    • base_subtotal number

      Base subtotal.

    • base_subtotal_incl_tax number

      Base subtotal including tax.

    • base_tax_amount number

      Base tax amount.

    • base_total_refunded number

      Base total refunded.

    • base_to_global_rate number

      Base-to-global rate.

    • base_to_order_rate number

      Base-to-order rate.

    • billing_address_id integer

      Billing address ID.

    • can_void_flag integer

      Can void flag value.

    • created_at string

      Created-at timestamp.

    • discount_amount number

      Discount amount.

    • discount_description string

      Discount description.

    • email_sent integer

      Email-sent flag value.

    • entity_id integer

      Invoice ID.

    • global_currency_code string

      Global currency code.

    • grand_total number

      Grand total.

    • discount_tax_compensation_amount number

      Discount tax compensation amount.

    • increment_id string

      Increment ID.

    • is_used_for_refund integer

      Is-used-for-refund flag value.

    • order_currency_code string

      Order currency code.

    • order_id integer Required

      Order ID.

    • shipping_address_id integer

      Shipping address ID.

    • shipping_amount number

      Shipping amount.

    • shipping_discount_tax_compensation_amount number

      Shipping discount tax compensation amount.

    • shipping_incl_tax number

      Shipping including tax.

    • shipping_tax_amount number

      Shipping tax amount.

    • state integer

      State.

    • store_currency_code string

      Store currency code.

    • store_id integer

      Store ID.

    • store_to_base_rate number

      Store-to-base rate.

    • store_to_order_rate number

      Store-to-order rate.

    • subtotal number

      Subtotal.

    • subtotal_incl_tax number

      Subtotal including tax.

    • tax_amount number

      Tax amount.

    • total_qty number Required

      Total quantity.

    • transaction_id string

      Transaction ID.

    • updated_at string

      Updated-at timestamp.

    • items array[object] Required

      Array of invoice items.

      Hide items attributes Show items attributes object

      Invoice item interface. An invoice is a record of the receipt of payment for an order. An invoice item is a purchased item in an invoice.

      • additional_data string

        Additional data.

      • base_cost number

        Base cost.

      • base_discount_amount number

        Base discount amount.

      • base_discount_tax_compensation_amount number

        Base discount tax compensation amount.

      • base_price number

        Base price.

      • base_price_incl_tax number

        Base price including tax.

      • base_row_total number

        Base row total.

      • base_row_total_incl_tax number

        Base row total including tax.

      • base_tax_amount number

        Base tax amount.

      • description string

        Description.

      • discount_amount number

        Discount amount.

      • entity_id integer

        Invoice item ID.

      • discount_tax_compensation_amount number

        Discount tax compensation amount.

      • name string

        Name.

      • parent_id integer

        Parent ID.

      • price number

        Price.

      • price_incl_tax number

        Price including tax.

      • product_id integer

        Product ID.

      • row_total number

        Row total.

      • row_total_incl_tax number

        Row total including tax.

      • sku string Required

        SKU.

      • tax_amount number

        Tax amount.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceItemInterface

        Hide extension_attributes attributes Show extension_attributes attributes object
        • list_price number
        • size string
        • color string
        • merchant_product_reference string
        • category_code string
        • image string
        • mpn string
        • msrp number
        • manufacturer_code string
        • manufacturer_name string
        • merchant_code string
        • merchant_name string
        • merchant_city string
        • merchant_commission_percentage number
        • merchant_deficiency_percentage number
        • merchant_handling_fee number
        • is_sale boolean
        • return_item_fee number
        • base_return_item_fee number
        • is_outlet boolean
      • order_item_id integer Required

        Order item ID.

      • qty number Required

        Quantity.

    • comments array[object]

      Array of any invoice comments. Otherwise, null.

      Hide comments attributes Show comments attributes object

      Invoice comment interface. An invoice is a record of the receipt of payment for an order. An invoice can include comments that detail the invoice history.

      • is_customer_notified integer Required

        Is-customer-notified flag value.

      • parent_id integer Required

        Parent ID.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceCommentInterface

      • comment string Required

        Comment.

      • is_visible_on_front integer Required

        Is-visible-on-storefront flag value.

      • created_at string

        Created-at timestamp.

      • entity_id integer

        Invoice ID.

    • extension_attributes object

      ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceInterface

      Hide extension_attributes attributes Show extension_attributes attributes object
      • base_customer_balance_amount number
      • customer_balance_amount number
      • base_gift_cards_amount number
      • gift_cards_amount number
      • gw_base_price string
      • gw_price string
      • gw_items_base_price string
      • gw_items_price string
      • gw_card_base_price string
      • gw_card_price string
      • gw_base_tax_amount string
      • gw_tax_amount string
      • gw_items_base_tax_amount string
      • gw_items_tax_amount string
      • gw_card_base_tax_amount string
      • gw_card_tax_amount string
      • company_id integer

Body

  • entity object Required

    Invoice interface. An invoice is a record of the receipt of payment for an order.

    Hide entity attributes Show entity attributes object
    • base_currency_code string

      Base currency code.

    • base_discount_amount number

      Base discount amount.

    • base_grand_total number

      Base grand total.

    • base_discount_tax_compensation_amount number

      Base discount tax compensation amount.

    • base_shipping_amount number

      Base shipping amount.

    • base_shipping_discount_tax_compensation_amnt number

      Base shipping discount tax compensation amount.

    • base_shipping_incl_tax number

      Base shipping including tax.

    • base_shipping_tax_amount number

      Base shipping tax amount.

    • base_subtotal number

      Base subtotal.

    • base_subtotal_incl_tax number

      Base subtotal including tax.

    • base_tax_amount number

      Base tax amount.

    • base_total_refunded number

      Base total refunded.

    • base_to_global_rate number

      Base-to-global rate.

    • base_to_order_rate number

      Base-to-order rate.

    • billing_address_id integer

      Billing address ID.

    • can_void_flag integer

      Can void flag value.

    • created_at string

      Created-at timestamp.

    • discount_amount number

      Discount amount.

    • discount_description string

      Discount description.

    • email_sent integer

      Email-sent flag value.

    • entity_id integer

      Invoice ID.

    • global_currency_code string

      Global currency code.

    • grand_total number

      Grand total.

    • discount_tax_compensation_amount number

      Discount tax compensation amount.

    • increment_id string

      Increment ID.

    • is_used_for_refund integer

      Is-used-for-refund flag value.

    • order_currency_code string

      Order currency code.

    • order_id integer Required

      Order ID.

    • shipping_address_id integer

      Shipping address ID.

    • shipping_amount number

      Shipping amount.

    • shipping_discount_tax_compensation_amount number

      Shipping discount tax compensation amount.

    • shipping_incl_tax number

      Shipping including tax.

    • shipping_tax_amount number

      Shipping tax amount.

    • state integer

      State.

    • store_currency_code string

      Store currency code.

    • store_id integer

      Store ID.

    • store_to_base_rate number

      Store-to-base rate.

    • store_to_order_rate number

      Store-to-order rate.

    • subtotal number

      Subtotal.

    • subtotal_incl_tax number

      Subtotal including tax.

    • tax_amount number

      Tax amount.

    • total_qty number Required

      Total quantity.

    • transaction_id string

      Transaction ID.

    • updated_at string

      Updated-at timestamp.

    • items array[object] Required

      Array of invoice items.

      Hide items attributes Show items attributes object

      Invoice item interface. An invoice is a record of the receipt of payment for an order. An invoice item is a purchased item in an invoice.

      • additional_data string

        Additional data.

      • base_cost number

        Base cost.

      • base_discount_amount number

        Base discount amount.

      • base_discount_tax_compensation_amount number

        Base discount tax compensation amount.

      • base_price number

        Base price.

      • base_price_incl_tax number

        Base price including tax.

      • base_row_total number

        Base row total.

      • base_row_total_incl_tax number

        Base row total including tax.

      • base_tax_amount number

        Base tax amount.

      • description string

        Description.

      • discount_amount number

        Discount amount.

      • entity_id integer

        Invoice item ID.

      • discount_tax_compensation_amount number

        Discount tax compensation amount.

      • name string

        Name.

      • parent_id integer

        Parent ID.

      • price number

        Price.

      • price_incl_tax number

        Price including tax.

      • product_id integer

        Product ID.

      • row_total number

        Row total.

      • row_total_incl_tax number

        Row total including tax.

      • sku string Required

        SKU.

      • tax_amount number

        Tax amount.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceItemInterface

        Hide extension_attributes attributes Show extension_attributes attributes object
        • list_price number
        • size string
        • color string
        • merchant_product_reference string
        • category_code string
        • image string
        • mpn string
        • msrp number
        • manufacturer_code string
        • manufacturer_name string
        • merchant_code string
        • merchant_name string
        • merchant_city string
        • merchant_commission_percentage number
        • merchant_deficiency_percentage number
        • merchant_handling_fee number
        • is_sale boolean
        • return_item_fee number
        • base_return_item_fee number
        • is_outlet boolean
      • order_item_id integer Required

        Order item ID.

      • qty number Required

        Quantity.

    • comments array[object]

      Array of any invoice comments. Otherwise, null.

      Hide comments attributes Show comments attributes object

      Invoice comment interface. An invoice is a record of the receipt of payment for an order. An invoice can include comments that detail the invoice history.

      • is_customer_notified integer Required

        Is-customer-notified flag value.

      • parent_id integer Required

        Parent ID.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceCommentInterface

      • comment string Required

        Comment.

      • is_visible_on_front integer Required

        Is-visible-on-storefront flag value.

      • created_at string

        Created-at timestamp.

      • entity_id integer

        Invoice ID.

    • extension_attributes object

      ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceInterface

      Hide extension_attributes attributes Show extension_attributes attributes object
      • base_customer_balance_amount number
      • customer_balance_amount number
      • base_gift_cards_amount number
      • gift_cards_amount number
      • gw_base_price string
      • gw_price string
      • gw_items_base_price string
      • gw_items_price string
      • gw_card_base_price string
      • gw_card_price string
      • gw_base_tax_amount string
      • gw_tax_amount string
      • gw_items_base_tax_amount string
      • gw_items_tax_amount string
      • gw_card_base_tax_amount string
      • gw_card_tax_amount string
      • company_id integer

Responses

  • 200 Success.

    Hide response attributes Show response attributes object
    • base_currency_code string

      Base currency code.

    • base_discount_amount number

      Base discount amount.

    • base_grand_total number

      Base grand total.

    • base_discount_tax_compensation_amount number

      Base discount tax compensation amount.

    • base_shipping_amount number

      Base shipping amount.

    • base_shipping_discount_tax_compensation_amnt number

      Base shipping discount tax compensation amount.

    • base_shipping_incl_tax number

      Base shipping including tax.

    • base_shipping_tax_amount number

      Base shipping tax amount.

    • base_subtotal number

      Base subtotal.

    • base_subtotal_incl_tax number

      Base subtotal including tax.

    • base_tax_amount number

      Base tax amount.

    • base_total_refunded number

      Base total refunded.

    • base_to_global_rate number

      Base-to-global rate.

    • base_to_order_rate number

      Base-to-order rate.

    • billing_address_id integer

      Billing address ID.

    • can_void_flag integer

      Can void flag value.

    • created_at string

      Created-at timestamp.

    • discount_amount number

      Discount amount.

    • discount_description string

      Discount description.

    • email_sent integer

      Email-sent flag value.

    • entity_id integer

      Invoice ID.

    • global_currency_code string

      Global currency code.

    • grand_total number

      Grand total.

    • discount_tax_compensation_amount number

      Discount tax compensation amount.

    • increment_id string

      Increment ID.

    • is_used_for_refund integer

      Is-used-for-refund flag value.

    • order_currency_code string

      Order currency code.

    • order_id integer Required

      Order ID.

    • shipping_address_id integer

      Shipping address ID.

    • shipping_amount number

      Shipping amount.

    • shipping_discount_tax_compensation_amount number

      Shipping discount tax compensation amount.

    • shipping_incl_tax number

      Shipping including tax.

    • shipping_tax_amount number

      Shipping tax amount.

    • state integer

      State.

    • store_currency_code string

      Store currency code.

    • store_id integer

      Store ID.

    • store_to_base_rate number

      Store-to-base rate.

    • store_to_order_rate number

      Store-to-order rate.

    • subtotal number

      Subtotal.

    • subtotal_incl_tax number

      Subtotal including tax.

    • tax_amount number

      Tax amount.

    • total_qty number Required

      Total quantity.

    • transaction_id string

      Transaction ID.

    • updated_at string

      Updated-at timestamp.

    • items array[object] Required

      Array of invoice items.

      Hide items attributes Show items attributes object

      Invoice item interface. An invoice is a record of the receipt of payment for an order. An invoice item is a purchased item in an invoice.

      • additional_data string

        Additional data.

      • base_cost number

        Base cost.

      • base_discount_amount number

        Base discount amount.

      • base_discount_tax_compensation_amount number

        Base discount tax compensation amount.

      • base_price number

        Base price.

      • base_price_incl_tax number

        Base price including tax.

      • base_row_total number

        Base row total.

      • base_row_total_incl_tax number

        Base row total including tax.

      • base_tax_amount number

        Base tax amount.

      • description string

        Description.

      • discount_amount number

        Discount amount.

      • entity_id integer

        Invoice item ID.

      • discount_tax_compensation_amount number

        Discount tax compensation amount.

      • name string

        Name.

      • parent_id integer

        Parent ID.

      • price number

        Price.

      • price_incl_tax number

        Price including tax.

      • product_id integer

        Product ID.

      • row_total number

        Row total.

      • row_total_incl_tax number

        Row total including tax.

      • sku string Required

        SKU.

      • tax_amount number

        Tax amount.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceItemInterface

        Hide extension_attributes attributes Show extension_attributes attributes object
        • list_price number
        • size string
        • color string
        • merchant_product_reference string
        • category_code string
        • image string
        • mpn string
        • msrp number
        • manufacturer_code string
        • manufacturer_name string
        • merchant_code string
        • merchant_name string
        • merchant_city string
        • merchant_commission_percentage number
        • merchant_deficiency_percentage number
        • merchant_handling_fee number
        • is_sale boolean
        • return_item_fee number
        • base_return_item_fee number
        • is_outlet boolean
      • order_item_id integer Required

        Order item ID.

      • qty number Required

        Quantity.

    • comments array[object]

      Array of any invoice comments. Otherwise, null.

      Hide comments attributes Show comments attributes object

      Invoice comment interface. An invoice is a record of the receipt of payment for an order. An invoice can include comments that detail the invoice history.

      • is_customer_notified integer Required

        Is-customer-notified flag value.

      • parent_id integer Required

        Parent ID.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceCommentInterface

      • comment string Required

        Comment.

      • is_visible_on_front integer Required

        Is-visible-on-storefront flag value.

      • created_at string

        Created-at timestamp.

      • entity_id integer

        Invoice ID.

    • extension_attributes object

      ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceInterface

      Hide extension_attributes attributes Show extension_attributes attributes object
      • base_customer_balance_amount number
      • customer_balance_amount number
      • base_gift_cards_amount number
      • gift_cards_amount number
      • gw_base_price string
      • gw_price string
      • gw_items_base_price string
      • gw_items_price string
      • gw_card_base_price string
      • gw_card_price string
      • gw_base_tax_amount string
      • gw_tax_amount string
      • gw_items_base_tax_amount string
      • gw_items_tax_amount string
      • gw_card_base_tax_amount string
      • gw_card_tax_amount string
      • company_id integer
    Hide response attributes Show response attributes object
    • base_currency_code string

      Base currency code.

    • base_discount_amount number

      Base discount amount.

    • base_grand_total number

      Base grand total.

    • base_discount_tax_compensation_amount number

      Base discount tax compensation amount.

    • base_shipping_amount number

      Base shipping amount.

    • base_shipping_discount_tax_compensation_amnt number

      Base shipping discount tax compensation amount.

    • base_shipping_incl_tax number

      Base shipping including tax.

    • base_shipping_tax_amount number

      Base shipping tax amount.

    • base_subtotal number

      Base subtotal.

    • base_subtotal_incl_tax number

      Base subtotal including tax.

    • base_tax_amount number

      Base tax amount.

    • base_total_refunded number

      Base total refunded.

    • base_to_global_rate number

      Base-to-global rate.

    • base_to_order_rate number

      Base-to-order rate.

    • billing_address_id integer

      Billing address ID.

    • can_void_flag integer

      Can void flag value.

    • created_at string

      Created-at timestamp.

    • discount_amount number

      Discount amount.

    • discount_description string

      Discount description.

    • email_sent integer

      Email-sent flag value.

    • entity_id integer

      Invoice ID.

    • global_currency_code string

      Global currency code.

    • grand_total number

      Grand total.

    • discount_tax_compensation_amount number

      Discount tax compensation amount.

    • increment_id string

      Increment ID.

    • is_used_for_refund integer

      Is-used-for-refund flag value.

    • order_currency_code string

      Order currency code.

    • order_id integer Required

      Order ID.

    • shipping_address_id integer

      Shipping address ID.

    • shipping_amount number

      Shipping amount.

    • shipping_discount_tax_compensation_amount number

      Shipping discount tax compensation amount.

    • shipping_incl_tax number

      Shipping including tax.

    • shipping_tax_amount number

      Shipping tax amount.

    • state integer

      State.

    • store_currency_code string

      Store currency code.

    • store_id integer

      Store ID.

    • store_to_base_rate number

      Store-to-base rate.

    • store_to_order_rate number

      Store-to-order rate.

    • subtotal number

      Subtotal.

    • subtotal_incl_tax number

      Subtotal including tax.

    • tax_amount number

      Tax amount.

    • total_qty number Required

      Total quantity.

    • transaction_id string

      Transaction ID.

    • updated_at string

      Updated-at timestamp.

    • items array[object] Required

      Array of invoice items.

      Hide items attributes Show items attributes object

      Invoice item interface. An invoice is a record of the receipt of payment for an order. An invoice item is a purchased item in an invoice.

      • additional_data string

        Additional data.

      • base_cost number

        Base cost.

      • base_discount_amount number

        Base discount amount.

      • base_discount_tax_compensation_amount number

        Base discount tax compensation amount.

      • base_price number

        Base price.

      • base_price_incl_tax number

        Base price including tax.

      • base_row_total number

        Base row total.

      • base_row_total_incl_tax number

        Base row total including tax.

      • base_tax_amount number

        Base tax amount.

      • description string

        Description.

      • discount_amount number

        Discount amount.

      • entity_id integer

        Invoice item ID.

      • discount_tax_compensation_amount number

        Discount tax compensation amount.

      • name string

        Name.

      • parent_id integer

        Parent ID.

      • price number

        Price.

      • price_incl_tax number

        Price including tax.

      • product_id integer

        Product ID.

      • row_total number

        Row total.

      • row_total_incl_tax number

        Row total including tax.

      • sku string Required

        SKU.

      • tax_amount number

        Tax amount.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceItemInterface

        Hide extension_attributes attributes Show extension_attributes attributes object
        • list_price number
        • size string
        • color string
        • merchant_product_reference string
        • category_code string
        • image string
        • mpn string
        • msrp number
        • manufacturer_code string
        • manufacturer_name string
        • merchant_code string
        • merchant_name string
        • merchant_city string
        • merchant_commission_percentage number
        • merchant_deficiency_percentage number
        • merchant_handling_fee number
        • is_sale boolean
        • return_item_fee number
        • base_return_item_fee number
        • is_outlet boolean
      • order_item_id integer Required

        Order item ID.

      • qty number Required

        Quantity.

    • comments array[object]

      Array of any invoice comments. Otherwise, null.

      Hide comments attributes Show comments attributes object

      Invoice comment interface. An invoice is a record of the receipt of payment for an order. An invoice can include comments that detail the invoice history.

      • is_customer_notified integer Required

        Is-customer-notified flag value.

      • parent_id integer Required

        Parent ID.

      • extension_attributes object

        ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceCommentInterface

      • comment string Required

        Comment.

      • is_visible_on_front integer Required

        Is-visible-on-storefront flag value.

      • created_at string

        Created-at timestamp.

      • entity_id integer

        Invoice ID.

    • extension_attributes object

      ExtensionInterface class for @see \Magento\Sales\Api\Data\InvoiceInterface

      Hide extension_attributes attributes Show extension_attributes attributes object
      • base_customer_balance_amount number
      • customer_balance_amount number
      • base_gift_cards_amount number
      • gift_cards_amount number
      • gw_base_price string
      • gw_price string
      • gw_items_base_price string
      • gw_items_price string
      • gw_card_base_price string
      • gw_card_price string
      • gw_base_tax_amount string
      • gw_tax_amount string
      • gw_items_base_tax_amount string
      • gw_items_tax_amount string
      • gw_card_base_tax_amount string
      • gw_card_tax_amount string
      • company_id integer
  • 401 Unauthorized

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

  • Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Errors list

      Hide errors attributes Show errors attributes object

      Error details

      • message string

        Error message

      • parameters array[object]

        Error parameters list

        Hide parameters attributes Show parameters attributes object

        Error parameters item

        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters list

      Hide parameters attributes Show parameters attributes object

      Error parameters item

      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

POST /V1/invoices/
curl \
 --request POST 'https://magento2.winkelstraat.mac/rest/all/V1/invoices/' \
 --header "Content-Type: application/json" \
 --data '{"entity":{"base_currency_code":"string","base_discount_amount":42.0,"base_grand_total":42.0,"base_discount_tax_compensation_amount":42.0,"base_shipping_amount":42.0,"base_shipping_discount_tax_compensation_amnt":42.0,"base_shipping_incl_tax":42.0,"base_shipping_tax_amount":42.0,"base_subtotal":42.0,"base_subtotal_incl_tax":42.0,"base_tax_amount":42.0,"base_total_refunded":42.0,"base_to_global_rate":42.0,"base_to_order_rate":42.0,"billing_address_id":42,"can_void_flag":42,"created_at":"string","discount_amount":42.0,"discount_description":"string","email_sent":42,"entity_id":42,"global_currency_code":"string","grand_total":42.0,"discount_tax_compensation_amount":42.0,"increment_id":"string","is_used_for_refund":42,"order_currency_code":"string","order_id":42,"shipping_address_id":42,"shipping_amount":42.0,"shipping_discount_tax_compensation_amount":42.0,"shipping_incl_tax":42.0,"shipping_tax_amount":42.0,"state":42,"store_currency_code":"string","store_id":42,"store_to_base_rate":42.0,"store_to_order_rate":42.0,"subtotal":42.0,"subtotal_incl_tax":42.0,"tax_amount":42.0,"total_qty":42.0,"transaction_id":"string","updated_at":"string","items":[{"additional_data":"string","base_cost":42.0,"base_discount_amount":42.0,"base_discount_tax_compensation_amount":42.0,"base_price":42.0,"base_price_incl_tax":42.0,"base_row_total":42.0,"base_row_total_incl_tax":42.0,"base_tax_amount":42.0,"description":"string","discount_amount":42.0,"entity_id":42,"discount_tax_compensation_amount":42.0,"name":"string","parent_id":42,"price":42.0,"price_incl_tax":42.0,"product_id":42,"row_total":42.0,"row_total_incl_tax":42.0,"sku":"string","tax_amount":42.0,"extension_attributes":{"list_price":42.0,"size":"string","color":"string","merchant_product_reference":"string","category_code":"string","image":"string","mpn":"string","msrp":42.0,"manufacturer_code":"string","manufacturer_name":"string","merchant_code":"string","merchant_name":"string","merchant_city":"string","merchant_commission_percentage":42.0,"merchant_deficiency_percentage":42.0,"merchant_handling_fee":42.0,"is_sale":true,"return_item_fee":42.0,"base_return_item_fee":42.0,"is_outlet":true},"order_item_id":42,"qty":42.0}],"comments":[{"is_customer_notified":42,"parent_id":42,"extension_attributes":{},"comment":"string","is_visible_on_front":42,"created_at":"string","entity_id":42}],"extension_attributes":{"base_customer_balance_amount":42.0,"customer_balance_amount":42.0,"base_gift_cards_amount":42.0,"gift_cards_amount":42.0,"gw_base_price":"string","gw_price":"string","gw_items_base_price":"string","gw_items_price":"string","gw_card_base_price":"string","gw_card_price":"string","gw_base_tax_amount":"string","gw_tax_amount":"string","gw_items_base_tax_amount":"string","gw_items_tax_amount":"string","gw_card_base_tax_amount":"string","gw_card_tax_amount":"string","company_id":42}}}'
curl \
 --request POST 'https://magento2.winkelstraat.mac/rest/all/V1/invoices/' \
 --header "Content-Type: application/xml"
Request examples
{
  "entity": {
    "base_currency_code": "string",
    "base_discount_amount": 42.0,
    "base_grand_total": 42.0,
    "base_discount_tax_compensation_amount": 42.0,
    "base_shipping_amount": 42.0,
    "base_shipping_discount_tax_compensation_amnt": 42.0,
    "base_shipping_incl_tax": 42.0,
    "base_shipping_tax_amount": 42.0,
    "base_subtotal": 42.0,
    "base_subtotal_incl_tax": 42.0,
    "base_tax_amount": 42.0,
    "base_total_refunded": 42.0,
    "base_to_global_rate": 42.0,
    "base_to_order_rate": 42.0,
    "billing_address_id": 42,
    "can_void_flag": 42,
    "created_at": "string",
    "discount_amount": 42.0,
    "discount_description": "string",
    "email_sent": 42,
    "entity_id": 42,
    "global_currency_code": "string",
    "grand_total": 42.0,
    "discount_tax_compensation_amount": 42.0,
    "increment_id": "string",
    "is_used_for_refund": 42,
    "order_currency_code": "string",
    "order_id": 42,
    "shipping_address_id": 42,
    "shipping_amount": 42.0,
    "shipping_discount_tax_compensation_amount": 42.0,
    "shipping_incl_tax": 42.0,
    "shipping_tax_amount": 42.0,
    "state": 42,
    "store_currency_code": "string",
    "store_id": 42,
    "store_to_base_rate": 42.0,
    "store_to_order_rate": 42.0,
    "subtotal": 42.0,
    "subtotal_incl_tax": 42.0,
    "tax_amount": 42.0,
    "total_qty": 42.0,
    "transaction_id": "string",
    "updated_at": "string",
    "items": [
      {
        "additional_data": "string",
        "base_cost": 42.0,
        "base_discount_amount": 42.0,
        "base_discount_tax_compensation_amount": 42.0,
        "base_price": 42.0,
        "base_price_incl_tax": 42.0,
        "base_row_total": 42.0,
        "base_row_total_incl_tax": 42.0,
        "base_tax_amount": 42.0,
        "description": "string",
        "discount_amount": 42.0,
        "entity_id": 42,
        "discount_tax_compensation_amount": 42.0,
        "name": "string",
        "parent_id": 42,
        "price": 42.0,
        "price_incl_tax": 42.0,
        "product_id": 42,
        "row_total": 42.0,
        "row_total_incl_tax": 42.0,
        "sku": "string",
        "tax_amount": 42.0,
        "extension_attributes": {
          "list_price": 42.0,
          "size": "string",
          "color": "string",
          "merchant_product_reference": "string",
          "category_code": "string",
          "image": "string",
          "mpn": "string",
          "msrp": 42.0,
          "manufacturer_code": "string",
          "manufacturer_name": "string",
          "merchant_code": "string",
          "merchant_name": "string",
          "merchant_city": "string",
          "merchant_commission_percentage": 42.0,
          "merchant_deficiency_percentage": 42.0,
          "merchant_handling_fee": 42.0,
          "is_sale": true,
          "return_item_fee": 42.0,
          "base_return_item_fee": 42.0,
          "is_outlet": true
        },
        "order_item_id": 42,
        "qty": 42.0
      }
    ],
    "comments": [
      {
        "is_customer_notified": 42,
        "parent_id": 42,
        "extension_attributes": {},
        "comment": "string",
        "is_visible_on_front": 42,
        "created_at": "string",
        "entity_id": 42
      }
    ],
    "extension_attributes": {
      "base_customer_balance_amount": 42.0,
      "customer_balance_amount": 42.0,
      "base_gift_cards_amount": 42.0,
      "gift_cards_amount": 42.0,
      "gw_base_price": "string",
      "gw_price": "string",
      "gw_items_base_price": "string",
      "gw_items_price": "string",
      "gw_card_base_price": "string",
      "gw_card_price": "string",
      "gw_base_tax_amount": "string",
      "gw_tax_amount": "string",
      "gw_items_base_tax_amount": "string",
      "gw_items_tax_amount": "string",
      "gw_card_base_tax_amount": "string",
      "gw_card_tax_amount": "string",
      "company_id": 42
    }
  }
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <entity>
    <base-currency-code>string</base-currency-code>
    <base-discount-amount type="float">42.0</base-discount-amount>
    <base-grand-total type="float">42.0</base-grand-total>
    <base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
    <base-shipping-amount type="float">42.0</base-shipping-amount>
    <base-shipping-discount-tax-compensation-amnt type="float">42.0</base-shipping-discount-tax-compensation-amnt>
    <base-shipping-incl-tax type="float">42.0</base-shipping-incl-tax>
    <base-shipping-tax-amount type="float">42.0</base-shipping-tax-amount>
    <base-subtotal type="float">42.0</base-subtotal>
    <base-subtotal-incl-tax type="float">42.0</base-subtotal-incl-tax>
    <base-tax-amount type="float">42.0</base-tax-amount>
    <base-total-refunded type="float">42.0</base-total-refunded>
    <base-to-global-rate type="float">42.0</base-to-global-rate>
    <base-to-order-rate type="float">42.0</base-to-order-rate>
    <billing-address-id type="integer">42</billing-address-id>
    <can-void-flag type="integer">42</can-void-flag>
    <created-at>string</created-at>
    <discount-amount type="float">42.0</discount-amount>
    <discount-description>string</discount-description>
    <email-sent type="integer">42</email-sent>
    <entity-id type="integer">42</entity-id>
    <global-currency-code>string</global-currency-code>
    <grand-total type="float">42.0</grand-total>
    <discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
    <increment-id>string</increment-id>
    <is-used-for-refund type="integer">42</is-used-for-refund>
    <order-currency-code>string</order-currency-code>
    <order-id type="integer">42</order-id>
    <shipping-address-id type="integer">42</shipping-address-id>
    <shipping-amount type="float">42.0</shipping-amount>
    <shipping-discount-tax-compensation-amount type="float">42.0</shipping-discount-tax-compensation-amount>
    <shipping-incl-tax type="float">42.0</shipping-incl-tax>
    <shipping-tax-amount type="float">42.0</shipping-tax-amount>
    <state type="integer">42</state>
    <store-currency-code>string</store-currency-code>
    <store-id type="integer">42</store-id>
    <store-to-base-rate type="float">42.0</store-to-base-rate>
    <store-to-order-rate type="float">42.0</store-to-order-rate>
    <subtotal type="float">42.0</subtotal>
    <subtotal-incl-tax type="float">42.0</subtotal-incl-tax>
    <tax-amount type="float">42.0</tax-amount>
    <total-qty type="float">42.0</total-qty>
    <transaction-id>string</transaction-id>
    <updated-at>string</updated-at>
    <items type="array">
      <item>
        <additional-data>string</additional-data>
        <base-cost type="float">42.0</base-cost>
        <base-discount-amount type="float">42.0</base-discount-amount>
        <base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
        <base-price type="float">42.0</base-price>
        <base-price-incl-tax type="float">42.0</base-price-incl-tax>
        <base-row-total type="float">42.0</base-row-total>
        <base-row-total-incl-tax type="float">42.0</base-row-total-incl-tax>
        <base-tax-amount type="float">42.0</base-tax-amount>
        <description>string</description>
        <discount-amount type="float">42.0</discount-amount>
        <entity-id type="integer">42</entity-id>
        <discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
        <name>string</name>
        <parent-id type="integer">42</parent-id>
        <price type="float">42.0</price>
        <price-incl-tax type="float">42.0</price-incl-tax>
        <product-id type="integer">42</product-id>
        <row-total type="float">42.0</row-total>
        <row-total-incl-tax type="float">42.0</row-total-incl-tax>
        <sku>string</sku>
        <tax-amount type="float">42.0</tax-amount>
        <extension-attributes>
          <list-price type="float">42.0</list-price>
          <size>string</size>
          <color>string</color>
          <merchant-product-reference>string</merchant-product-reference>
          <category-code>string</category-code>
          <image>string</image>
          <mpn>string</mpn>
          <msrp type="float">42.0</msrp>
          <manufacturer-code>string</manufacturer-code>
          <manufacturer-name>string</manufacturer-name>
          <merchant-code>string</merchant-code>
          <merchant-name>string</merchant-name>
          <merchant-city>string</merchant-city>
          <merchant-commission-percentage type="float">42.0</merchant-commission-percentage>
          <merchant-deficiency-percentage type="float">42.0</merchant-deficiency-percentage>
          <merchant-handling-fee type="float">42.0</merchant-handling-fee>
          <is-sale type="boolean">true</is-sale>
          <return-item-fee type="float">42.0</return-item-fee>
          <base-return-item-fee type="float">42.0</base-return-item-fee>
          <is-outlet type="boolean">true</is-outlet>
        </extension-attributes>
        <order-item-id type="integer">42</order-item-id>
        <qty type="float">42.0</qty>
      </item>
    </items>
    <comments type="array">
      <comment>
        <is-customer-notified type="integer">42</is-customer-notified>
        <parent-id type="integer">42</parent-id>
        <extension-attributes>
        </extension-attributes>
        <comment>string</comment>
        <is-visible-on-front type="integer">42</is-visible-on-front>
        <created-at>string</created-at>
        <entity-id type="integer">42</entity-id>
      </comment>
    </comments>
    <extension-attributes>
      <base-customer-balance-amount type="float">42.0</base-customer-balance-amount>
      <customer-balance-amount type="float">42.0</customer-balance-amount>
      <base-gift-cards-amount type="float">42.0</base-gift-cards-amount>
      <gift-cards-amount type="float">42.0</gift-cards-amount>
      <gw-base-price>string</gw-base-price>
      <gw-price>string</gw-price>
      <gw-items-base-price>string</gw-items-base-price>
      <gw-items-price>string</gw-items-price>
      <gw-card-base-price>string</gw-card-base-price>
      <gw-card-price>string</gw-card-price>
      <gw-base-tax-amount>string</gw-base-tax-amount>
      <gw-tax-amount>string</gw-tax-amount>
      <gw-items-base-tax-amount>string</gw-items-base-tax-amount>
      <gw-items-tax-amount>string</gw-items-tax-amount>
      <gw-card-base-tax-amount>string</gw-card-base-tax-amount>
      <gw-card-tax-amount>string</gw-card-tax-amount>
      <company-id type="integer">42</company-id>
    </extension-attributes>
  </entity>
</root>
Response examples (200)
{
  "base_currency_code": "string",
  "base_discount_amount": 42.0,
  "base_grand_total": 42.0,
  "base_discount_tax_compensation_amount": 42.0,
  "base_shipping_amount": 42.0,
  "base_shipping_discount_tax_compensation_amnt": 42.0,
  "base_shipping_incl_tax": 42.0,
  "base_shipping_tax_amount": 42.0,
  "base_subtotal": 42.0,
  "base_subtotal_incl_tax": 42.0,
  "base_tax_amount": 42.0,
  "base_total_refunded": 42.0,
  "base_to_global_rate": 42.0,
  "base_to_order_rate": 42.0,
  "billing_address_id": 42,
  "can_void_flag": 42,
  "created_at": "string",
  "discount_amount": 42.0,
  "discount_description": "string",
  "email_sent": 42,
  "entity_id": 42,
  "global_currency_code": "string",
  "grand_total": 42.0,
  "discount_tax_compensation_amount": 42.0,
  "increment_id": "string",
  "is_used_for_refund": 42,
  "order_currency_code": "string",
  "order_id": 42,
  "shipping_address_id": 42,
  "shipping_amount": 42.0,
  "shipping_discount_tax_compensation_amount": 42.0,
  "shipping_incl_tax": 42.0,
  "shipping_tax_amount": 42.0,
  "state": 42,
  "store_currency_code": "string",
  "store_id": 42,
  "store_to_base_rate": 42.0,
  "store_to_order_rate": 42.0,
  "subtotal": 42.0,
  "subtotal_incl_tax": 42.0,
  "tax_amount": 42.0,
  "total_qty": 42.0,
  "transaction_id": "string",
  "updated_at": "string",
  "items": [
    {
      "additional_data": "string",
      "base_cost": 42.0,
      "base_discount_amount": 42.0,
      "base_discount_tax_compensation_amount": 42.0,
      "base_price": 42.0,
      "base_price_incl_tax": 42.0,
      "base_row_total": 42.0,
      "base_row_total_incl_tax": 42.0,
      "base_tax_amount": 42.0,
      "description": "string",
      "discount_amount": 42.0,
      "entity_id": 42,
      "discount_tax_compensation_amount": 42.0,
      "name": "string",
      "parent_id": 42,
      "price": 42.0,
      "price_incl_tax": 42.0,
      "product_id": 42,
      "row_total": 42.0,
      "row_total_incl_tax": 42.0,
      "sku": "string",
      "tax_amount": 42.0,
      "extension_attributes": {
        "list_price": 42.0,
        "size": "string",
        "color": "string",
        "merchant_product_reference": "string",
        "category_code": "string",
        "image": "string",
        "mpn": "string",
        "msrp": 42.0,
        "manufacturer_code": "string",
        "manufacturer_name": "string",
        "merchant_code": "string",
        "merchant_name": "string",
        "merchant_city": "string",
        "merchant_commission_percentage": 42.0,
        "merchant_deficiency_percentage": 42.0,
        "merchant_handling_fee": 42.0,
        "is_sale": true,
        "return_item_fee": 42.0,
        "base_return_item_fee": 42.0,
        "is_outlet": true
      },
      "order_item_id": 42,
      "qty": 42.0
    }
  ],
  "comments": [
    {
      "is_customer_notified": 42,
      "parent_id": 42,
      "extension_attributes": {},
      "comment": "string",
      "is_visible_on_front": 42,
      "created_at": "string",
      "entity_id": 42
    }
  ],
  "extension_attributes": {
    "base_customer_balance_amount": 42.0,
    "customer_balance_amount": 42.0,
    "base_gift_cards_amount": 42.0,
    "gift_cards_amount": 42.0,
    "gw_base_price": "string",
    "gw_price": "string",
    "gw_items_base_price": "string",
    "gw_items_price": "string",
    "gw_card_base_price": "string",
    "gw_card_price": "string",
    "gw_base_tax_amount": "string",
    "gw_tax_amount": "string",
    "gw_items_base_tax_amount": "string",
    "gw_items_tax_amount": "string",
    "gw_card_base_tax_amount": "string",
    "gw_card_tax_amount": "string",
    "company_id": 42
  }
}
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <base-currency-code>string</base-currency-code>
  <base-discount-amount type="float">42.0</base-discount-amount>
  <base-grand-total type="float">42.0</base-grand-total>
  <base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
  <base-shipping-amount type="float">42.0</base-shipping-amount>
  <base-shipping-discount-tax-compensation-amnt type="float">42.0</base-shipping-discount-tax-compensation-amnt>
  <base-shipping-incl-tax type="float">42.0</base-shipping-incl-tax>
  <base-shipping-tax-amount type="float">42.0</base-shipping-tax-amount>
  <base-subtotal type="float">42.0</base-subtotal>
  <base-subtotal-incl-tax type="float">42.0</base-subtotal-incl-tax>
  <base-tax-amount type="float">42.0</base-tax-amount>
  <base-total-refunded type="float">42.0</base-total-refunded>
  <base-to-global-rate type="float">42.0</base-to-global-rate>
  <base-to-order-rate type="float">42.0</base-to-order-rate>
  <billing-address-id type="integer">42</billing-address-id>
  <can-void-flag type="integer">42</can-void-flag>
  <created-at>string</created-at>
  <discount-amount type="float">42.0</discount-amount>
  <discount-description>string</discount-description>
  <email-sent type="integer">42</email-sent>
  <entity-id type="integer">42</entity-id>
  <global-currency-code>string</global-currency-code>
  <grand-total type="float">42.0</grand-total>
  <discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
  <increment-id>string</increment-id>
  <is-used-for-refund type="integer">42</is-used-for-refund>
  <order-currency-code>string</order-currency-code>
  <order-id type="integer">42</order-id>
  <shipping-address-id type="integer">42</shipping-address-id>
  <shipping-amount type="float">42.0</shipping-amount>
  <shipping-discount-tax-compensation-amount type="float">42.0</shipping-discount-tax-compensation-amount>
  <shipping-incl-tax type="float">42.0</shipping-incl-tax>
  <shipping-tax-amount type="float">42.0</shipping-tax-amount>
  <state type="integer">42</state>
  <store-currency-code>string</store-currency-code>
  <store-id type="integer">42</store-id>
  <store-to-base-rate type="float">42.0</store-to-base-rate>
  <store-to-order-rate type="float">42.0</store-to-order-rate>
  <subtotal type="float">42.0</subtotal>
  <subtotal-incl-tax type="float">42.0</subtotal-incl-tax>
  <tax-amount type="float">42.0</tax-amount>
  <total-qty type="float">42.0</total-qty>
  <transaction-id>string</transaction-id>
  <updated-at>string</updated-at>
  <items type="array">
    <item>
      <additional-data>string</additional-data>
      <base-cost type="float">42.0</base-cost>
      <base-discount-amount type="float">42.0</base-discount-amount>
      <base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
      <base-price type="float">42.0</base-price>
      <base-price-incl-tax type="float">42.0</base-price-incl-tax>
      <base-row-total type="float">42.0</base-row-total>
      <base-row-total-incl-tax type="float">42.0</base-row-total-incl-tax>
      <base-tax-amount type="float">42.0</base-tax-amount>
      <description>string</description>
      <discount-amount type="float">42.0</discount-amount>
      <entity-id type="integer">42</entity-id>
      <discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
      <name>string</name>
      <parent-id type="integer">42</parent-id>
      <price type="float">42.0</price>
      <price-incl-tax type="float">42.0</price-incl-tax>
      <product-id type="integer">42</product-id>
      <row-total type="float">42.0</row-total>
      <row-total-incl-tax type="float">42.0</row-total-incl-tax>
      <sku>string</sku>
      <tax-amount type="float">42.0</tax-amount>
      <extension-attributes>
        <list-price type="float">42.0</list-price>
        <size>string</size>
        <color>string</color>
        <merchant-product-reference>string</merchant-product-reference>
        <category-code>string</category-code>
        <image>string</image>
        <mpn>string</mpn>
        <msrp type="float">42.0</msrp>
        <manufacturer-code>string</manufacturer-code>
        <manufacturer-name>string</manufacturer-name>
        <merchant-code>string</merchant-code>
        <merchant-name>string</merchant-name>
        <merchant-city>string</merchant-city>
        <merchant-commission-percentage type="float">42.0</merchant-commission-percentage>
        <merchant-deficiency-percentage type="float">42.0</merchant-deficiency-percentage>
        <merchant-handling-fee type="float">42.0</merchant-handling-fee>
        <is-sale type="boolean">true</is-sale>
        <return-item-fee type="float">42.0</return-item-fee>
        <base-return-item-fee type="float">42.0</base-return-item-fee>
        <is-outlet type="boolean">true</is-outlet>
      </extension-attributes>
      <order-item-id type="integer">42</order-item-id>
      <qty type="float">42.0</qty>
    </item>
  </items>
  <comments type="array">
    <comment>
      <is-customer-notified type="integer">42</is-customer-notified>
      <parent-id type="integer">42</parent-id>
      <extension-attributes>
      </extension-attributes>
      <comment>string</comment>
      <is-visible-on-front type="integer">42</is-visible-on-front>
      <created-at>string</created-at>
      <entity-id type="integer">42</entity-id>
    </comment>
  </comments>
  <extension-attributes>
    <base-customer-balance-amount type="float">42.0</base-customer-balance-amount>
    <customer-balance-amount type="float">42.0</customer-balance-amount>
    <base-gift-cards-amount type="float">42.0</base-gift-cards-amount>
    <gift-cards-amount type="float">42.0</gift-cards-amount>
    <gw-base-price>string</gw-base-price>
    <gw-price>string</gw-price>
    <gw-items-base-price>string</gw-items-base-price>
    <gw-items-price>string</gw-items-price>
    <gw-card-base-price>string</gw-card-base-price>
    <gw-card-price>string</gw-card-price>
    <gw-base-tax-amount>string</gw-base-tax-amount>
    <gw-tax-amount>string</gw-tax-amount>
    <gw-items-base-tax-amount>string</gw-items-base-tax-amount>
    <gw-items-tax-amount>string</gw-items-tax-amount>
    <gw-card-base-tax-amount>string</gw-card-base-tax-amount>
    <gw-card-tax-amount>string</gw-card-tax-amount>
    <company-id type="integer">42</company-id>
  </extension-attributes>
</root>
Response examples (401)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <message>string</message>
  <errors type="array">
    <error>
      <message>string</message>
      <parameters type="array">
        <parameter>
          <resources>string</resources>
          <fieldName>string</fieldName>
          <fieldValue>string</fieldValue>
        </parameter>
      </parameters>
    </error>
  </errors>
  <code type="integer">42</code>
  <parameters type="array">
    <parameter>
      <resources>string</resources>
      <fieldName>string</fieldName>
      <fieldValue>string</fieldValue>
    </parameter>
  </parameters>
  <trace>string</trace>
</root>
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <message>string</message>
  <errors type="array">
    <error>
      <message>string</message>
      <parameters type="array">
        <parameter>
          <resources>string</resources>
          <fieldName>string</fieldName>
          <fieldValue>string</fieldValue>
        </parameter>
      </parameters>
    </error>
  </errors>
  <code type="integer">42</code>
  <parameters type="array">
    <parameter>
      <resources>string</resources>
      <fieldName>string</fieldName>
      <fieldValue>string</fieldValue>
    </parameter>
  </parameters>
  <trace>string</trace>
</root>