Jaz Integration

Jaz Integration #

Classification: Internal-Only

Jaz (jaz.ai) is a Singapore-based cloud accounting product tofu connects to with a per-organisation API key. There is no OAuth flow, no scope list and no sandbox. The connector reads reference data and documents, and publishes AP bills, AR invoices, credit notes (both directions), direct expenses and bank statements.

Connector module: libs/rust/bonsai-integration/src/accounting/jaz/. Error model: jaz/model/error.rs. Everything below is what the code does; where Jaz’s documentation and the live organisation disagreed during research, this page follows what the live organisation did.

Support matrix #

Type Create Republish Delete / void Paid documents Attachments
AP bill POST /bills (active, or saveAsDraft: true per the entity setting) delete-then-create: DELETE /bills/{id}?force=true, then POST DELETE /bills/{id} voids (status VOID, record stays); ?force=true hard-deletes refused by tofu before any call POST /bills/{id}/attachments; PDF, PNG, JPEG, HEIC, XLS, XLSX, EML; 10 MB
AR invoice POST /invoices (autoReference: true when the number is blank) same as AP same as AP same as AP same as AP on /invoices
AP credit note POST /supplier-credit-notes (active UNAPPLIED, or saveAsDraft: true per the entity setting) delete-then-create: DELETE …?force=true, then POST DELETE … voids (VOID, record stays); ?force=true hard-deletes applied / partly applied notes refused by tofu before any call POST …/{id}/attachments; same types and 10 MB limit
AR credit note POST /customer-credit-notes (autoReference: true when the number is blank) same as AP credit note same as AP credit note same as AP credit note same as AP credit note
Direct expense (Spend only) POST /cash-out-entries (always active; reference generated when blank) delete-then-create with DELETE /cash-entries/{id} DELETE /cash-entries/{id}; 409 when reconciled → CASH_ENTRY_LOCKED n/a, a cash entry has no payment state none — ATTACHMENTS_UNSUPPORTED
Bank statement POST /bank-records/{accountResourceId}, ≤ 100 records per call, chunked archive the account’s rows carrying this statement’s tofu ids, then post again POST /bank-records/{accountResourceId}/archive, ≤ 500 ids; rows stay visible as ARCHIVED n/a n/a

Out of scope: Receive (cash-in) direct expenses, credit note refunds[] and allocation to a bill or invoice, withholding tax (Philippines only), and Jaz classifierConfig line tags.

Capabilities arm (libs/rust/bonsai-model/src/integration.rs): read_only_access() plus with_invoices_window, with_contact_tax_identification_number_sync, with_create_contacts, with_direct_expense_self_prompt, with_publish, with_bank_statement_publish, with_credit_note_publish (both directions — AP and AR credit notes shipped together). Deliberately not with_double_entry_bank_statement (bank records are posted per account with no contra) and not with_create_bank_account (/bank-accounts is read-only). max_attachment_size is 10 MB.

How tofu connects #

  • Base URL https://api.getjaz.com/api/v1 (jaz/env.rs::api_url). One production host; no sandbox exists, so every write test hits real data.
  • Auth is the x-jk-api-key header. The user creates the key in Jaz under Settings → Access Management → API; it is shown once. The key inherits the role it was issued under. An organisation-admin key creates, updates and deletes bills, cash entries, bank records and attachments with no extra grant, so existing connections need no reconnect for publish.
  • Credentials sit in the integration’s private metadata; public metadata carries the Jaz organisation id, company name and base currency (JazPublicMetadata).
  • Test organisation: Tofu2 Limited (tofu-owned, HK, USD, multicurrency, plan CUSTOM trial). Its key lives in each engineer’s gitignored local config under jaz.api_key; never print it, and give every write probe a dated reference prefix and delete or archive it afterwards.

Envelopes and limits #

  • Success {"data": …}. Error {"error": {"error_type", "errors": [...], "error_details", "notice"}} — except 413, whose body is {"error": "request_too_large"}, a string. The parser (JazError::parse) accepts both shapes; never assume error is an object.
  • Rate limit, read from the ratelimit-policy header on every response: 2,000 calls/min overall, 600/min per read or write class, per key. One bulk call costs one token. A 429 becomes TooManyRequests with the Retry-After time when the header is present; it was never observed live, and without it the retry is scheduled one second later.
  • 402 is documented on 655 of 657 operations — a global plan gate, not a feature signal. The trial organisation never returned one, so what a paid plan gates is unknown. Mapped to PLAN_REQUIRED.
  • 409 appears only on DELETE /cash-entries/{id} and DELETE /journals/{id}; it means a dependency blocks the delete (reconciled), not a duplicate.
  • Hard schema limits: bank records 1–100 per POST, archive 1–500 ids, search page ≤ 1,000; bill/invoice lineItems ≤ 200, tags ≤ 50, bill internalNotes ≤ 1,000 chars; cash entry lines 1–100, tags ≤ 100. No idempotency key on any publish path.

Shared builder rules #

  • Always send both isTaxVATApplicable and taxInclusion (taxInclusion is required even when tax is off). Cash entries spell the first one taxVatApplicable.
  • A line carries taxProfileResourceId when tax is on and must not carry one when tax is off; cash entries book tax silently if it is sent on a NoTax document.
  • Line accounts must have controlFlag: false; the rule is “not a control account”, not account type. The cash-out header account must be of type Bank Accounts or Cash. Both flags and accountLockDate are decoded in jaz/model/account.rs and drive the compatibility flags.
  • Tax profile direction comes from taxTypeCode (*_PURCHASES, *_IMPORTS, OTHER_LOCAL_TAX_ON_PURCHASES → purchase; *_SALES, OTHER_LOCAL_TAX_ON_SALES → sale; OTHER_NOT_TAX → both). Jaz rejects a sales profile on a bill and a purchase profile on an invoice (TAX_PROFILE_NOT_AVAILABLE_FOR_TRANSACTION).
  • Header tags are free strings stored verbatim; send AccountingTag names, never ids (an id is stored as a label).
  • Discounts are flat amounts per line; tofu percentages are converted (quantity × unit price × rate, 2 dp). Jaz rounds unitPrice half-up to 2 dp in every currency.
  • Dates are YYYY-MM-DD in the organisation timezone. A date on or before any touched account’s accountLockDate is rejected; the validator catches it first (C01), LOCK_DATE is the fallback.
  • Omit currency.exchangeRate when tofu has none; Jaz applies its own rate and echoes appliedRate. Currency codes upper-case.
  • Never call /approve: documents are created active, and /approve on an active bill returns 422 ONE_OR_MORE_ENTRIES_FOR_APPROVAL_ARE_INVALID.
  • The tofu validator (ValidatorProvider::Jaz) runs before the builder in validate and upload, and the builder reads the outcome’s data. Two rules are checked in both on purpose, under the same key: the document-level discount (HEADER_DISCOUNT_NOT_SUPPORTED_JAZ) and the blank line name (LINE_DESCRIPTION_REQUIRED_JAZ). The validator is what the form shows; the builder keeps them because it is a pure function that is also called on data the validator never saw, and dropping either silently would post a wrong total or a 500.

Status on publish #

Jaz is in supports_status_on_publish() with Xero, Bukku and FreeAgent. The entity’s accounting_invoice_status_on_publish / ar_invoices_accounting_invoice_status_on_publish setting reaches the connector as invoice.status(): Draft → saveAsDraft: true, anything else → omitted (created active, UNPAID). The default for an entity that never chose is active (default_invoice_status_on_publish → Authorized), because no Jaz entity published before this. Cash entries have no choice: saveAsDraft on a cash entry is rejected. Drafts still validate fully; Jaz applies its schema rules to drafts too.

AP bill and AR invoice #

  • Paid state is the header status enum DRAFT | UNPAID | PARTIALLY_PAID | PAID | VOID; there is no balance-due field. Paid detection reads that header on fetch_invoice. Jaz lists payments per document (GET /{type}/{id}/payments) and has no payment lookup by id, so fetch_invoice_histories is empty and fetch_payment is unimplemented; nothing publish needs calls them.
  • Paid documents are refused by tofu, not by Jaz. Jaz lets a PAID bill be PUT and DELETEd (the payment stays attached, or is voided with the bill). The generic InvoiceStatus::is_locked() check (Paid / PartiallyPaid) makes sync skip the republish and bonsapi skip provider validation; delete_invoice returns the locked error for a paid document rather than voiding its payments.
  • Republish is delete-then-create with ?force=true. PUT is a full-object replace on a non-draft document (lineItems required), and a plain DELETE only voids, which would leave the external id pointing at a VOID record and keep its reference consumed.
  • delete_invoice always sends DELETE /{type}/{id}?force=true and is idempotent: a 404 on it, whether “Bill Not found” (already deleted) or “is voided”, counts as deleted. A Paid or PartiallyPaid tofu status returns the locked error before any call; Deleted returns without a call.
  • Duplicate references. Bills reject a reference already used for the same contact on the same value date (DUPLICATE_PURCHASE_REFERENCE_WITH_CONTACT_AND_DATE; another date or contact is accepted). Invoices reject a duplicate sale reference org-wide (DUPLICATE_SALE_REFERENCE). Force delete frees the reference, which is why republish uses it. AR sends autoReference: true only when the invoice number is blank, never together with reference.
  • Attachments: multipart field file; text/plain is rejected with 400 invalid_request_body “Invalid file type” (INVALID_FILE_TYPE). GET lists a fileUrl on S3 that serves the bytes without any auth header; treat it as a public URL. The read side can download from it.

Credit notes #

Both directions ship together: POST /supplier-credit-notes (AP) and POST /customer-credit-notes (AR) are symmetric — same minimal body, same rules, same limits as bills and invoices (lineItems ≤ 200, tags ≤ 50). The minimum Jaz accepts is valueDate, reference (or autoReference: true, never both), and one line with a non-control accountResourceId and a non-zero amount.

  • No due date. Unlike bills and invoices, dueDate is optional and tofu has none to send (ValidatorCreditNoteData::as_invoice_data leaves due_date: None); the two due-date rules that apply to bills do not apply here.
  • Status is an application state, not a payment one: DRAFT | UNAPPLIED | PARTIALLY_APPLIED | APPLIED | VOID, read back as Draft | Authorized | PartiallyPaid | Paid | Voided. PARTIALLY_APPLIED and APPLIED are is_locked(), which is what stops a republish and refuses a delete.
  • Jaz protects nothing on its side (trap). A credit note already applied to a bill accepts a PUT that cuts its total below the applied amount, and a DELETE that voids it — the allocation then silently vanishes and the bill reverts to unpaid. tofu’s own is_locked() guard is the only protection, so the status mapping above is load-bearing, not cosmetic.
  • PUT is a merge, not a replace (trap). The opposite of bills and invoices: a partial body on an active credit note returns 200 and leaves untouched fields alone. Worse, the body’s resourceId beats the path id — a PUT whose body names a different credit note edits that one and returns 200, where the same mismatch on a bill is a 404. The update body must never carry resourceId. Republish is delete-then-create (Jaz is in should_delete_before_publish()), so the merge semantics do not bite today.
  • Duplicate references follow the bill and invoice split: AP rejects the same reference for the same contact on the same value date; AR rejects it org-wide. Force delete frees it.
  • Allocation is never part of publish. It is driven from the other document (POST /bills/{id}/credits, POST /invoices/{id}/credits); a standalone credit note is a complete outcome.
  • Never call /approve: it soft-fails with HTTP 200 and records[].isSuccess: false.
  • Envelopes differ again: PUT responses nest under updatePurchaseCreditNote / updateSaleCreditNote, and attachment responses are not wrapped in data at all.
  • Header discounts are dropped (supports_credit_note_discount is false for Jaz); line discounts are flat amounts as everywhere else.

Deep links (confirmed by rj 2026-11-17, app.jaz.ai): /purchase-credits/transactions/active-purchase-credits?modal=view-purchase-credit&id=<resourceId> and /sale-credits/transactions/active-sale-credits?modal=view-sale-credit&id=<resourceId>. A draft is assumed to sit under …/transactions/draft, mirroring bills and invoices — unconfirmed. A voided or deleted credit note gets no link.

Direct expense: cash entries and the two id spaces #

tofu’s Spend direct expense is a Jaz cash-out entry (POST /cash-out-entries, which Jaz itself summarises as “Create Direct Cash-Out”). Always active, no autoReference, no provider-side dedup: posting the same reference twice returns 201 twice, so a republish must delete first. When tofu’s reference is blank the connector sends tofu-<first 8 chars of the direct expense id>. itemResourceId is dropped and the item name folded into description; no currency object is sent (cash entries ignore it — the document currency must equal the account’s).

Three ids per cash entry, each accepted by a different endpoint:

Id Where it comes from Accepted by
A, cash-entry id POST /cash-out-entries → data.resourceId GET /cash-out-entries/{A}, DELETE /cash-entries/{A}, the deep link
B, cashflow-transaction id GET /cash-out-entries/{A} → data.resourceId (A is in parentEntityResourceId) POST /cashflow-transactions/search resourceId eq, GET /cash-out-entries/{B}
C, business transaction id the same GET → businessTransactionResourceId nothing publish needs

fetch_direct_expense searches cashflow-transactions by B, and DELETE /cash-entries/{B} is a 404 “Cash entry not found”. parentEntityResourceId, businessTransactionResourceId and transactionReference are not filterable, so there is no search path from A to B. The connector therefore calls GET /cash-out-entries/{A} once after create, which returns both ids, and stores them as the composite external_id = B|A. | cannot occur inside a UUID, and B leads because the read side is the common consumer. When that read-back fails the entry is deleted again before the error is returned (a retry would otherwise create a second one); when the delete fails too the error is CASH_ENTRY_ORPHANED and names A.

Legacy and import ids. An expense that arrived by import, or that was published before the composite, carries a bare B with no separator. Parsing accepts both: the search uses the part before the separator, delete falls back to the cashflow-row lookup, and the webapp shows no link.

fetch_direct_expense searches on B and puts the stored id back on the record it returns, so a read-back never strips A off a published expense. Delete uses A straight from the composite with no extra read; for a bare id it reads the cashflow row and uses its parentEntityResourceId (A), and a row without one is never guessed at. 404 on the read or on DELETE /cash-entries/{A} counts as already deleted; 409 maps to CASH_ENTRY_LOCKED. fetch_direct_expense maps an empty search to NotFound, which sync treats as already gone on republish. Republish is delete-then-create: upload_direct_expense deletes a still-attached entry itself before posting, since cash entries never dedupe. Receive entries and overpayment / prepayment spend types are refused with RECEIVE_NOT_SUPPORTED / SPEND_TYPE_NOT_SUPPORTED.

Deep link (confirmed by rj 2026-11-17, app.jaz.ai): /cashflow/all-cashflow/all?modal=cashflow-view-direct-cash-entry&id=<A> — the cash-entry id, not B, and no status-dependent list segment. The UI also emits an optional actionId (the business transaction C); tofu does not send it.

No attachments. Cash entries are the only document type in Jaz without attachment endpoints — the split is exact: documents (bills, invoices, credit notes, journals, orders, claims) have them, cash movements (cash entries, transfers, bank records, payments) do not. upload_direct_expense_attachment returns ATTACHMENTS_UNSUPPORTED without a network call and the review surface says the file stays in tofu. /claims was rejected as an alternative (it is an employee expense claim posting to an employee liability account), and posting a direct expense as a pre-paid bill was rejected because it reads back as AP.

Bank statement #

.with_bank_statement_publish() is on; the webapp reads the capability off the integration via supportsPublishForType. Validation runs synchronously in bonsapi; the shared flow is in Bank statement publishing. The Jaz bank account is the one chosen on the statement in the review form (accounts with bank_statement_bank compatibility, i.e. the rows of GET /bank-accounts); a statement without one fails validation with BANK_STATEMENT_ACCOUNT_REQUIRED, and validation that cannot read the accounts at all fails closed with BANK_ACCOUNT_VALIDATION_UNAVAILABLE.

There is no bank feed partner API, and it is not worth re-researching #

Settled 2026-11-06 and 2026-11-13; the evidence, so no later run repeats it:

  • Xero’s path is the Bank Feeds partner API (FeedConnections + statements). Jaz has no feed-connection API: the string feed appears nowhere in its 518-path / 657-operation OpenAPI spec (.plans/jaz/resources/jaz-openapi.json, vendor-published and synced daily).
  • Jaz’s “bank feeds” are a closed list of six fintechs — Airwallex, Aspire, OCBC Singapore, Stripe, Wise, Xendit — that Jaz pulls from using the customer’s key for that fintech (Jaz help articles for Aspire, Wise, Xendit, Airwallex, Stripe). The direction is inverted, there is no inbound push API, no partner registry and no developer programme. All six hold the customer’s money; tofu holds nobody’s.
  • Feed transactions land as the same object POST /bank-records/{accountResourceId} creates. A record imported through that endpoint reads back bankStatementEntrySource: "FREKI" with sourceMetadata.type: "BANK_FEED_FREKI" — Jaz’s own read model labels an API import as a bank feed. The source field is not in BankStatementEntryFilter, so it cannot be filtered on.
  • Conclusion (D5): partnership would buy branding and distribution, not capability. tofu posts statements into Jaz’s reconciliation queue through /bank-records, which lands the same user outcome. A live bank → Jaz link depends on Jaz’s own fintech feeds. The better ask for Jaz is a client-supplied idempotency key on POST /bank-records (precedented by CreateJotEntryRequest).

What Jaz does not check, and tofu does instead #

Jaz validates nothing on import: no balance check, no dedup, no idempotency key, and the create returns {"data": {}} with no ids. Posting the same record twice yields two rows with the same server-side hash. So:

  • Balance assertion (STATEMENT_DOES_NOT_BALANCE): opening_balance + Σ signed amounts must equal closing_balance when both are present.
  • Bank account must exist in GET /bank-accounts with bank_statement_bank compatibility (BANK_ACCOUNT_NOT_IN_JAZ); the accounts cache is refreshed once before that verdict, so a bank account just created in Jaz is seen. tofu cannot create one. GET /bank-accounts returns a bare array (no data envelope) and exposes no bank account number — code is the ledger code.
  • Lock date: every transaction date must be after the account’s accountLockDate.
  • Amounts are signed (positive in, negative out), 2 dp; transactionDate YYYY-MM-DD.

Dedup via reference → extReference, and archive semantics #

The dedup hook (D1): each record’s reference is a UUID tofu mints per transaction (assign_transaction_ids, persisted as the transaction’s external_id by bonsapi before the upload and carried across re-saves), which Jaz stores verbatim in the filterable extReference field (metadata is returned on read as [{columnName, columnValue}] but is not filterable — invalid_filter). payerOrPayee lands in extContactName. The reference is user-visible in Jaz’s reconciliation screen. Split children are skipped; their parent carries the movement.

  • Before posting, POST /bank-records/{accountResourceId}/search filtered on extReference in <this statement's references> (≤ 100 references per search, one page of ≤ 1,000 rows; a second page means the dedup cannot see every live copy, so the group is refused) and status != ARCHIVED. Always send sort — offset without it is a 422.
  • Reconcile against the live rows: a row whose amount and date still match its record is kept (not re-posted); a row that no longer matches is archived, unless it is RECONCILED, which refuses the group with BANK_RECORD_LOCKED — tofu never archives a reconciled row. Records with no live row are posted in ≤ 100-record chunks.
  • Archive is POST /bank-records/{accountResourceId}/archive with ≤ 500 ids and archiveNotes: "tofu republish"; an outcome whose changed count is short or that lists skipped rows also fails with BANK_RECORD_LOCKED, because the stale row would stay live next to its replacement. Archive is not a delete: it takes the record out of the working set but leaves reconciliation history, and archived rows stay in search results with status: "ARCHIVED". That is why the dedup search excludes ARCHIVED — an archived import must not suppress a legitimate re-import. There is no hard delete for bank records.
  • The publish receipt is a second search read-back, not the create response, because create returns no ids; a reference missing from it fails the group. The statement’s external_id is synthetic and stable: bank-records:{accountResourceId}:{first date}:{last date}.
  • Groups publish in input order and independently: one group’s failure does not fail the others.

Error keys #

errorMessage.jaz.* in config/i18n/en/error.json, mirrored by publish_error_key in jaz/model/error.rs:

Key When
PLAN_REQUIRED HTTP 402
PAYLOAD_TOO_LARGE HTTP 413, string envelope
DUPLICATE_REFERENCE_WITH_CONTACT_AND_DATE 422 DUPLICATE_PURCHASE_REFERENCE_WITH_CONTACT_AND_DATE on a bill
DUPLICATE_SALE_REFERENCE 422 DUPLICATE_SALE_REFERENCE on an invoice
DOCUMENT_VOIDED 404 “is voided”
DUPLICATE_SUPPLIER_CREDIT_NOTE_REFERENCE 422 DUPLICATE_PURCHASE_CREDIT_NOTE_REFERENCE_WITH_CONTACT_AND_DATE
DUPLICATE_CREDIT_NOTE_REFERENCE 422 DUPLICATE_SALE_CREDIT_NOTE_REFERENCE
CREDIT_NOTE_VOIDED 404 “Credit Note is voided”
CREDIT_NOTE_NOT_FOUND 404 after a permanent delete of a credit note
CREDIT_NOTE_ALLOCATED delete or republish refused because the note is applied or partly applied in Jaz
DOCUMENT_NOT_FOUND 404 after a permanent delete or with the wrong id space
CASH_ENTRY_LOCKED 409 on DELETE /cash-entries/{id}
CASH_ENTRY_ORPHANED a created cash entry could be neither read back nor removed; names the entry id
RECEIVE_NOT_SUPPORTED a Receive (cash-in) direct expense
SPEND_TYPE_NOT_SUPPORTED an overpayment or prepayment spend type
CURRENCY_NOT_ENABLED the validator asked to create a currency; a cash entry takes its account’s currency, so none can be set up
BANK_STATEMENT_ACCOUNT_REQUIRED the statement has no bank account chosen
BANK_ACCOUNT_NOT_IN_JAZ chosen bank account missing from GET /bank-accounts
BANK_ACCOUNT_VALIDATION_UNAVAILABLE the bank accounts could not be read, so validation failed closed
STATEMENT_DOES_NOT_BALANCE opening + lines ≠ closing
BANK_RECORD_LOCKED a stale copy of a record is RECONCILED, or Jaz skipped rows on archive
LOCK_DATE a bank record dated on or before the account’s lock date, or the 422 lock-date error_types when the lock moved after the catalog sync
ATTACHMENTS_UNSUPPORTED any attachment on a cash entry
INVALID_FILE_TYPE 400 “Invalid file type” on an attachment, or a type the connector’s allowlist refuses before upload

Validator rules (ValidatorProvider::Jaz in libs/rust/tofu-validator-core) catch required fields, text and line limits, dates, control accounts, tax direction and the lock date before Publish; their keys live under invoiceValidation (credit notes included, prefixed CREDIT_NOTE_) / directExpenseValidation with a _JAZ suffix.

Known gaps #

  • Jaz web routes cannot be read off the API; they must be clicked in the real UI. Bills and invoices are confirmed (host app.jaz.ai; a draft opens under purchases|sales/transactions/draft, anything else under active-purchases / active-sales, with ?modal=view-purchase|view-sale&id=<resourceId>; a voided or deleted document gets no link), as are the credit note active routes and the cash entry route (/cashflow/all-cashflow/all?modal=cashflow-view-direct-cash-entry&id=<A>, confirmed by rj 2026-11-17 — it opens on id alone, and the actionId the UI also emits is the business transaction id C and must not be sent; there is no status-dependent list segment). The credit note draft segment is assumed, not confirmed. A cash entry published before the composite external id still gets no link, since only A opens the modal.
  • A read-only-role key is untested. The test organisation’s key is admin and probing rules forbid minting keys. Its refusal (status unknown, likely 403/422) should map to a “re-issue the key with a write role” message, not Disconnected.
  • 402 on a real plan is unknown. The trial organisation never returned one; what Essentials or Growth plans gate needs a customer organisation with consent, or Jaz.
  • 409 on a reconciled cash entry is documented but not reproduced (needs a reconciliation in the organisation).
  • Retry-After on 429 never observed; the ratelimit-policy window is the fallback.
  • autoReference: true on AR invoices was not probed live; decides whether the blank-number path needs a reference fallback.
  • How Jaz’s UI badges API-imported bank records (bankStatementEntrySource: FREKI) versus fintech-feed ones is unknown.
  • Status of a PAID bill after a PUT raises its total was not read back; expected PARTIALLY_PAID. Moot while paid documents are refused.
  • Line-level classifierConfig is unmapped; the test organisation has no nano-classifiers.
  • Credit note internalNotes and reference max lengths are undeclared in the spec and unprobed; 255 for the reference is assumed from bills and invoices.
  • Credit note attachments carry no fileUrl on read, where bill attachments do — a gap if the read side ever downloads one.
  • Jaz ships its own AI extraction (/magic/importBankStatementFromAttachment, /magic/createBusinessTransactionFromAttachment) and a large reconciliation API. Commercial, not engineering.