We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [create-invoice]

The tag has no usage guidance.

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

Magento 2: How to get product id from order invoice?

i am trying to overwrite invoice tax model, and I want to get the product id. for the invoice item. But it returns the parent product id if purchased product is a configurable product. file \Magento\...
3
votes
0answers
33 views

Magento 2 admin in invoice total section grand total not get reduced

When creating an invoice for the order from Magento 2 admin panel, the grand total not get reduced with my store credit value.
1
vote
0answers
26 views

How can I send invoice email via api?

I have an order id. On basis of that I need to send the already created invoice to the customer.
2
votes
2answers
504 views

Order Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2

Shipment completed and generate invoice but order status showing Processing and invoice is in pending. Also invoice showing a Capture button. why? Anyone Know?
1
vote
0answers
59 views

cant make pdf invoice when in production mode

When in development mode I can create pdf invoices just fine but when in production mode I get an error. Under sales > Invoices I'm clicking the "Print" button to get a pdf of a invoice (see link) ...
3
votes
1answer
90 views

Backend fatal error when making a invoice

Now that the web store is almost ready, I am investigating how the processing of orders goes. When I go to sales - orders - promotion - view, I come to the order. Then I go to invoice (at the top of ...
1
vote
0answers
29 views

Magento 2.1 Multistore - Invoice not created

I have 5 stores (5 domains) running on magento 2.1 The last store I created doesn't create invoice after an order is completed because of that the order confirmation email isn't sent to the customer. ...
1
vote
1answer
257 views

Magento 2 - Get Invoice data using observer

I am trying to know if create shipment option is selected from admin while creating invoice from admin by creating an observer. I have tried sales_order_invoice_register ...
1
vote
1answer
20 views

customise the invoice save option

I want to allow the invoice save action once the order is in processing state for this i have to add some logics inside the Magento\Sales\Controller\Adminhtml\Order\Invoice save file. please advice me
1
vote
1answer
83 views

Event for before invoice creation magento 2

Do we have any event for invoice before create? When we click on invoice and about to submit the form , do we have any event there? Want to do some modification before creating invoice.
0
votes
1answer
290 views

how to add footer on invoice pdf magento 2

I am using magento 2.1. I want to add some "term & condition" at the bottom of customer invoice. How can I add a Custom footer on PDF invoice that is generated in Magento2? Can anyone explain me ...
0
votes
0answers
22 views

Magento 1.8 Flat table disable after invoice not creating

Issue: Invoice not created. Note: Flat tables activated. Problem disappears when Flat tables are disabled.
0
votes
0answers
23 views

How can we retain the invoice number same as previous when we update order details in magento?

We have Magento 2.2.6 version and installed mageworx order edit extension on top of it. We are trying to implement the logic to retain invoice number even if we update the order details.
9
votes
1answer
138 views

Does magento 2 support invoicing based on amount?

I'd like the ability to create (and capture) an invoice based on a dollar amount rather than a quantity of items. We are currently using the endpoint /V1/order/{orderId}/invoice to create invoices ...
0
votes
1answer
746 views

Magento 2 - Changing the packing slip pdf print out layout

I am trying to edit the template of packing slip pdf print file. Basically the part that I am interested is the height of product description area. I traced back the parts that create font size or ...
0
votes
1answer
97 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
313 views

Magento 2 add prefix in Invoice number

I want to add a prefix like "abc-" in invoice number. (not in order number) For this, I found, Magento module: module-sales-sequence File: /vendor/magento/module-sales-sequence/Model/Sequence.php ...
0
votes
1answer
401 views

Magento 1.9.2 coupon( discount) not appearing while creating invoice

We are currently using magento 1.9.2 and facing some issue, discount is not showing on invoice. Neither on invoice pdf nor on invoice page. This issue only appear if order is created from magento ...
1
vote
0answers
414 views

Magento 2 - Plugin for invoice creation after its saved

I am trying to find the correct method to create the afterPlugin for. I need to collect and send the invoice data after it is created and saved, I tried with both afterRegister and afterPay but both ...
0
votes
1answer
197 views

add cash on delivery fee to the PDF invoice magento 1.9

I have enabled Cash on Delivery with a new extension. but the Fee doesn't show on the PDF invoice. how can I make it shown on it? Magento 1.9 I have added new extension for the COD because the ...
1
vote
0answers
27 views

How to add a “CRM invoice” custom attribute into the invoice page in Magento Sales section? [duplicate]

I want to make a plugin or a functionality that is adding to the invoice section(after pushing the button Invoice from an Order) that it allows me to add a CRM invoice ID. The attribute has to be ...
0
votes
1answer
204 views

What stage does magento exactly send the “email copy of invoice”?

I would like to know at what stage in the invoicing process of magento does it send the the invoice email that it sends when you click the "email copy of invoice "? and hit "submit invoice"? I have ...
1
vote
1answer
496 views

How to add additional text to invoice

I'm currently working on magento 1.9 and wanted to add some additional text to invoice when we print in from admin panel like this : As you can see above red numbers are the additional text for the ...
0
votes
0answers
157 views

Print invoice format is not proper in customer dashboard Magento ver. 1.9.2.1

I am getting below format of invoice , when customer Print there invoice form there Dashboard. Which files are responsible for the same. I replaced sales folder under /app/design/frontend/base/...
0
votes
3answers
189 views

Call Customer Group ID for invoice PDF

I am trying to create a note on a PDF invoice which is only shown for a specific customer group. I use Magento 1.9.2.4 with the Firegento PDF Extension. My code so far is: public function ...
1
vote
1answer
355 views

Problem No#1 solved of Invoice, but how to solve problem#2 [closed]

My first problem regarding the invoice is solved when I used DejaVuSans.ttf font instead of Magento default font that removes the boxes that are hiding the Rupee Signs. My new problem is, the SKU ...
3
votes
1answer
887 views

Create invoice again which was deleted programmatically

I had deleted an invoice programmatically by using the following code: $invoice = Mage::getModel('sales/order_invoice')->load(97); $invoice->delete(); Now I need Invoice Button to invoice ...
2
votes
1answer
414 views

Overrite template “sales/order/invoice/create/items.phtml”

I want to overwrite template file sales/order/invoice/create/items.phtml which is define in sales.xml like below : <adminhtml_sales_order_invoice_new> <reference name="content"> ...
0
votes
1answer
74 views

Class in observer is not triggered but the file runs (sales_order_invoice_save_after)

I'm having a problem in a Magento Module. I'm trying to modify a module to add an observer that will do stuf only after the invoice is created and the order is paid (sales_order_invoice_save_after), ...
0
votes
1answer
741 views

Magento invoice custom text not aligning

Hi guys I am attempting to edit the invoices of magento but I cannot get my custom text to align with the totals on the right. I would like the headings 'important' and 'Pay us by bacs' to be inline ...
0
votes
1answer
272 views

Issue with setting fields in payload for POST “/v1/invoices” api

I have a query regarding following Magento2 API POST "V1/invoices" with payload { "entity": { "base_discount_tax_compensation_amount": null, "...
1
vote
0answers
156 views

Creating invoice backend works but gives blank screen Magento 1.7

Every time I create an Invoice from Sales Order it gives me Blank screen (see attached) even though it's blank screen the invoice was created but not visible. What is the solution for this?
0
votes
2answers
252 views

Submit Invoice and Submit Shipment issues

I have 2 Magento stores on the same server, Ubuntu, on AWS. The system runs with Nginx and PHP-FPM. One of the shops have a problem in creating invoices. Every time I click Submit Invoice or Submit ...
0
votes
1answer
217 views

Loop script for invoice creation

Recently I have migrated our website. I have imported the orders however they all by default were changed to complete and no invoice was created. The main problem is that it works great with one ...
1
vote
1answer
496 views

Invoices are marked paid for bank transfer payment automatically

I have stackoverflowed, googled etc but couldn't find the answer. I want to understand the logic behind the bank transfer payment method and invoice. When we create invoices for orders that have ...
0
votes
1answer
1k views

Order creation with no invoice

Using Magento 1.8.1.0 Occasionally an order is produced (which has successfully been paid for) but the corresponding invoice is not produced. This has happened a few times, but only occasionally. ...
0
votes
1answer
525 views

How create all suborder invoice from order

I need to create all suborder invoice of an order in magento. i used this code but my amount is coming 0 . $order = Mage::getModel('sales/order')->loadByIncrementId(100000067); $items = $order->...
0
votes
0answers
356 views

Magento Print Invoice fatal error

When we try to print an invoice from the Magento admin panel, we get this error message: Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with ...
1
vote
1answer
2k views

Magento PDF Invoice Format How to Change Grand Total Text font size

I am running magento 1.7 i have need to change invoice grand total font size its very small so i want to increase with custom word (Example: COD $100) i am using cash on delivery so some time ...
1
vote
1answer
875 views

Create invoice programmatically with custom date

I had some problems with a payment module and some invoices were not created. But I'm generating the invoices need to create programmatically and the same with the dates of the requests not to lose ...
1
vote
1answer
365 views

Automatically partially invoice when shipped

I need to invoice my order automatically whenever shipment is done, but if say I ship only one item of multiple items order then invoice should also be created for only that item not for all. I am ...
1
vote
0answers
87 views

Is there a module to split payment methods [closed]

I'm trying to see if a module or any code exists to allow a customer to pay with more than one method. Or any other way to do this. Ideally these cases would work: Lets say they want to pay x on ...
2
votes
1answer
757 views

How to get multiple stores to share invoices numbers

I'm new to this posting business so please be patient. I have 6 stores set up in magento 1.9 representing the 6 different departments of the charity, they have individual order number prefixes, ...
0
votes
1answer
136 views

Invoice Design - How to? [closed]

I'm living in Turkey and our legal systems are sucks. Maybe some of you heard of it. Anyway. I have to edit magento's standard invoice template to this; How can i do this? When it comes invoices, ...
2
votes
1answer
433 views

Shipment / tracking creation slow in admin

We have a problem with creating shipments in magento. It's taking over a minute to create a shipment and e-mail the customer. The problem started two weeks ago, and I have checked the logs and ...