Exact-Cent BigInt Commercial Invoice & Multi-Tax Reconciler
Reconciles multi-currency, multi-jurisdiction commercial invoices, credit memos, and retainer drawdowns using pure BigInt micro-dollar arithmetic.
Governed Workflow Steps (3)
- 1. Parse Invoice Line Items
Parse Line-Item Quantities, Unit Rates & Tax Jurisdictions: consume [invoiceBatch] via ingest.local_invoice_batch_ingestor to emit [parsedLines]. Verify invariant: parsedLines.length > 0.
- 2. Compute Exact-Cent Totals
Compute Exact-Cent Subtotal, Tax & Retainer Netting: consume [parsedLines] via vault.vault-exact-cent-line-invoice-builder to emit [reconciledTotalsCents, discrepancies]. Verify invariant: Number.isInteger(reconciledTotalsCents.grandTotalCents).
- 3. Verify Zero Rounding Drift
Verify Zero IEEE-754 Rounding Drift Across Batch: consume [reconciledTotalsCents] via oracle.bigint_cent_tieout_oracle to emit [tieOutPassed, ledgerDigestSha256]. Verify invariant: tieOutPassed === true.