Skip to main content

Questions tagged [sales-invoice]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

Trying to override InvoiceSender

I tried to override InvoiceSender (in /app/code/UFS/Sales/Model/Order/Email/Sender/InvoiceSender.php) but it doesn't work and I don't understand why. I added "'created_at_formatted' => $order-&...
Magento_Dev's user avatar
0 votes
1 answer
34 views

View invoice in backend breaks page (layout will not load)

The version of my magento2 is 2.3.5-p1. Here is the problem: We will open the invoice view in backend. So we go to: ->Sales->orders->select an order ->go to Invoices->view Does someone ...
Alex's user avatar
  • 3
0 votes
1 answer
366 views

Add sales_order column to sales_invoice_grid

I have a column in sales_order table. I want to show this column in all grids in admin side. I have already shown it in sales_order_gdir. But couldn't find it on sales_invoice grid, ...
Jasvir Singh's user avatar
2 votes
1 answer
103 views

What is the foreign key relationships in database to connect sales_order with each sale_order_Item?

Foreach customer, I need to retrieve every order. Foreach order, I need to retrieve each product item. The tables are sales_order and sale_order_Item, but I don't see a connection. How are these ...
Justin Collins's user avatar
0 votes
1 answer
233 views

How to open a invoice pdf in a new tab in Magento backend?

How to open an invoice pdf in a new tab in the Magento backend? How to see the preview of the invoice print in a new tab(target _blank) via the Magento invoice grid I have added the new column "...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
248 views

Magento2 : Display shipped items value in qty box

After submit shipment in admin and complete order, How to display shipped value in quantity box instead of total qty items like below I want like this
User0434's user avatar
  • 1,155
1 vote
1 answer
960 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
tanu's user avatar
  • 22
0 votes
1 answer
459 views

Item status in sales order view not showing backordered after invoice is created

When we receive an order containing an out of stock item (that's allowed to be backordered) it nicely shows "Backordered" at 'Item status' in the backend sales order view. magento item ...
Shaun's user avatar
  • 109
0 votes
1 answer
549 views

Magento 2.4 sales_order_invoice_grid populate custom column with values

I have added the column transaction_id to my sales_order_invoice_grid. Vendor\Module\etc\adminhtml\di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Th. Schott's user avatar
0 votes
1 answer
590 views

Display custom column in Invoice grid using join

I have custom moudule with custom table and tried to join it with invoice grid table to show it in invoice grid.But it is not working as it should.Here is what i have tried. adminhtml/di.xml <type ...
Zahirabbas's user avatar
  • 2,073
0 votes
3 answers
2k views

Magento 2 how to get order id on admin order invoice save?

How to get order id in invoice using plugin ? di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=&...
sumeet bajaj's user avatar
  • 1,306
1 vote
1 answer
658 views

How to get InvoiceId from sales_order_invoice_pay in magento 2

How to get invoiceId from sales_order_invoice_pay event. $invoice = $observer->getEvent()->getInvoice(); $invoice->getIncrementId(); Can't get with this code But with ...
fernandus's user avatar
  • 484
3 votes
1 answer
330 views

Display pie chart at order invoice grid

I want to display the pig chart on the invoice grid and the pie chart should be updated after applying the filer in the grid. Well, I am able to display the Pie chart on the sales order invoice grid ...
D Singh's user avatar
  • 1,144
1 vote
1 answer
364 views

Payment content showing with HTML tags on admin invoice pages

Magento 1 version : 1.9.4.0 Magento 2 version : 2.3.5 Fresh install of m2 Run migrate:settings Run migrate:data All data is migrated We migrated data successfully but getting issues of html tags on ...
sumeet bajaj's user avatar
  • 1,306
0 votes
0 answers
105 views

add a custom attributes to Payment method in order invoice detail page

Want to display custom attribute in payment method section of sales order invoice view
Vishal Vankar's user avatar
0 votes
0 answers
408 views

How to set custom invoice number

What I would like to achieve is to have the invoice number defined as so: YYYYMMDDD Where YYYY represents the current year, MM the current month and DDD the number that increments for each invoice. ...
Dim13i's user avatar
  • 141
0 votes
0 answers
169 views

Invoice Increment ID adjustment for API in Magento 2

I would like to change the increment_id for invoices. I tried this by running the following query: ALTER TABLE sequence_invoice_1 AUTO_INCREMENT = 504; This works for the invoice id but it does not ...
AntondeG's user avatar
2 votes
0 answers
141 views

Magento 2, How can I change the PDF Invoice Columns sort Order?

How I Can Change PDF Invoice Columns Order? I want the qty column should be the first column. see the image below
Ali Sultan Khan's user avatar
0 votes
3 answers
3k views

Magento 2. Sales -> Invoices - add custom column to grid (Override invoice grid collections)

I have added one column in my sales invoice grid. My custom column is in sales_invoice table. How can I override existing sales invoice grid and add my custom joint query. Thanks in advance
Sweety Masmiya's user avatar
0 votes
2 answers
405 views

How to add year in sales order and invoice number

I like to get current year in my order and invoice number. Now i'm getting order id example: "XX-000001" i need to get like "XX-190001" this (19) is current year that need to be change in dynamic. ...
Priya's user avatar
  • 589
0 votes
1 answer
624 views

How to add custom value prefix in order and invoice number

I like to add prefix in order and invoice number and next number should be in current year and last 4 digit is Increment number, this are all without extension. Example: 0001 to CCC-yy0001
Priya's user avatar
  • 589
1 vote
2 answers
2k views

Invalid Document Element 'total': Missing child element(s). Expected is one of ( title, title_source_field, font_size, amount_prefix ). in magento 2

open admin panel and go to sales->invoice and select invoice and download PDF this issue is generated. i have check network show 500 error it is a permission issue hello everyone plz give me a ...
Dushyant Kumar's user avatar
0 votes
1 answer
473 views

How to add attachment in invoice?

I have overrided Magento\Sales\Model\Order\Email\Sender\InvoiceSender and tried the below code to add the attachment $filename = 'e:\tushar\smtp_gmail.pdf'; $this->attachFile(file_get_contents($...
Tushar Ghadge's user avatar
2 votes
1 answer
84 views

magento 2 - multistore - single invoice system

I've just setup a working multistore website. If someone orders an item from the us-version of the website, #0000001 will be designated as the invoice number. But if someone else orders something ...
Ronald's user avatar
  • 21
1 vote
1 answer
144 views

Invoice Increment ID Change

I am trying to change my Invoice increment ID through MYSQL table Current Invoice ID is 000000002, I want to start next invoice Id from 200000001 So want to add "2" at the start of invoice ID, When ...
user3811063's user avatar
1 vote
1 answer
1k views

Magento 2 : How to get invoice pdf file through API

In magento2 frontend, Login customer can download particular invoice of order from My Account -> My Order -> Invoice Tab Same Functionality we are developing in android app so my questions is how to ...
Hiren's user avatar
  • 1,091
11 votes
5 answers
1k views

Product Image in invoice email template

I am trying to get product images for invoice email template. I used below code. But I am only getting Magento placeholder image in email template. <td> <?php $objectManager = \...
Priya's user avatar
  • 589
1 vote
1 answer
783 views

Event fire before save invoice in `sales_invoice` table

I want to save value in sales_invoice table of custom attribute ("current_seller_id"). i want to know any event that fire before save the invoice in sales_invoice table or use plugin of which method. ....
HaFiz Umer's user avatar
  • 1,660