octopus audit check
octopus audit check
Verify double-entry invariant: SUM(DEBIT) = SUM(CREDIT)
Synopsis
Verifies that total debits equal total credits across all ledger entries. In a correct system this always returns net=0 for every currency. A non-zero result means a transaction violated double-entry — this should never happen.
octopus audit check [flags]
Examples
octopus audit check --tenant acme-bank
octopus audit check --date 2026-04-29 --tenant acme-bank
octopus audit check --unit ARS --tenant acme-bank
Options
--date string Filter by business date (YYYY-MM-DD)
-h, --help help for check
--unit string Filter by currency code (e.g. ARS, USD)
Options inherited from parent commands
-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output
SEE ALSO
- octopus audit - Accounting audit operations