3 votes

How can I send invoice email via api?

Well since you have 'an already created invoice', I am assuming that you already know its ID. Moreover, I am assuming that you created that invoice via API also, that's how I know you know the ID :) ...
Diana's user avatar
  • 5,097
3 votes

Magento 2 - How to create invoice using custom rest API?

hi Please try below code for generate Invoice programatically $orderId = 31; //order id for which want to create invoice $order = $this->_orderRepository->get($orderId); ...
rakesh prajapati's user avatar
3 votes

Order Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2

You need to select capture option during invoice creation if you select Capture Offline When the invoice is submitted, the system does not capture the payment. It is assumed that the payment is ...
Muhammad Hasham's user avatar
2 votes
Accepted

Overrite template "sales/order/invoice/create/items.phtml"

You have to use setTemplate action: <adminhtml_sales_order_invoice_new> <reference name="order_items"> <action method="setTemplate"><template>mymodule/order/...
Phoenix128_RiccardoT's user avatar
2 votes
Accepted

Event for before invoice creation magento 2

You can use sales_order_invoice_register that is right after the invoice has been created and before the first save in the database. This event is also triggered if invoices are created automatically....
HelgeB's user avatar
  • 4,501
1 vote
Accepted

How to override .phtml files in Magento 2.4

Just change your layout file name :- From :- salase_invoice_custom.xml To :- sales_order_invoice_new.xml
Ronak Rathod's user avatar
  • 6,249
1 vote

How can I send invoice email via api?

If you Don't want to create an API for invoice then you can do one thing using order ID you can get all the invoice list using API and then from the response you can get all Invoice ID and call other ...
Rakesh Varma's user avatar
  • 2,206
1 vote
Accepted

Magento 2 - Get Invoice data using observer

Try this, In your observer namespace Vendor\Module\Observer; class Classname implements \Magento\Framework\Event\ObserverInterface { protected $...
Prathap Gunasekaran's user avatar
1 vote

Order Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2

In DB change 'state' Column value to "2" in 'sales_invoice_grid' table. and In DB change 'state' Column value to "2" in 'sales_invoice' table. and In DB change 'state' and 'status' Column value to "...
Jugal Kishor's user avatar
  • 1,225
1 vote

Issue with setting fields in payload for POST "/v1/invoices" api

the full json structure for this post you can find it http://devdocs.magento.com/swagger/index.html just click on salesInvoiceRepositoryV1 and then POST /V1/invoices/ i've made a test with the very ...
springerin's user avatar
1 vote
Accepted

Mass creation of invoice in magento 1.9

The issue is with your controller file path. According to my knowledge you have put the MassActionsController.php under /app/code/local/MiscWS/MassActions/controllers/ You need to put the file ...
Sukumar Gorai's user avatar
1 vote
Accepted

What stage does magento exactly send the "email copy of invoice"?

You can see this in action inside Mage_Adminhtml_Sales_Order_InvoiceController class in Magento. Take a look at saveAction inside that class. Sending email is the last step of the process, after ...
Prateek's user avatar
  • 1,949
1 vote

Call Customer Group ID for invoice PDF

Your comparison is using a "=" instead of a "==" operator: if($groupId = 6) { Change to if($groupId == 6) {
Mikel Bitson's user avatar
1 vote
Accepted

In invoice the contents are not aligned

Magento uses the Linux Libertine True Type Font to create the PDF. It is defined in app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php in 3 instances, near lines 793,807 and 821 Unfortunately ...
Yiorgos Moschovitis's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible