Support

Home Forums Event Espresso Premium EE3 Invoice issue

EE3 Invoice issue

Posted: September 17, 2014 at 8:40 am


blue level

September 17, 2014 at 8:40 am

Hi when i checkout with more than one event at a time
the invoice calculates Vat incorrectly

is there a fix for this


Josh

  • Support Staff

September 17, 2014 at 2:20 pm

Hi there,

This is probably an issue with your code since the standard invoice doesn’t calculate VAT.


blue level

September 18, 2014 at 2:12 am

would this be an issue that you can look at the code used is the one you supplied from github


Josh

  • Support Staff

September 18, 2014 at 5:09 pm

Hi there,

There are a few gists getting passed around that work for specific solutions. I’m a bit in the dark with your particular issue since I don’t know what code you’re using, but you could try adding this to the current version’s standard invoice template *after* the code that prints the Total Due line:

$price_before_gst = $total_cost * .909090909;
$gst_total = $total_cost - $price_before_gst;
$pdf->Cell(180, 10, pdftext('*The total includes $' . number_format($gst_total,2, '.', '') . ' GST'), 0, 1, 'R'); // GST amount


			
		


blue level

September 23, 2014 at 3:25 am

The code mentiond above would work for all my items but i have one that has a flat rate of £16.60 and Vat would be calculated incorrectly


Josh

  • Support Staff

September 23, 2014 at 9:17 am

Hi there,

You can add a script that recalculates this conditionally for your one event, or contract with a developer who can make this happen according to your specifications. Here’s a list of developers we can recommend:

https://eventespresso.com/developers/event-espresso-pros/

The support post ‘EE3 Invoice issue’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso