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
0answers
7 views

$invoice->cancel() not working

I have added a mass action for invoice cancellation in Sales->Invoices grid. Here is the controller file for the action: <?php namespace Vendor\MassActionCancel\Controller\Adminhtml\Invoice; ...
0
votes
0answers
24 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
12 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
20 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
23 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
12 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
35 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
34 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
29 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
97 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
12 views

How can I remove the tax from my invoice mail?

I would like to remove this line over here (TAX/BTW): https://i.gyazo.com/9789904e7183b8dcfcef6d9fe7e536e3.png So that it would look like this: https://i.gyazo.com/f659e566b03365a07d671bb0bd4f2f56....
0
votes
0answers
10 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
0answers
29 views

How to set 'Total Paid' and create one closed transaction without creating blank invoice in Magento CE 2?

I would like to set 'Total Paid' of order with certain value, which may be slightly higher than the total amount of the order, and create a closed captured transaction (payment) with the paid amount ...
0
votes
2answers
31 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->...
0
votes
0answers
46 views

Magento 2 Invoice created programmatically not showing in grid

I have created invoice programatically it is showing on customer order and also capturing transaction but still it is not showing in invoice grid as well as in the list of invoice on order ...
2
votes
1answer
38 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
17 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
54 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
83 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!
0
votes
0answers
19 views

partially create invoice and refund not working proper in magento 2.2.2

my invoice shows OK. but credit memo total different from invoice what was wrong with this? My code for invoice refund $this->invoiceRefunder->execute($invoice->getId(),[],true);
2
votes
0answers
27 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
62 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
76 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
18 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 ...
2
votes
0answers
45 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
92 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
18 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
15 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
31 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
30 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
71 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
23 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
73 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 ...
1
vote
2answers
411 views

Magento 2 | How can I get the invoice pdf programatically?

I'm currently creating a module which should send the invoice pdf via eMail to a customer. How can I get the invoice pdf programatically? Thanks for any help!
0
votes
0answers
35 views

Magento 2 how to add extra column (weight) in order,invoice,pdf,creditmemo

Magento 2 how to add extra column (e.g. weight) in order,invoice,pdf,creditmemo grids and view pages and also how to add extra column for custom attribute (e.g. length) in order,invoice,pdf,...
1
vote
3answers
383 views

Magento 2, add `company's name` in invoice PDF file?

Using Magento 2.2, Invoice, PDF. I want to add new text block into pdf invoice. What do I need to do? Printed Order Invoice
0
votes
0answers
28 views

How to add custom state for invoice in magento 1.9?

I have developed a payment gateway module in Magento 1.9. I would like to use another state for an invoice instead of "paid", "pending" and "cancelled". How can I add a custom state to an invoice? Any ...
0
votes
2answers
290 views

Load invoice by invoce id and invoice increment id

I have an invoice id or invoice increment id data, is there a way to load invoice using these?
0
votes
1answer
33 views

Magento 2 Canceled Invoiced Order

I am unable to cancel an order which is already invoiced. I need to cancel the order and also void the transaction at Braintree payment gateway. How to do that?
0
votes
1answer
25 views

Mass creation of invoice in magento 1.9

I am trying to add a mass action of creating the invoice, in my Magento store, which has been built with Magento - 1.9. The code files are as below. But when I select the orders and click on the '...
1
vote
0answers
70 views

Magento 2: PDF set page margins for Invoice

I added a footer to my invoices, this works fine. private function _insertFooter($page) { $this->_setFontRegular($page, 8); $this->y = 100; $page->drawLine(25, $this->y, 570,...
0
votes
0answers
69 views

export all the invoice with it transaction id and payment method

I want to export all the invoices with its transaction id and payment method. I have attached image above for reference so which table should be inner join in order to display in admin panel grid. ...
0
votes
1answer
202 views

how to fetch order number, payment method and customer name according to invoice number in admin panel grid?

I`m fetching invoice collection using Mage::getModel('sales/order_invoice')->getCollection(); but I also want Order number, payment method and customer name according to the invoice number. How to ...
0
votes
0answers
11 views

How to create a Magento 1.9 invoice with the same number as the order

I need to re-create some historic invoices for orders that exist. Ideally I need the invoice number to exactly match the order. If I pass my order to the function below , it creates it using the ...
0
votes
1answer
116 views

Magento 2 : How to add horizontal lines to separate the line items in sales invoice PDF ?

I am trying to add horizontal lines after each line item in invoice PDF. How to add it? I have done some work around so found two files: /app/code/Magento/Sales/Model/Order/Pdf/Items/Invoice/...