Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [invoice]

Magento payment invoice generated as a confirmation of payment receipt

0
votes
1answer
20 views

What is different between subtotal and subtotal_invoiced

sometimes I see in sales_flat_orders table that an order have subtotal but haven't subtotal_invoiced. What is different between them? subtotal subtotal_invoiced grand_total total_invoiced ...
3
votes
1answer
19 views

Attach invoice pdf to custom e-mail in magento 2

I created a custom email and it's working fine like this: $data['amount'] = round($amount); $data['customer_name'] = $customer->getFirstname() . ' ' . $customer->getLastname(); $...
1
vote
0answers
30 views

Magento 1: Add custom attribute in transactional e-mail

In transactional mail, I need to add a custom attribute. I modified the below files app/design/frontend/base/default/template/email/order/items/order/default.phtml app/design/frontend/base/default/...
1
vote
0answers
16 views

Magento 2 - Invoice without collecting shipping cost

Is there a way to create a partial invoice without collecting the shipping cost? For example, if I have an order with a virtual product and a shipped product, I want to be able to invoice the virtual ...
0
votes
2answers
45 views

How to get Invoice collection magento 2?

i want to get all invoice collection? Here below is my code but not working class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\Framework\Module\Manager ...
2
votes
1answer
22 views

Magento 1.9 - Change Tax in created invoice

Unfortunately somebody changed the tax class for many of our products. We needed 2 weeks to recognize that. Now I got 150 orders with wrong tax. I need to fix that and resend all invoices to the ...
0
votes
0answers
23 views

Magento 2 : How to add serial number when we shipped product

Any options to add the serial number when we shipped product. Please help to create a module to add the serial number in the product in Magento 2. I want to add a serial number like this image
6
votes
1answer
41 views

Invoice PDF layout not showing proper Magento 2

There are more than 15 custom option for my each product. When I print the PDF for invoice or order then it does not showing properly. Please check the attached screenshot. Have you guys any idea how ...
0
votes
0answers
7 views

Magento2 Syncing Invoice Numbers via FTP from Fulfillment Software to Magento

So, we have data that can be automatically uploaded from FTP from our fulfillment software. While those invoices increase by increments of 1, i.e. 1001,1002,1003, the fulfillment software is receiving ...
0
votes
1answer
21 views

get invoice item using order_item_id in magento 2

I want invoice item data using order_item_id and I tried using use Magento\Sales\Api\InvoiceItemRepositoryInterface; private function getInvoiceItemById($orderItemId) { return $this->...
0
votes
2answers
21 views

How to get all Invoices of logged in customers in magento 2.1

I want to display the list of invoices of logged in customer in the frontend.
0
votes
1answer
12 views

How to customise order state after generating invoice in Magento2

I'm want to change the order state processing to newly creates order state, when invoice is created for a order. I want to do this programatically. Anyone help me with this.
0
votes
0answers
6 views

Some invoices not showing on grid and email not sent, but row are created in DB

We have been having this occasional issue, for some orders, the payment is processed (by any of our methods), the sales_flat_invoice_* records are created for the invoice, the items and the grid. But ...
0
votes
0answers
20 views

currency symbol not showing in pdf invoice (Magento 2.2)

The currency symbol isn't showing. how can i resolve this issues
1
vote
0answers
17 views

how to whether item refunded or not through invoice level in magento 2

I want to know whether a specific item is refunded or not from invoice level.
0
votes
0answers
21 views

Hi I want to refund partially through invoices - Programmatically Magento 2

I want to refund the amount using invoices which are having multiple invoices. for example Invoice 1 - 480.00 (captured) Invoice 2 - 240.00 (captured) Now Product 1 - 120.00 x 4 (ordered qty = 4) Now ...
0
votes
1answer
28 views

How can I get the value of the selected filter in Magento 1.9 Grid and use it in another filter?

I need to get the filter value for a column and use it to further filter the results of another column, for example, country and states. How can I do this? _prepareCollection: $collection-&...
0
votes
0answers
65 views

How to edit Magento2 Invoice template

I need to edit the Pdf Invoice template in order to: remove tax column make products attributes (size and color) in same line I want to make it: Product name Color: white , Size: 2 instead of ...
0
votes
0answers
16 views

Magento2: Can I charge orders by order currency & use that for invoices/creditmemos as well?

I'm using a custom payment gateway module & I noticed that it's always using the base currency (event when my store has multiple currencies & I picked a different one from the switcher). On ...
0
votes
0answers
69 views

In Magento 2 how to add custom attributes to the Invoice PDF

I want to get Custom attribute in the print invoice PDF. I Follow this URL For the get custom URL. It is working when i changed in vendor file. Now I want to override Model file. Pdf\...
0
votes
0answers
28 views

Bulk invoice / collective order in magento

Is there anything like a collective invoice in magento? That means that I can group multiple orders of one customer into a single invoice. It would be enough if it's only the pdf file - one sum at ...
0
votes
0answers
17 views

External invoice system for invoice

We have an external billing system that generates order invoices. We are building a connector to send the invoice from the billing software to Magento. What is the best choice for a framework to ...
0
votes
0answers
16 views

Is there a short method to achieve the Box login in Magento 2

I am Working with a Box functionality in Magento 2.2.0, I have worked with front end flow with each module but when it comes to backend its getting bigger is there a short way to achieve. Since I am ...
2
votes
1answer
42 views

How to show custom Attribute in items invoiced below the SKU in magento2.2.0?

I want to show Custom Attribute in items invoiced below the SKU in magento2.2.0? Please refer below screenshot.
0
votes
3answers
68 views

How to get the product image in invoice email template?

I have succeeded in getting the product image in the new order email template (<Vendor>/<Theme>/Magento_Sales/templates/email/items/order/default.phtml) using the following: <img src="&...
1
vote
0answers
32 views

On invoice creation sales_invoice table transaction_id column is null even if the payment done is online

I have gone through all the related questions to my queries but not able to figure out the issue I am facing, actually what I am facing here is my few orders are having transaction_id null and because ...
1
vote
1answer
25 views

How to download Invoice without login Magento Admin?

I need to get invoice without login Magento admin, is it possible using any CRM or API Services?
3
votes
1answer
233 views

Observer for invoice creation after it is saved

I have tried the following events for invoice creation observer: sales_order_invoice_save_after sales_order_invoice_pay sales_order_invoice_register ...
0
votes
0answers
11 views

While creating an invoice throwing “Sorry, but something went wrong” error in Magento 2.1

I am unable to find solution that while creating an invoice from admin after a hit "Submit Invoice" the below error is throwing "Sorry, but something went wrong". How to figure it? Can anyone please ...
0
votes
2answers
88 views

In Magento 2 how do i get the order number from the invoice collection factory

I manage to get the order id but not the order number $invoicesCollection = $this->_invoiceCollectionFactory->create()->addFieldToSelect(array('*')); $invoices = $invoicesCollection->...
2
votes
1answer
46 views

Magento 2 Hide Billing Address from Invoice email and print

I get some unique case that force me to hide billing address on the invoice print and invoice email in the magento 2. may I know, how to do that ? any help will be appreciated
0
votes
0answers
20 views

How to show grandTotal inclusive tax and exclusive tax in response of /V1/invoices/:invoiceid in Magento-2.1?

I have already set the tax setting in Magento-2.1 admin. When I create invoice it show all details in admin is like as screenshot: https://i.stack.imgur.com/kyLEm.png Grand Total (Excl.Tax),Grand ...
1
vote
2answers
100 views

Custom Invoice PDF

I'm trying to customize the PDF exported by Magento 2 but getting some issues: etc/di.xml <preference for="Magento\Sales\Model\Order\Pdf\AbstractPdf" type="Vendor\Module\Model\...
1
vote
0answers
149 views

Magento 2 - Insert Customer Vat Number in Invoice PDF

My customer would like to deliver a complete PDF Invoice according to italian law. In every invoice should be indicated the customer's vat number. Where and how can i insert this variable?
1
vote
0answers
24 views

Invoice: How to highlight quantity > 2 items?

how can I draw a red circle (for example) on items with more than 1 quantity? Many Thanks!
2
votes
0answers
41 views

partially refund not working proper

i have try to refund invoice in following code $invoice = $this->_invoiceService ->prepareInvoice($order_refund,$itemsArray); $invoice ->setRequestedCaptureCase ...
2
votes
2answers
106 views

M2: How to add store address to transactional email / invoice email?

In M1, our invoice email templates contained the store address: {{config path='general/store_information/address'}} In M2, this does not work, because store information / address is split into ...
3
votes
1answer
105 views

Error programmatically rendering an invoice PDF

The error: Invalid template file: 'Magento_Payment::info/pdf/default.phtml' in module: 'Magento_Payment' block's name: 'info\instructions_0' The class: <?php namespace Vendor\PDF\Response\...
0
votes
0answers
27 views

All sales emails got same template. Magento 2

Problem look like title, when i change order status i always is sended same maile (default order item) when its need to send invoice or shipping mail. Is anyone know where i can check how is template ...
0
votes
1answer
21 views

How to export openERP invoices to Magento?

I successfully connected openERP to Magento. Now I am getting all the orders in openERP as sales orders, which we added in Mageno. Now I created invoices for that orders but how to export that ...
1
vote
0answers
15 views

Customer credit account

pretty new to magento 2, but Is it possible to set up a credit account in magento 2? So a customer can purchase items (up to a limit) and then get invoiced at the end of the month. Another option ...
3
votes
1answer
85 views

Error attach pdf to invoce e-mail

I tried to send an invoice email from frontend with pdf attached, by extending InvoiceSender like this: namespace Namespage\Module\Model\Plugin\Order; use Magento\Sales\Model\Order\Invoice; use ...
1
vote
1answer
140 views

Delete all order,invoice,credit memo, and shipment in magento 2

How to delete all magento 2 order, invoice, shipment, and credit memo, and reset the increment_id too using php code?
1
vote
0answers
20 views

Regarding Virtual order status

After creating the Virtual product order invoice order status is changing in to complete but I want to set virtual order status to processing I am using Magento 2.2.2 version. Please let me know ...
0
votes
0answers
17 views

How can I customise the comparison PDF of Magento 2.1 PDF invoice layout

How can I customise the comparison PDF of Magento 2.1 PDF invoice layout? I want to change the content of comparaison pdf (format) in magento 2.1 I want to remove header and footer section from pdf ...
2
votes
1answer
34 views

Customer Invoice

I have a client that wants line numbers added to each item in an outfit invoice. I cannot find any obvious ways to do this in the template files as the items are called in the Magento_Sales::email/...
0
votes
0answers
39 views

Magento 2 Invoice numbers issue

I'm running Magento 2.2.3 and currently having this issue: where a customer places an order on my site and is brought to PayPal to complete the payment process, somehow the invoice number is CHANGED ...
1
vote
1answer
108 views

How to add invoice pdf as a custom column? [closed]

I want to add custom column in pdf magento how i can add? And where the location to add custom column?
0
votes
1answer
27 views

Grid invoices by order status

I've created a grid to list the invoices in my store and make decisions from it, but there are some invoices that the order that generated it is with status canceled or delivered. I need to list only ...
1
vote
0answers
88 views

Loop through order collection and send email invoice

I try to loop through my order collection to make invoice order and send invoice email programmatically,all the invoice were created successfully, but only the invoice email from last order in loop ...