Questions tagged [create-invoice]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
82 views

Magento 2 : How to Fix Error total_invoiced_amount Value is bad when create a invoice

In my invoice, I am having problems with a grand total(base) that is always 2 euros for order so the total billed amount of 2 will be subject to tax and shipping. With an error on the at page ...
BenjaminVu's user avatar
1 vote
1 answer
770 views

How to override .phtml files in Magento 2.4

I want to customize the Invoice page, so I override .phtml file in: vendor\magento\module-sales\view\adminhtml\templates\order\invoice\create\items.phtml I tried to create many files but failed: ...
Steven Nguyen's user avatar
1 vote
0 answers
99 views

Magento 1: What is the function "$invoice->register()" for?

I try to generate invoices programmatically in Magento 1.9.4. It works so far with this code: $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice(); if (!$invoice->...
Mario's user avatar
  • 453
0 votes
2 answers
1k views

Magento 2 - How to create invoice using custom rest API?

I am trying to create invoice using customer token. But getting following error. No such entity with orderId = 31 This error is generated after execution of following code. $transactionSave = $this-...
piyush_systematix's user avatar
3 votes
0 answers
218 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.
Arul's user avatar
  • 309
3 votes
2 answers
527 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.
Julio's user avatar
  • 31
3 votes
1 answer
489 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 ...
Ton Geurts's user avatar
1 vote
1 answer
2k 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 ...
Melvin's user avatar
  • 43
1 vote
1 answer
931 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.
Daniel_12's user avatar
  • 670
1 vote
1 answer
87 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
Thilagavathy Rathinavelu's user avatar
2 votes
2 answers
2k 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?
Jugal Kishor's user avatar
  • 1,225
1 vote
1 answer
1k 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 ...
kiran's user avatar
  • 527
0 votes
0 answers
28 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.
mat's user avatar
  • 11
10 votes
1 answer
308 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 ...
Justin Rhyne's user avatar
0 votes
1 answer
2k 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 ...
Korbin's user avatar
  • 298
0 votes
1 answer
233 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 '...
Akshay Vasu's user avatar
1 vote
0 answers
424 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 ...
Jigar Dhaduk's user avatar
0 votes
1 answer
671 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 ...
Piyush Sharma's user avatar
2 votes
0 answers
768 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 ...
Sherbieny's user avatar
0 votes
1 answer
270 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 ...
muzramn's user avatar
  • 87
1 vote
0 answers
76 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) ...
Mike's user avatar
  • 21
1 vote
0 answers
41 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. ...
SYA's user avatar
  • 11
1 vote
0 answers
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 ...
andy1786's user avatar
  • 105
0 votes
1 answer
307 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 ...
Vaishal Patel's user avatar
1 vote
1 answer
724 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 ...
Gujarat Santana's user avatar
0 votes
1 answer
2k 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\...
Nitin Pawar's user avatar
  • 1,526
0 votes
0 answers
208 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/...
inrsaurabh's user avatar
  • 1,676
0 votes
3 answers
219 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 ...
McZoid's user avatar
  • 1
1 vote
1 answer
553 views

In invoice the contents are not aligned [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 ...
Salman Dalal's user avatar
2 votes
1 answer
459 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"> ...
Krupali's user avatar
  • 1,140
0 votes
1 answer
92 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), ...
Goncalo's user avatar
0 votes
1 answer
1k 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 ...
Vaishal Patel's user avatar
0 votes
1 answer
389 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, "...
Ruby Kumari's user avatar
1 vote
0 answers
187 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?
KiD Cajes's user avatar
  • 375
0 votes
1 answer
316 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 ...
pasujemito's user avatar
1 vote
1 answer
726 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 ...
Adarsh Khatri's user avatar
0 votes
1 answer
738 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->...
Deepak Rai's user avatar
  • 1,145
0 votes
0 answers
364 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 ...
Rat's user avatar
  • 834
1 vote
1 answer
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 ...
M.rk's user avatar
  • 13
1 vote
1 answer
1k 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 ...
Denis Spalenza's user avatar
0 votes
1 answer
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. ...
Atomic's user avatar
  • 149
1 vote
1 answer
566 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 ...
Inder 's user avatar
  • 35
1 vote
0 answers
97 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 ...
CD Brian's user avatar
  • 169
2 votes
1 answer
896 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, ...
Daniel Tyas's user avatar
2 votes
1 answer
538 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 ...
The Tankgirl's user avatar
0 votes
1 answer
151 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, ...
Solemtech's user avatar
  • 334
0 votes
2 answers
297 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 ...
luiza's user avatar
  • 342
3 votes
1 answer
1k 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 ...
Pradeep Sanku's user avatar