Posted: April 22, 2015 at 11:36 am
|
Hi, I need to modify the invoice to instead state receipt as in Sweden, an invoice is for something that you send and the customer can pay after the number of days you let them. As a receipt is more equal to be given to the customer when they have paid directly, which they in my case will do directly after registration via PayPal. I also need to add information like VAT number (Value Added Tax) and my company’s business number in order to be compliant with the Swedish tax laws. Where and how do I do this? I am running EE3. Thank you very much for a urgent reply as I must launch my site in a couple of days… Regards, |
Hi Andreas, You can modify the title of the Invoice and add your VAT info by going into Event Espresso > Payment Settings, then activate Invoice Payment Settings. There you’ll see over to the right side PDF Settings, where you can change the PDF Title and add your VAT info to the Invoice Instructions. You’ll like want to set Show as an option on the payment page? to no since you’re sending the link to download the receipt in a notification after they pay with PayPal. |
|
|
Hi Josh! Thank you so much for your reply! For the tickets that I am selling, there is a 25% tax on the net total. Total to pay: $125 This is so important that it is there as the Swedish TAX authority demands it. Appreciate a urgent reply as I must go live with my site and sell tickets today Friday (or at least Saturday). Thank you in advance! Regards, |
Hi Andreas, Adding a tax amount will require going in and adding some PHP to the invoice template. Are you or is someone on your team familiar with PHP programming? |
|
|
Hi Josh, I am a little bit familiar with PHP programming. |
|
What PHP file should I edit? |
|
Anyone who can help me out and/or give me directions? //Andreas |
Hi Andreas, With EE3 you copy the invoice gateway (which contains the invoice template) to wp-content and modify the invoice template there. There, you can add some PHP code to display the VAT tax. One approach that works well is price the ticket out at $125.00, then in the template you can break out the VAT and display the inclusive VAT amount with this code:
|
|
|
I need to show VAT at 20%, can you help me with what the code would be? Also, within the template.php file in the invoice directory, where do I add the code? Is there a particular line? |
Hi Matt, The code is the same as above, with one change for the percent:
One good place to put the code is right after line 200 in the template file. This will display the VAT amount right after the total on the invoice. |
|
The support post ‘How to modify the Invoice’ 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.