Giter VIP home page Giter VIP logo

duties's Introduction

NAME
       denis, krienbuehl - senior system and software engineer

DESCRIPTION
       Husband and father at home, system engineer at cloudscale.ch,
       organiser at the Swiss Python Summit.        

       Used to tackle projects on common POSIX platforms.

ENVIRONMENT
       HOME       Switzerland
       LANG       en_US.UTF-8 de_CH.UTF-8

duties's People

Contributors

href avatar matalek avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

matalek

duties's Issues

Incorrect computation of VAT

Consider the following example:
Price: 50 CHF
Shipping: 0 CHF
Courier: Post

For this example the calculator displays Your 7.7% VAT is 5.20., even though 7.7% out of 50 is 3.85 CHF. The VAT should be computed based on the product price, not (product price + fees).

From Post FAQ:

VAT: Consignments are exempt from duties if the goods do not exceed the following value (including shipping costs):

  • 65 francs at a VAT rate of 7.7%

Similarly, in the example specified in this blog post, the VAT is computed based on value of goods.

This makes a big difference especially for small values, since it makes taxes non-zero for lower values than it actually should.

I think the fix would be to change this line to compute r.vat only based on r.worth, not r.worth + r.duty.

Swiss Post custom fees calculation change

Firstly, thank you for the tool!

Secondly, Swiss Post seems to have changed their custom clearance fees and the way they are calculated. According to this it's now:

  • 13 CHF (11.5 if paid online) for EU countries (previously only neighboring countries)
  • 16 CHF (14.5 if paid online) for the rest of the world

Also, I cannot seem to find any evidence that these fees are not levied when the VAT is lower than 5 CHF, as the calculator seems to suggest. Do you remember what that part of the calculation was based on? Because I'm not sure if it hasn't changed too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.