Accounting lists your organisation's posting records: one record per committed platform event, showing what DALP posted to Xero. DALP sends each final money event mapped by the organisation's rule table (such as a trade settlement, fee or paid dividend) to your Xero ledger as a manual journal, recording whether it posted, is waiting, or failed and why.
Use this page to verify what reached Xero and to retry failed records once their cause is fixed. Connecting Xero and editing the rule table, account mapping or posting policy happen through the Platform API. See Post DALP events to a ledger.
The Accounting page shows the Xero connection state under the title, then “No postings yet” until the organisation stores an accounting configuration.
Steps
Find records that did not post
Open Business operations → Accounting and open the Status filter in the toolbar. Each option shows its record count. Select Failed, Not mapped or Not posted. The table lists newest records first, 25 per page.
Read what happened
Read the What happened column for a plain summary of why the record is held back (such as “Xero refused the journal.” or “An account in the journal has no Xero account code.”), with the last failure message beneath it. Expand the row to inspect Last failure in full and the journal lines DALP built.
Fix the cause
Fix the underlying issue before retrying. Update missing account codes or rules in a new configuration version, or fix Xero rejections directly in Xero. A new configuration version automatically re-evaluates every “Not mapped” record on the next pass without a manual retry. Never edit or delete a DALP journal's narration in Xero because DALP matches journals by it. Correct a posted journal with a reversing or adjusting journal in Xero instead.
Select Retry posting
Open the row's actions menu and select Retry posting. The Console toasts “Queued to post again”, the status moves to “Waiting to post”, and Retries increments by one. Retries do not wait for a second approver.
The posting job runs every minute. A “Not mapped” or “Not posted” record re-evaluates against the newest configuration version. A “Failed” record already sent to Xero keeps that journal if the last send was less than six minutes ago. After six minutes, DALP looks up the journal in Xero first, marks it “Posted” if present, or rebuilds it from the newest configuration version if absent. Wait six minutes after a configuration fix before retrying such a failed record.
Table columns
Each row represents one posting record:
- Status: the record's badge (see Statuses).
- Event: the source event name (such as Credit minted or Trade settled) with its webhook event type below.
- Amount: total of the journal's debit lines in the ledger currency, or a dash when no journal was built.
- Xero journal: prefix of the Xero manual journal ID with a copy button, “Daily journal of
<date>” (or “Daily journal 2 of<date>” for supplementary journals) under daily posting, or “Not in Xero yet”. - What happened: why the record is held back and the last failure message, or a dash when clear.
Record detail
Expand a row to view:
- Source event: the
source_idof the committed event, preserved across redeliveries. - Received: timestamp when DALP ingested the event.
- Configuration version: the rule configuration version that evaluated the record.
- Posting policy: “One journal per event” or “One journal per day”.
- Attempts and Retries: automatic posting attempts and manual retries.
- Xero organisation: prefix of the target Xero organisation ID with a copy button.
- Last failure: full failure message from Xero or DALP validation.
- Journal lines: each debit and credit line with Account key, Debit or credit, Amount and Description.
Statuses
Xero connection
The badge beside the page title next to Xero shows one of three states:
- “Connected”: DALP can post, with Last refreshed showing the latest token refresh day.
- “Needs reconnecting”: Xero rejected the stored grant (for example, after revoking app access in Xero). Posting pauses until an administrator reconnects.
- “Not connected”: no Xero connection is stored.
When not “Connected”, the page displays “Records wait to post until an admin connects Xero.” If the status read fails, it shows “The Xero connection could not be read.”
Xero connect outcomes
After an administrator completes Xero consent, Xero redirects back to Accounting with a status notice:
When Retry posting is unavailable
Retry posting is active only for “Failed”, “Not mapped” or “Not posted” records whose event data is still retained:
- “Posted” records show “A posted record cannot post again. Correct it with a new journal in Xero.”
- “Waiting to post” and “In a daily journal” records show “This record is already queued to post.”
- Records past the 30-day retention window after reaching “Posted” or “Not posted” (or whose data expired before capture) show “DALP no longer keeps this event's data, so it cannot post again.” Book those manually in Xero.
Troubleshooting
Accounting is not in the sidebar
Accounting appears under Business operations only for organisation owners and Platform administrators with an active organisation. See Roles and permissions.
Every record reads Waiting to post
Check the Xero connection badge beside the title. While Xero reads “Not connected” or “Needs reconnecting”, DALP pauses posting and opens a “Xero connection needs attention” case. Reconnect Xero per Connect Xero, and waiting records post on the next pass.
A retried record failed again
The underlying cause is still present. Inspect Last failure in the expanded row, fix the account in Xero or publish a new configuration version, and retry again. DALP also opens an “Accounting posting failed” or “Accounting event blocked” case on Operations cases.
Frequently asked questions
Can a retry post the same journal to Xero twice?
No. DALP sends each journal with an idempotency key and narration marker. Within six minutes of a send, Xero deduplicates by idempotency key. After six minutes, DALP queries Xero by narration marker first and marks an existing journal “Posted” instead of creating a duplicate. “Posted” records cannot be retried.
Does a Not mapped record need a retry after a configuration fix?
No. Publishing a new configuration version automatically re-evaluates every “Not mapped” record on the next posting pass. Use Retry posting for “Failed” records once the external or configuration cause is resolved.
API routes
GET /api/ lists posting records, POST /api/ backs Retry posting, and GET /api/ reads the Xero connection state. All three require a Console session and refuse API keys. See Read and retry posting records and the Platform API reference.