Comment

Comment by bigmanwalter

This is great stuff! To use this in Canada, we have a few extra requirements as well. Firstly, we have to separate our tax onto two lines, one for Federal tax (called GST) and one for Provincial tax (has a different name in each province) and we are also legally required to include our Federal and Provincial tax registration numbers on the same line as the amount of tax being charged.

Even trickier is that some line items could also be tax-exempt.

A config option such as the following would help for that:

  --tax 0.05 "GST" --label="GST #12345679"     \
  --tax 0.09975 "QST" --label="QST #55592929"
And to handle items that are tax exempt, an item can have the:

  --item ... --tax_exempt (or --tax_exempt="GST" in case it's only exempt from one of the sales taxes)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton