Support

Home Forums Event Espresso Premium EE3 & VAT

EE3 & VAT

Posted: April 28, 2015 at 9:20 am


Matt

April 28, 2015 at 9:20 am

I am using EE3 and need to charge tax on future events.
I understand I can use the surcharge feature – but I would rather enter the full price and have VAT removed/shown, rather than have a surcharge.

Is this possible?


Josh

  • Support Staff

April 28, 2015 at 9:45 am

Yes. Many users of EE3 enter the full price (inclusive VAT) and itemise the VAT on the invoice using a little PHP calculation.

There’s an example in this other thread:

https://eventespresso.com/topic/how-to-modify-the-invoice/


Matt

April 30, 2015 at 4:17 am

That seems pretty complicated and drawn out?


Josh

  • Support Staff

April 30, 2015 at 10:30 am

Hi Matt,

EE4 has the tax features which means it has built in support for displaying taxes, whereas EE3 does not. If you want to use EE3 and display a VAT line, the thread I linked to is, as far as I know, the simplest approach.


Matt

May 1, 2015 at 2:11 am

Unfortunately EE4 doesn’t have the add-ons I need available yet.


Matt

May 5, 2015 at 9:12 am

Josh is it possible to preview the PDF invoice?
I’d like to see how VAT no. etc appear after inputting the information.


Matt

May 5, 2015 at 9:24 am

Also, will VAT appear on all invoices? Or just those issues after the code is changed?


Josh

  • Support Staff

May 5, 2015 at 9:27 am

You can download the PDFs from the admin’s Registrations screen by clicking on the pdf icon. This will allow you to preview any changes.


Matt

May 6, 2015 at 2:12 am

Thank you – I have now implemented the changes.
I have edited the invoice to show the VAT number, but VAT is not present on the PDFs.

Will it be present only on future transactions?


Josh

  • Support Staff

May 6, 2015 at 6:53 am

Hi Matt,

It should show up on existing transactions. Can you check to see if you modified a copy of the invoice where the copy is located? Its folder path location is important so that it can be read.

If it’s a copy, the copy needs to be uploaded to /wp-content/uploads/espresso/gateways/invoice along with copies of all the files from the /invoice folder.


Matt

May 6, 2015 at 7:14 am

I copied the folder to the /wp-content/uploads/espresso/gateways/invoice folder, then edited the templete.php file

But there is still no VAT showing.
Ideally I need to only show VAT from a certain date (01/05/2015).


Josh

  • Support Staff

May 6, 2015 at 8:48 am

Can you clarify the actual file path of where the files are now, and along with that, post a link to a pastebin of the template file here so we can investigate?


Matt

May 6, 2015 at 9:06 am

I managed to get it to display correctly now.
If there is a way to only show VAT on events purchased after a certain date that would be great.


Josh

  • Support Staff

May 6, 2015 at 2:29 pm

Hi Matt,

There’s a way to do a check against the payment date, which is in a variable in the template that’s named $payment_date. If that date is greater than or equal to the date you want to start including the VAT message, then display it.

A PHP developer on your team will be able to write the code that performs the check.

The support post ‘EE3 & VAT’ 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