Questions tagged [invoice]
Magento payment invoice generated as a confirmation of payment receipt
717
questions
0
votes
0
answers
16
views
Arabic invoice pdf issue Magento 2.4.5 showing as Arabic letters but not correct
Preconditions (*)
Magento 2.4.5-develop
The store should be in Arabic
Steps to reproduce (*)
Place an order in Arabic store
Customer fill the address and name all in Arabic
Login to the admin panel ...
2
votes
3
answers
115
views
Prevent invoice email notification after invoice creation in Magento 2
I have used below event to stop Invoice email notification that is triggered after the invoice creation.
Vendor/Module/etc/events.xml
<?xml version="1.0"?>
<config xmlns:xsi="...
0
votes
0
answers
12
views
Create custom invoice using default pdf with additional option in admin to download
I need to create a custom invoice using the default pdf class having an additional option in admin/orders download as "Invoice with vat"
I did create a module using code from the following ...
0
votes
1
answer
10
views
Refund with extra shipping costs via API
We have a webshop for shoes, and if shoes, which are in the sale, are send back we want to charge the customer with extra shipping costs. (5 euro)
Now I use the POST V1/invoice/:invoiceId/refund
Can ...
0
votes
0
answers
11
views
Error on Reorder time create invoice automatically from backend in Magento 2?
I have my custom module in that I generate invoice automatically but when I reorder order from backend side that getting this kind of error
"Order saving error: Rolled back transaction has not ...
0
votes
1
answer
50
views
Magento2 Need understanding of following code related to invoice
$transactionSave = $transaction->addObject($invoice)->addObject($invoice->getOrder());
$invoice->getOrder()->setIsInProcess(true);
$transactionSave->save();
...
0
votes
0
answers
28
views
Set a purchase order to processing without invoicing / payment
We have a Magento 2.4.5 site and would like to change the default behavior for orders that are paid for via purchase order, by default Magento sets them to PENDING (makes sense) but we use a 3rd party ...
0
votes
1
answer
74
views
How to save Magento 2 invoice PDF file with order ID instead of date?
When I print any invoice in Magento 2 the pdf save according to the current date I am saving it as for example
invoice2023-05-10_05-58-26.pdf
Instead, I wanted to save this pdf with order id like
...
0
votes
0
answers
19
views
How to get the "Reason" details in "loyalty points redeem_history"
In Magento 2.4., I need to get the "Reason" details in "reward points redeem_history". It is not coming with default "redeem_history" collection. Only comments are coming....
0
votes
0
answers
21
views
Invoice Automatically send before payment is successful problem
I've using Pay tabs as a payment gateway for my Magento 2 store and its working perfect before but after upgrading Magento version from 2.3.1 to version 2.4.5.p1 the system send the order invoice ...
0
votes
0
answers
20
views
Custom Invoice in Magento 2 showing a empty Page and double Taxes
im trying to make a custom PDF-Invoice for my Magento Store. So i edited the invoice.phtml File and did some Changes. Somehow it worked pretty fine, but there are still two problems and i dont know ...
0
votes
1
answer
101
views
Partial invoicing in Magento 2 - how to update order line items with which items to invoice via csv?
Partial invoicing in Magento 2 - how to update order line items with which items to invoice via csv?
For example, let's say I have an order that has 4 items on it. 2 of those items are on back order. ...
0
votes
1
answer
55
views
Magento2 Order status not getting updated
Magento2 I need to create Invoice & Shipping pro-grammatically. For that I used following link
https://webkul.com/blog/how-to-programmatically-create-invoice-in-magento2/
Using this code I am ...
0
votes
1
answer
68
views
Can I Generate Shipment using GraphQL in magento2?
Can i generate Shipment/invoice using GraphQL in magento 2.4.5 ?
If yes kindly let me know how to generate, any links with brief details also appreciated.
0
votes
0
answers
100
views
Email template layout does not appear in email template
I have an invoice email template but, the layout for invoice does not appear in email template.
{{layout handle="sales_email_order_invoice_items" invoice_id=$invoice_id order_id=$order_id ...
1
vote
0
answers
190
views
Magento 2.4.5 print invoice or print credit memo not working from the admin side
When I try to print invoices or credit memos from the admin side I face the below error.
Error Screenshot: https://i.imgur.com/U6ZmZhj.png
I use the below code:
File Path: Vendor/Extension/Model/...
0
votes
0
answers
135
views
Edit invoice PDF magento 2.4.5
I want to customize invoice pdf, add number of the line and the price for 1 unit without tax and tax value for the unit and the last line cost of delivery.
How to customization of the invoice pdf?
...
0
votes
0
answers
40
views
Add our address & VAT number onto invoice.php
Good afternoon, everyone
We have a invoice.php which is all standard just like this one here:
https://github.com/pepe1518/magento2/blob/master/vendor/magento/module-sales/Model/Order/Pdf/Invoice.php
I ...
1
vote
0
answers
64
views
Magento 2 | Prevent saving the completed state on the order
In Magento2, when the payment of the order is made by credit card, the invoice is immediately generated. This involves saving the order with a completed state as soon as the shipment is created.
Is it ...
0
votes
1
answer
90
views
How to update the saleable quantity after invoice creation in magento2
Normally the saleable quantity is updatd after when we place the order. I want to update the saleable quantity after invoice creation for my custom producttype..
0
votes
1
answer
417
views
Online refund payment using Invoice Rest API in Magento 2
There are some orders on the website that is done by the Paypal online method. Now I want to a partial refund of an order item using the invoice API.
E.g:: /rest/default/V1/invoice/xxxx/refund
{
&...
0
votes
1
answer
41
views
Automating Invoicing in Magento 1
essentially as the title states, I want to create automatic invoicing for orders in Magento 1. I've considered a few potential solutions to this which I'll go into below, but was hoping for some ...
0
votes
1
answer
140
views
Magento 2.4.2 Order Status stuck on processing
When an order comes in an invoice is created automatically and gets send out. I can also find that invoice when i click on the order. If I ship the order then, the shipment email goes out to the ...
0
votes
0
answers
147
views
invoice pdf item price exclusive tax
I want to have article prices and exclusive tax in invoice pdfs. I have not found any article searching which points me in a direction. At the moment prices are shown inclusive of tax. I have changed ...
0
votes
1
answer
115
views
Magento 2: Print invoice in multiple languages for the same store
I have a multistore. One is in English and the other one is in Arabic. The invoice gets printed in the particular language depending on the store.
I want to print the invoice in English and Arabic ...
0
votes
1
answer
188
views
How to generate Multi-Language invoice and email
I have a multi-language store and I need to generate my invoice in 2 different languages in a PDF and the invoice email should also have both the languages. How can I do that.
0
votes
1
answer
118
views
Magento 2 - Adding part number to Invoice and sales > orders > view page
I am trying to added part numbers into the invoice and order view pages. SKU numbers are pretty useless when picking stock when its all part numbers.
I have not been able to find someone who has been ...
0
votes
2
answers
758
views
How to attach invoice pdf with invoice email
I would like to attach the invoice PDF to the invoice email. I have searched through several links on Stack Exchange, but unfortunately, I have not been able to make any progress on this issue.
I am ...
0
votes
1
answer
77
views
Magento 2.3.5p2: Uncaught Error: Create invoice with shipment issue
I am getting this error on creating invoice with shipment from the admin:
Uncaught Error: Call to a member function getUrl() on null in /var/www/html/vendor/magento/module-sales/view/frontend/...
0
votes
2
answers
937
views
How to disable automatic invoice generation in magento 2.4.0?
I am using custom Online Payment method (N-Genius Online) there Invoice is generating automatically. I want to stop Auto invoice generation in magento 2.4.0.
Kindly help me on this.
Kind regards,
0
votes
2
answers
500
views
Order automatically creates an invoice when paying in full with Mageplazza Store Credit
Paying using Mageplazza extension Store Credit 4.0.0 on Magento 2.4.2. If grand total is zero, an invoice is automatically created. This is not the desired logic.
Mageplazza answered that their module ...
0
votes
1
answer
666
views
Create Credit memo using API in Magento 2
I am using the console command to delete an order item so I need also to create a credit memo based on the delete item price and refund the payment to the customer online using API.
I used the ...
0
votes
1
answer
90
views
How can I remove the white space from pdf invoice on tax(VAT) and make it 2 columns
I have a space on the row where the tax(VAT) is placed. On subtotal, total, etc and other fees the columns are ok, but for some reason on the tax row the placement is different and the pdf is printed ...
0
votes
1
answer
165
views
Magento 2.4 Invoice - Templates
Does anyone know if there is anywhere that has a selection of Free PDF Invoice templates that is compatible with Magento 2.4.3?
I need to show each custom attribute on a new line, I would also like ...
1
vote
1
answer
301
views
Refund part order but don't refund shipping
at the moment I have a function which will refund the invoice on an order. However the shipping is currently also being refunded, which I don't want.
Is there a way to set the shipping to zero on an ...
2
votes
1
answer
99
views
Magento 2: Create Invoice or Shipment with REST API with different date
I want to post a shipment and/or invoice into Magento 2 but put a different date than today's date using the HTTP Rest API. Is this possible and how would I accomplish this? When I include the ...
0
votes
1
answer
591
views
Add Custom Attribute Text In PDF Invoice after Product Name in Magento 2.4.0
How to i can add attribute text in pdf invoice after product name in Magento 2.4.0 ?
I am writing this code but not effecting.
$id = $item->getProductid();
$objectManager = \Magento\Framework\App\...
0
votes
2
answers
194
views
Get invoice price including tax from collection
I have invoices recovered by collection.
$collection = $this->invoiceCollectionFactory->create()
->addAttributeToSelect('*')
);
From this collection how can I get the ...
0
votes
1
answer
155
views
How to show Items data in base currency instead display currency in PDF Invoice?
How to i can show Item price and subtotal in base currency instead Display currency in Pdf Invoice Magento 2 ?
I have call rest data in Base currency But facing issue on items data.
Kind Regards
1
vote
0
answers
103
views
Magento 2 : Add custom informations to invoice PDF
I want to add a custom Attribute to my invoice PDF after the customer name.
1
vote
1
answer
718
views
How to override .phtml files in Magento 2.4
I want to customize the Invoice page, so I override .phtml file in:
vendor\magento\module-sales\view\adminhtml\templates\order\invoice\create\items.phtml
I tried to create many files but failed:
...
0
votes
1
answer
245
views
Magento 2 How to add missing products in Order Invoice
Here am having some orders of bundle products, after generating Invoice am getting only 3 products getting displaying, I need to add the missing products programmatically in the invoice PDF.
here is ...
1
vote
1
answer
295
views
Magento 2 Invoice Emails: Tax row alignment in subtotals
So I wanted to change the layout of my invoice emails, especially order totals. I wanted labels to align right.
I copied my totals.phtml file in my theme and added my styling.
<?php
/**
* ...
1
vote
2
answers
1k
views
Magento 2 : Error "Unable to create credit memo for order"
I am getting this error while online refunding credit memo using a script.
"Unable to create credit memo for order" error appear, this is due to this
https://github.com/pepe1518/magento2/...
0
votes
1
answer
687
views
order confirmation email send but invoice email not send in magento 2?
When I placed the order using stripe payment method. I am able to received the order confirmation email but invoice email not received. Invoice email manually hit works.
Magento 2.3.2
-1
votes
3
answers
1k
views
Magento2: Invoice and shipment emails are not going to the customer
I am using Magento2.3.1.
I have installed mageplaza SMTP extension and configured it with Send Grid details. I have completed all configuration and able to sent test email successfully.
After that I ...
0
votes
2
answers
211
views
Loading icon for literally MINUTES after pressing Place Order - Magento 2.3.5
Magento 2.3.5 site that loads pretty quickly generally, checkout maybe a few seconds to load but that seems par for the course for Magento 2
However, the issue is that after pressing 'Place Order' the ...
0
votes
1
answer
723
views
Overriding invoice email template in Magento 2.3
I need to override invoice email template and add a variable (po number) in the template. I ve followed a few tutorials but they didn't help at all. I have an email template in admin panel at ...
1
vote
5
answers
718
views
After update to 2.4.0 view invoice in backend breaks page (layout will not load)
i have a problem since we have updated our Magento from 2.3.5 to 2.4.0.
Here is the problem:
We will open the invoice view in backend. So we go to:
->Sales->orders->select an order (my order: ...
0
votes
1
answer
151
views
how to change address information format in invoice, shipment and credit memo?
I want to change the address information format in shipment, invoice, and credit memo. Right now the format is Magento address information format like this
I want to display the area and subdistrict. ...