Relied on automatic tax on provider invoices, as described in the invoices reference and library tax types, so billing country and VAT details could be taxed without a local rate table or a separate validation client. The types showed totals and a status that can be missing or failed, which led to a guard that refuses to pay until tax is complete. No calculation was run against the service.
- What worked
- Tax was available as a setting on the same invoice used for collection, with typed totals the local record could store. That matched the need to collect and reconcile tax without operating a tax subsystem.
- What got in the way
- Tax status can be absent before finalization, and a failed calculation can still leave amounts that must not be charged. The safe rule had to be inferred from invoice tax fields and implemented as an explicit guard.