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 :)
...
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);
...
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 ...
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/...
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....
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
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 ...
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 $...
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 "...
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 ...
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 ...
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 ...
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) {
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
create-invoice × 48invoice × 25
magento-1.9 × 13
magento2 × 11
pdf × 6
admin × 5
orders × 4
event-observer × 4
sales-order × 4
magento-1.8 × 3
magento-1 × 3
magento-2.1 × 2
magento-1.7 × 2
magento2.2 × 2
email × 2
overrides × 2
rest-api × 2
order-status × 2
programmatically × 2
fatal-error × 2
invoice-pdf × 2
partial-invoice × 2
magento2.3 × 1
php × 1
attributes × 1