Questions tagged [sales-invoice]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
18 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
22 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
0
votes
0answers
21 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
27 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
24 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
18 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
83 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 ...
0
votes
0answers
17 views

How can I create invoice partially?

I need to create partially invoice for an order. Explanation Suppose there's an order with amount 1000 USD. Customer paid 200 USD for this order. How can I generate invoice for 200 USD ? Same ...
11
votes
4answers
266 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
71 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. ....