Tags/topics: 
1
Answers
Vote up!
1
Vote down!

Problem adding VAT to Commerce Billy PDF invoice

When setting up tax for certain product types on my website the only way I could figure out how to add tax to some and not to others was through using Rules.

Now my issue is that I want to show the price without tax on the PDF invoice, then the 20% and then underneath the total with VAT.

But in my view for the PDF invoice I only seem to have access to the price after the price change is done by Rules Module.

Please say if you do not understand what I mean by this.

I need to use the price prior to this change in the line item view that commerce billy utilises but then I also need a total VAT on the invoice.

Hope someone could assist me in any way possible hear, thanks

Asked by: Joeuk
on October 31, 2014

1 Answer

Vote up!
0
Vote down!

I figured this out.

What I had to do was change the settings in my Rule that adds the tax to certain products, from base price to VAT.

But first I had to re-enable the commerce TAX module and create a TAX called VAT, but set it at 0%. Otherwise it would add a TAX on everything in the shop.

So then in the RULE that adds tax to certain product types, I changed it from base price component to VAT component. This then automatically made it show up how I wanted it in my Billy Invoice PDF without any need to alter the line item view.

Answer by: Joeuk
Posted: Nov 5, 2014