Going live
Check these before real traffic.
- Send an `Idempotency-Key` on every request, generated once per document and reused by every attempt. Without it, a timeout you retry is a second charge. See Idempotency and retries.
- Set a client timeout of at least 180 seconds. A long statement takes tens of seconds to parse, and a 30 second default turns a success into a retry.
- Filter on `account.type` before summing credits as income. See Amounts and directions.
- Branch on `verification.reconciled` and route anything false to a person. See Verification.
- Iterate `accounts` rather than reading
accounts[0], and keep them separate. See Accounts and periods. - Branch on `error.code`, not on the message or a substring of it.
- Keep four documents in flight or fewer, or handle
429with a short backoff. See Limits. - Store `doc.id` against whatever you parsed for. It is the handle for any support question later.
Volume#
Every organisation has a monthly document cap, which stops a runaway loop turning into an invoice. There is nothing to buy. Email [email protected] with your expected volume and we raise it before you hit it.
Support#
[email protected], with the documentId if there is one.
Something wrong or missing on this page? [email protected]