Live data from Hacker News

A Canadian payroll dependency chart

daemonology.net

11–20 of 301 posts

Re: A Canadian payroll dependency chart

#14

[flagged]

FYI, the above link is not for the Canadian federal tax code, just the federal payroll taxes. From what I have encountered with US federal payroll taxes, it did not seem anywhere near as complicated as the above link. Other than withholding federal income tax and FICA and FUTA, not sure what else there would be.

Yeah, in the US it's a certain percentage up to a limit, and some people are exempt. Pretty simple in terms of doing payroll

All the complexity is when you file your actual return, and that one would literally be impossible to chart out because there are so many different nooks and crannies that exist that most people don't need to worry about but might so they are out there. I suspect that is also the case in Canada in addition to this payroll calculation nightmare

Re: A Canadian payroll dependency chart

#15

[flagged]

>And to think, in the US we revolted because the king wanted to tax Tea 3%....

There is an important difference between then and now and it's called the US Congress. It wasn't about the amount of the tax on tea but rather the fact we didn't vote for it

If we don't like the current tax system we have a surefire way to fix it, but we never actually take advantage of it (vote for someone else)

Re: A Canadian payroll dependency chart

#16
This demonstrates how any algorithm, software or not, works: Start with something desirable or necessary and add complications until you end up with a mess that can be used to yield arbitrary results, drive outsiders into madness, and summon some lesser demons if read in a chanting manner.

Now what could be done about this? The obvious answer is refactoring. That's what politicians promise in election campaigns and junior software developers demand when encountering a new code base. It's rarely ever done in practice because no one can disambiguate unnecessary from desired features and complexities. The second answer would be a clean implementation in some more formal framework (a statically typed language, a theorem prover, ...). That second solution often fails when attempted because the system is already unsound. Fortunately, no one cares about those "weird corner cases" and everything is left as-is until someone runs away with a million dollars or so.

Re: A Canadian payroll dependency chart

#17
Are there any countries with good, reasonable tax systems? I'm only familiar with Canada and the USA, both of which are a bit of a mess, though seemingly in different ways. I'd be very interested in hearing what the process is like in other places.

Re: A Canadian payroll dependency chart

#18
Being someone who has some experience with tax law, the cycle of tax complexity goes like this:

1. Tax law is passed.

2. Really smart CPAs and Tax Lawyers figure out ways to legally avoid paying taxes.

3. Tax people issue regulations intended to close those loopholes.

4. Administrations change and they want to win votes and tweak the economy so they lower some taxes and add tax breaks.

5. New administration comes in and selectively reverses previous administration's program because of politics.

6. If the tax is international tax, then add really smart tax lawyer doing multi-jurisdictional tricks to lower taxes (e.g Double Irish With a Dutch Sandwich[1]) , governments trying to encourage multi-nationals to do business there by adding incentives to their tax code, the OECD coming in and trying to standardize tax stuff across jurisdictions to prevent this, individual pairs of countries doing tax treaties with each other, etc.

[1] https://www.investopedia.com/terms/d/double-irish-with-a-dut...

Re: A Canadian payroll dependency chart

#20
post #9

In France, these rules are available as a website, an API, a NPM package, and raw rules in the https://publi.codes language. https://mon-entreprise.urssaf.fr/développeur

thats pretty cool, I wonder though what the implication is if there is a bug or package hijacking? Are you expected to cross check the calculations and they are only offered as a convenience, and not authoritative?
Post reply on HN