Hacker News new | ask | show | jobs
by a1369209993 2297 days ago
> For example, it is literally possible for an employee to have so many payroll deductions including court-ordered wage garnishment that net pay would be negative. How do you handle that in all legal jurisdictions where the company operates?

By issuing a error and demanding that a human deal with it. Obviously.

1 comments

Surely you jest? If that was a serious comment then you obviously have no understanding of the business and legal requirements for payroll systems.
If you're legally required do your payroll with a buggy computer system rather than manually (and not even "this specific buggy computer that we gave you", just any old buggy piece of crap), then, uh, I don't really know what to say to that. My condolences, I guess?

If you mean it's impractical and error-prone to do payroll manually, well that's the point of automating >99.999% of it. For the remaining <0.001%, someone is going to have decide how to deal with it, and I'm sceptical that a programmer seven years ago will know better than a lawyer today what the legal requirements today are.

The level of aggressive ignorance in HN comments can be quite shocking. There is no legal requirement to use any particular payroll system. The payroll rules are written by domain experts including lawyers and others, and encoded into rules engines.