Kimtuexample
Docs
Try with your repository

Invoice Service

service

Manages the lifecycle of invoices including creation, updates and retrieval.

Owner
Billing Team
Technology
TypeScript
Runtime
Node 20.x
Surface
14 endpoints · 4 events
kimtu/invoice-service
docs/guides/tax.md8c14b70updated 3 weeks ago

Tax and rounding

Tax is applied per line item, then rounded once at the invoice level. Rounding at line level produced cent-level drift on multi-currency invoices and was removed in v3.

Order of operations

  • Sum line items in minor units
  • Apply the regional rate for the customer billing address
  • Round half-up to the currency precision

Page order follows mkdocs.yml.