Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Get Invoice Data From Order ID in Magento 2

  1. #1
    Junior Member
    Join Date
    Aug 2022
    Posts
    179
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post How to Get Invoice Data From Order ID in Magento 2

    Solicitations in Magento 2 is a record of the installment for a request.

    An administrator can make different solicitations for a solitary request. Notwithstanding, when you need to execute a usefulness for every request in particular, in light of receipt information, you'll have to get invoice data from order id in Magento 2.
    For instance, you need to execute installment expenses to be charged on each request. For a specific request, the installment expense is to just be charged on the primary receipt.

    To execute such an element, you can utilize the underneath answer for get receipt information from request ID in Magento 2.

    For more info, visit https://meetanshi.com/blog/get-invoi...-in-magento-2/

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    You can get the receipt information for the particular request by request id in Magento 2. Utilizing Magento\Sales\Api\InvoiceRepositoryInterface interface, you want to utilize getList() capability to bring no. of receipt by deals request id.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •