I have one order, this order is having 3 items. I want to create different invoices of different items using Rest API. It is possible using the admin panel in Magento-2.1, but not using rest API. How to create a partial invoice?

  • anybody please help me. Sep 18 '18 at 4:52

You have to use this endpoint

POST /V1/order/{order id}/invoice

the json should be

  "items": [
      "order_item_id": {item_id},
      "qty": 1

the item id is the item id of the product in the order

  • I will use this API,but it is show wrong details.Suppose I have two items in order,one is simple product and other is bundle product.When i generate invoice of simple product,then it show simple product information as well as bundle product parent item detail . It show in screenshot as below:i.stack.imgur.com/Vteo6.png Sep 21 '18 at 5:50
  • anybody guide me. Oct 3 '18 at 10:50
  • what is the type of your bundle product, is it Fixed or Dynamic? Oct 3 '18 at 13:14
  • Bundle Product-Dynamic Oct 3 '18 at 13:15
  • please have a look at this wiki, i could not write the whole text here, wikicoode.com/magento2/… Oct 3 '18 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.