This page follows one payment from a provider into Ledger, one stage at a time. Activity happens at the provider on its own schedule. The connection only reads it, and the connector's profile (its rules for turning provider records into Ledger entries) decides what each record becomes.
The example is fictional. It follows one pay-in from created to succeeded, then a balance that the provider reports. The accounts, Numscript, and fields are simplified to show the stages. To see what a real connector reads and records, open its catalog entry.
A service provider ledger main
Observation 1
Observation 2
Observation 3
Observation 4
Service
- 1?
A customer pays, a state changes, a statement is produced: the provider's systems change on their own. Nothing in Formance knows what the new object is until the connection reads it. The connection only reads. It never writes back to the provider.
Ledger main
volumes per account and asset- No accounts yet. An account exists from its first posting.
Transactions
- None recorded yet.
What happens at each stage#
What a connector profile holds#
A profile has three parts: a chart of accounts, transaction templates for records that move value, and metadata rules for records that only add information.
Reported balances#
The last observation in the example is a balance that the provider reports. The connection stores it as account metadata and posts nothing. The reported figure sits next to the balance Ledger builds from postings without changing it, and each later report replaces the stored value.
In the example the two figures differ by 3,730.00. Ledger does not adjust for a gap like this one. Before you draw a conclusion, check that both figures cover the same accounts at the same point in time, that Ledger has the opening position, and that the reported value is recent. A read that failed leaves the previous value in place. It does not mean the balance is zero.
Two views of a balance walks through the comparison.
The same stages for every provider#
Every connector runs these stages. What changes from one connector to the next is what it reads and the Ledger model it builds. The catalog documents both.