Jump to content

how I can change the price of a invoice?


Recommended Posts

Hello ...

 

how I can change the price of a invoice?

 

I need to add a rule to subtract tax (2%) to the total , but I can not do this.

 

ejm

 

subtotal = 40.00

VAT1 = subtotal * 12 / 100

 

VAT2 = VAT1 * 2 / 100

 

total = (subtotal + VAT1) - VAT2

 

this is possible?

Link to comment
Share on other sites

this is possible?

I don't think so from within WHMCS settings because taxes are usually calculated against subtotals - your situation looks more like a VAT refund and so you'd probably need a custom solution to do this.

 

one possible solution might be to change your VAT1 rate to 11.76% - if you can do that, then total1 should be the same as total2.

 

total1 = (subtotal + VAT1 @ 12%) - VAT2

total2 = (subtotal + VAT1 @ 11.76%)

 

so your totals and VAT totals should be correct for your records. :)

 

what you may then have to do is alter your invoice/email templates etc if they HAVE to show VAT @ 12% and then a 2% subtraction - but they're just basic calculations than can be easily performed using Smarty or PHP along with existing variables. :idea:

 

btw - you can't change VAT Rates in WHMCS, you'd have to delete the current 12% VAT rule and add a new rule for 11.76%.

 

http://docs.whmcs.com/How_To_Guides#Change_Tax_Rate

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated