Invoicing · 10 / 26

Integration Map

How the receivables platform integrates with the ERP (Enterprise Resource Planning), billing, tax, bank, delivery and notification systems: patterns, latency targets and failure behaviour.

The integration landscape

Integration map of the receivables platform Bank feeds, a mailbox and a customer portal reach the platform. The platform calls models through an AI gateway and enterprise systems through a tool gateway. The tool gateway reaches the ERP and ledger, the billing system, a tax engine, customer and contract records, CRM, delivery networks, payment and bank services and a notification provider. Bank feeds camt.053 · lockbox Mailbox remittance advice Customer portal invoices · disputes Receivables platform orchestrator · agents AI gateway scans · routing Model providers primary · fallback Tool gateway (MCP) scopes · audit ERP, AR, GL Billing and pricing Tax engine CRM and contracts E-invoice and EDI Payments and bank API Email and notifications Credit bureau data Only the tool gateway reaches enterprise systems. Models are reached only through the AI gateway.
Two gateways are the only doors: one for models, one for enterprise systems.

The platform touches ten kinds of system. Each integration is a tool or an event with a stated pattern, owner and failure behaviour, so a failure in one system degrades one capability and never the whole platform.

System by system

SystemDirectionPatternDataLatency targetIf it fails
ERP, AR (Accounts Receivable) subledger and GL (General Ledger)Read and writeSynchronous API (Application Programming Interface) through the tool gateway; events back by queueInvoices, applications, creditsUnder 800 ms per callQueue the posting; show the item as pending; route to a person
Billing and pricingReadSynchronous API; price lists cached brieflyPrices, shipments, contract schedulesUnder 400 msHold the invoice run for the affected orders
Tax engineReadSynchronous APITax per ship-to and itemUnder 500 msHold the invoice; never estimate tax
Bank feedsReadScheduled file ingest and real-time API where offeredStatements, lockbox filesFiles within 15 minutes of arrivalAlert; no payments are lost, only delayed
MailboxReadInbound parse with attachments scannedRemittance adviceUnder 2 minutes to ingestQueue; scan failure routes to a person
Customer and contract recordsReadAPI and scheduled ingest into the clause indexTerms, limits, clausesUnder 300 ms; index refresh dailyCite the age; decline when no clause
E-invoice and EDI (Electronic Data Interchange) networksSend and receiveNetwork gateway with status callbacksInvoice documents, statusSeconds to minutesFall back to email delivery per customer setting
Payments and bank APIReadWebhook and pollingPayment statusNot on a user pathShow the last known status
Email and notificationsSendQueued send with delivery statusApproved messagesSecondsRetry, then show in the portal
Credit bureau dataReadScheduled pullCredit scores for risk featuresDailyUse last known; mark stale

Patterns used

Synchronous tool call

For reads and short writes. Bounded timeout, one retry, idempotency key on writes.

Outbox and events

A posted application writes an event in the same transaction. A relay publishes it, so reporting and notifications never miss one.

Cache with a stated age

Prices and terms are cached briefly. An answer built from a cache says so when it matters.

Scheduled ingest

Contracts and credit data are pulled on a schedule into the clause index and feature tables with an effective time.

Outbox pattern for application events Posting an application writes the ledger entry and an outbox row in one transaction. A relay publishes the event, and the reporting view and the notifier consume it. If the relay is down, rows wait and publish when it returns. ERP Outbox relay Event queue Reporting Notifier Customer post application + outbox row, one transaction poll new rows cash.applied publish event update unapplied cash view send payment receipt email Relay down: rows wait, then publish in order.
Outbox pattern for application events

The ledger entry and its event can never disagree, because they are written together. Consumers are idempotent, so a replay does no harm.

Queueing a posting when the ERP is unavailable An application fails because the ERP does not answer. The platform retries once, then queues the posting with its evidence, shows the item as pending and opens a task for the review desk. When the ERP recovers the queue is replayed. Cash application Tool gateway ERP Posting queue Review desk apply_cash, key K2 post no response unavailable retry once, same key queue posting with evidence task: pending posting recovered: replay queue post, key K2
Queueing a posting when the ERP is unavailable

Nothing is lost and nothing is applied twice. The desk sees exactly what is pending and why.

Identity and access

HopHow it authenticates
Staff to platformSingle sign-on with role-based access
Customer to portalPortal login; links in email are signed and expire
Service to AI (artificial intelligence) gatewayProject key for the service and environment
Service to tool gatewayService identity with OpenID Connect; the acting person or rule is passed as a claim
Tool gateway to systemsCredentials held only in the gateway, rotated automatically, over mutual TLS (Transport Layer Security) where supported

Ownership and change

SystemOwnerChange process
ERP and ARFinance systemsContract changes follow the versioning rule on the contracts page
Billing and pricingCommercial operationsRule changes reviewed and versioned; the platform picks them up automatically
Tax engineTaxVendor releases tested against the invoice test set
GatewaysPlatform teamConfiguration as code, reviewed

Build this for your business

This example is a receivables platform for a distributor, but the same pattern, deterministic financial rules, a governed gateway, runtime security, grounded evidence and measured quality, fits any back-office process that moves money. We can scope a pilot on your own systems.

Book a discovery call