Questions tagged [sales-invoice]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 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. ...
0
votes
0answers
25 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 ...
0
votes
0answers
29 views

Magento 1.9.0.1 sales_flat_invoice_grid missing rows

We are missing invoices in backend's invoice grid. I took a look to the database and it seems that the invoices are not in sales_flat_invoice_grid table. The invoices do appear in sales_flat_invoice ...
0
votes
0answers
28 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
0
votes
2answers
326 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
0
votes
2answers
46 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. ...
0
votes
1answer
76 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
1
vote
2answers
151 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 ...
0
votes
1answer
56 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($...
2
votes
1answer
34 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 ...
1
vote
1answer
21 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 ...
1
vote
1answer
377 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 ...
11
votes
4answers
328 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 = \...
1
vote
1answer
128 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. ....