Support

Home Forums Event Espresso Premium Invoice Issues (2)

Invoice Issues (2)

Posted: January 13, 2015 at 12:21 pm

Viewing 3 reply threads


Ivis Davila-Paz

January 13, 2015 at 12:21 pm

Good afternoon,

We are confronting problems with the Invoice generated by EE3. It does not include the 7% tax charged, nor special clause for Gov.Corporations. It also does not include the date of the purchase. All this info is necessary for financial records and annual audit process, for both ourselves and our clients.
Please, help. Thanks.


Tony

  • Support Staff

January 15, 2015 at 5:52 am

Hi Ivis,

Some of this is due to limitation with how EE3 stores the pricing info for the attendee which we have improved dramatically with EE4.

If the 7% surcharge is applied to all of your pricing we can provide a snippet of code to calculate the price before tax which can then be displayed within the the invoice.

I’m not sure what ‘special clause for Gov.Corporations’ means can you explain this a little further please?


Ivis Davila-Paz

January 21, 2015 at 12:22 pm

Thank you Tony. The Gov clause has been resolved.

Could you facilitate the “snippet of code” to our corporate email *REMOVED* so we can FWD to our webmaster?

To make the issue clear. The invoice must display the price payed by member (with 7% tax included). All invoices must have it by default.

Any guidelines on how to apply this code are more than welcome too.

Thank you.

  • This reply was modified 9 years, 10 months ago by Tony. Reason: Removed email address


Tony

  • Support Staff

January 26, 2015 at 7:16 am

To make the issue clear. The invoice must display the price payed by member (with 7% tax included). All invoices must have it by default.

Do you need to display the price before and after tax?

Have you set the default surcharge within Event Espresso -> General Settings – http://take.ms/4b4hp

And also input the price (excluding tax) within the tickets? Checking that the 7% surcharge is also set – http://take.ms/YgnPI

Doing so will show the price of the ticket (so 200 for this example) + the surcharge percentage on the registration page – http://take.ms/0UP6G

The invoice would show the full amount of the ticket (including tax) – http://take.ms/bxSaL

To show you a breakdown of both before and after tax on the invoice you can copy the Invoice gateway within:

wp-content/plugins/event-espresso/gateways/

Within there will be an ‘Invoice’ directory, copy that to:

wp-content/uploads/espresso/gateways/

Then in that location add this function to function.pdf.php within the Espresso_PDF class:

https://gist.github.com/Pebblo/48b2ce8b15b898a2611f

For example, you could place that function after the closing bracket } on line 95… like so – http://take.ms/FYCtr

Then in template.php place these two lines:

https://gist.github.com/Pebblo/3477fb76d952684fe239

Where you would like to display the tax amount and price before tax, for example just after line 186. Although this depends on how you would like to display the info.

This would look something like – http://take.ms/xSFLW

To note this will not work correctly with MER registrations.

Does that help?

Viewing 3 reply threads

The support post ‘Invoice Issues (2)’ 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