What is the Ledger?
The Ledger is Owem’s accounting layer — the only source of truth for balances, reconciliations, and audits. Each financial movement generates an entry in the Ledger:- credit: money coming into the account (PIX IN)
- debit: money going out of the account (PIX OUT)
No balance is changed directly. Every change occurs by creating a new entry in
the Ledger.
Why Use the Ledger?
| Benefit | Description |
|---|---|
| Immutability | Entries are not altered after creation |
| Traceability | Every operation has clear, auditable cause |
| Reconciliation | Balances are always consistent |
| Transparency | Each credit/debit has documented origin |
Available Queries
1. List Movements
| Parameter | Description |
|---|---|
type | credit or debit |
reason | Ex: pix_in:qrcode_paid, pix_out:processing |
status | processing, succeeded, failed |
startDate | Start timestamp (ms) |
endDate | End timestamp (ms) |
page | Page (default: 1) |
limit | Items per page (max: 100) |
2. Search by externalId (Your Identifier)
Ideal for reconciliation when you use your own ID:3. Search by endToEndId (PIX Identifier)
To track by PIX E2E code:4. Search by entryId/txId (QR Code ID)
To confirm QR Code payments:Reconciliation Flow
Daily Reconciliation
Example: PIX IN Reconciliation
Entry Structure
Important Fields
| Field | Description |
|---|---|
id | Unique entry identifier |
type | credit (incoming) or debit (outgoing) |
reason | Accounting reason (ex: pix_in:qrcode_paid) |
status | processing, succeeded, failed |
grossAmount | Gross amount |
feeAmount | Fee charged |
netAmount | Net amount (gross - fee or gross + fee) |
endToEndId | PIX E2E identifier |
entryId | QR Code ID (PIX IN) |
externalId | Your identifier (if sent) |
Reasons
| Reason | Type | Description |
|---|---|---|
pix_in:qrcode_paid | credit | QR Code payment |
pix_in:credited | credit | Credit via PIX key |
pix_out:processing | debit | PIX OUT sent |
pix_in:refunded_processing | debit | PIX IN refund |
pix_out:refunded_processing | credit | PIX OUT return |
Best Practices
Use externalId for reconciliation
Use externalId for reconciliation
Always send your identifier in operations. Makes reconciliation much easier.
Reconcile daily
Reconcile daily
Run reconciliation routines at least once a day.
Handle 'processing' status
Handle 'processing' status
Entries in processing are not yet finalized. Check again later.
Save the requestId
Save the requestId
In case of support, requestId helps track issues quickly.