Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display VAT or Tax Content on Invoice


lateralus

Recommended Posts

Here is a very simple contribution that I wrote for my store, and I figured I should give back to the community for all the great contributions I have grabbed in the past.

 

My store displays simple pricing - i.e. just one price is input, which includes VAT (or Tax). I therefore do not use OSC tax options on anything.

 

So when we get to the invoice, I have a Sub-Total, Postage/Shipping, and a Total. All of this is done by the order totals class.

 

What I have produced here is a fix that will go and find the numeric value of the customers order total, display this (if you wish) seperately to the shipping and sub-total (just uncomment the line) and then work out the VAT content of that total and display it.

 

Works fine with any tax rate, just change 0.175 to your desired rate.

 

Link to Contribution: http://www.oscommerce.com/community/contributions,4848

 

Hi from France,

 

I've found the contribution I was looking for such a long time.... Thank you very much for this really helpful contrib for my accountant :thumbsup: :thumbsup:

 

I've just a question about different VAT rates because I use 19.6% VAT and 0% VAT...

It works really good for orders with a 19.6% VAT rate but it also appears for orders with 0% VAT rate!

 

I would like to disable "the Display VAT or Tax Content on Invoice" contribution for orders with 0% VAT!

 

Do you think that could be possible?????

 

Thank you very much in advance :thumbsup:

sub-total (tax free), Bookmark, Browse by Categories 2.5, Category box enhancement, Contact us choice 1.0.1, Featured products 1.5.5.1, MultiGeoZone MultiTable Shipping 1.101, Os Active Desktop 2.3, Paymenttypes 1.2, Phpmyvisites 2.1, Session counter, Skype Contact 1.0, Stats products per month 1, Store Pick Up Version 1.4, Updated spiders.txt, Who's Online Enhancement 2.00, BackButtons, Google Analytics, stats_sales_csv_1.2, google_position_1.3, Customers List Improved 1.4, boxe defilante

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...