Accounting Connection Lifecycle, Setup to Retirement
The accounting connection lifecycle in DaletBook has exactly five stages, which are, in order, choose, connect, inspect, operate and retire. Each stage stores what a later reader needs, so a connection never turns into a bare key with no context. Credentials are encrypted at rest, the book and the tax references are written down and the sync history stays readable. Retirement ends access with a stated retirement reason, and it never erases the proof that a reviewer may need later. This page follows one connection from the first catalog read to its last day, and it notes what stays outside.
Key takeaway
A DaletBook connection has a clear start and a clear end. You choose a provider from declared capabilities, connect with credentials encrypted at rest, then run syncs and reviewed writes. Retirement removes credentials and schedules but keeps provenance, sync history and evidence, and an active hold blocks it.
Why do old connections that outlive their purpose do harm?
Also, a connection is a working key to someone's books. Also, if nobody owns it, four problems grow over time. In addition, many reviewers begin with each accounting connection lifecycle when they audit a flow. Test it on a small case first.
- An unused connection still holds a live credential.
- The legal country or the accounting book is guessed from the provider name.
- Deleting the row also deletes what a reviewer may need later.
- Nothing stops a cleanup while a review still depends on the data.
Moreover, a written lifecycle answers each of these in advance. In addition, it tells you what to store, who may end a connection and what remains afterwards. Check the accounting connection lifecycle again after each change at the provider. Check the result again today.
What are the five stages of a connection, in order?
- Choose a provider in the catalogue after you read its declared reads and writes.
- Connect it, with credentials encrypted at rest and explicit legal and book references.
- Inspect the connection record and the provider capabilities before any work starts.
- Operate it, with syncs, schedules and queued writes that pass a review step.
Besides, the last stage is retirement. Moreover, you stop the connection with a stated reason, while its history stays readable. Keep the retirement reason simple, and test it on a small case first. Write each result down at once.
How does each stage look when you use the workspace?
Notably, the workspace shows each stage on its own page. Besides, the API offers the same steps for your own tools. Teams often ask how the accounting connection lifecycle works in practice. Keep each step small and clear.
How do you pick a provider by the reads it lists?
Likewise, the Provider catalogue lists 75 registered connectors. Search by provider or by primary market, and open the entry that fits. Indeed, the connector catalog page explains each field of an entry. Keep the accounting connection lifecycle simple, and test it on a small case first.
How do you link a book with the keys it needs?
In fact, you create the connection with its credentials, and DaletBook encrypts them at rest with Fernet. Notably, the service refuses to encrypt when no key is configured. Token refresh sits outside DaletBook, because the DaletAuth broker holds the OAuth2 grants of external providers. Furthermore, the page on how DaletBook secures accounting data traces the credential path.
Why must the legal country be typed in by hand?
Specifically, a provider's country is a primary-market label and not a fact about your tenant. Also, one provider can serve many countries. One business can keep books in several.
Overall, each connection stores an explicit two-letter legal country, an accounting book reference and tax registration references. DaletBook never infers that country from the provider.
Also, the notes on your legal country are reviewed by a second person. Ask a second person to look. Changes to our accounting connection lifecycle are logged with a reason.
Questions about each active hold are welcome in our classes. In addition, the next step builds on your active hold and adds an example. In addition, each exception to the retirement reason is recorded before it is approved. Plan the next step early.
What do you look at before you turn the work on?

A retired connection keeps its history, and the reason code stays beside it.
Moreover, the connection page shows the platform, the status, the legal country, the book and the tax references. Check them, and check the provider capabilities, before any job runs. Start small when you set up the accounting connection lifecycle. Besides, our trainers cover our active hold with practice records.
How do you run syncs and queue writes for review?
Notably, once the settings look right, you run pulls by hand or on an interval schedule. Moreover, you also queue writes, and each one passes a review step before it is confirmed. Likewise, the sync jobs page and the reviewed writes page cover those two stages. Questions about the accounting connection lifecycle are welcome in our classes.
What does retirement do, and what does it keep for you?
Indeed, in the API, DELETE /connections/{id} retires a connection. It does not erase it. Retirement does four jobs at once. People new to the topic should learn your accounting connection lifecycle first.
- It removes the sync schedules of the connection.
- It cancels a running job, if one exists.
- It closes pending outbox rows, each with an explicit reason.
- It replaces stored credentials with an encrypted empty object.
Provenance stays in place, namely provider, legal country, accounting book, location and tax references. In fact, the sync history of every job stays too, and so does the permanent evidence. That evidence remains readable, holdable and exportable. Nothing about the accounting connection lifecycle needs a special tool.
Share the notes with the team. Teams often ask how the accounting connection lifecycle works in practice.
Furthermore, you choose one of four retirement reasons in the workspace. They are tenant_requested, provider_replaced, accounting_scope_closed and security_response. Specifically, the code stays with the retired connection. Each rule for the accounting connection lifecycle is written down and dated.
So, a later reader knows why access ended. Good notes on the accounting connection lifecycle help the next person on the team.
Good notes on the retirement reason help the next person on the team. Start small when you set up the retirement reason. Overall, each rule for the accounting connection lifecycle is written down and dated. Keep the notes short and plain.
When does an active hold stop a retirement from going on?
A hold on the tenant, on the connection or on its evidence stops retirement until someone releases it. Each hold records its source, either a DaletMart matter or a local, authorized request. So, you know where to ask. The notes on your legal country are reviewed by a second person.
Also, the next step builds on your accounting connection lifecycle and adds an example. Many reviewers begin with your active hold when they audit a flow. Our trainers cover our accounting connection lifecycle with practice records.
Release needs both the evidence hold capability and the connections write capability. Check the holds first, and contact whoever placed the hold before you try again. In addition, the permanent evidence page explains the five hold scopes. A reviewer will want to see your accounting connection lifecycle written down.
How does a firm move one client to a new provider?
Moreover, a staff member finds the new provider in the catalogue and reads its declared reads and writes. They create the connection with the same legal country, a new book reference and the client's tax references. Besides, they inspect the record and run a first sync by hand. Teams often ask how our retirement reason works in practice.
Notably, once the pulls look right, they add an interval schedule. Before retiring the old connection, they open its holds and find one placed for a client query. After the query closes and the hold is released, they retire the old connection with the provider_replaced reason. Plain language helps when you describe your accounting connection lifecycle.
Check the retirement reason again after each change at the provider. Plain language helps when you describe the active hold. Likewise, a reviewer will want to see your active hold written down. Changes to our accounting connection lifecycle are logged with a reason.
What does a written lifecycle give your team each day?
- Context from day one, because the country, book and tax references are written down.
- Protected secrets, because credentials are encrypted at rest from the first save.
- Early answers on coverage, because declared reads and writes show before any job runs.
- Clean exits, because retirement cuts access without erasing history.
Holds also keep a connection alive until someone releases them, which respects open reviews. Indeed, our trainers cover our accounting connection lifecycle with practice records. Nothing about the retirement reason needs a special tool. Nothing about the legal country needs a special tool.
Which gates sit outside the product and rest on setup?
In fact, some parts depend on the deployment around DaletBook. Sign-in comes from the host application through one seam. A development identity covers local work. Keep the accounting connection lifecycle simple, and test it on a small case first.
Provider approvals belong to the company that offers the integration. Furthermore, the app approval checklist walks through that business and legal gate.
Specifically, one Fernet key protects every stored credential, and key rotation is future scope. The provider account setup API is off by default. Each connector was written from public documentation and is exercised against mocked responses, so run your own sandbox book first. Overall, this part of the page shows how the accounting connection lifecycle fits the whole flow.
How do you walk one connection from setup to retirement?
Pick one provider and one sandbox book. Create the connection, inspect it, run a pull and then retire it with a reason. Also, that short loop shows every stage and what stays on file. Good notes on the active hold help the next person on the team.
Book a session with our team. We walk through it on your own systems. A reviewer will want to see your accounting connection lifecycle written down.
Questions and answers on this topic from the product team
What happens to stored credentials when a connection is retired?
Retirement replaces the stored credentials with an encrypted empty object, so the connection can no longer reach the provider. Its schedules are removed, any running job is cancelled, and pending outbox rows close with an explicit reason.
Can you still read a retired connection's sync history and evidence?
Yes. The sync history stays with the connection record, and the evidence remains readable, holdable and exportable. Each read adds an access receipt, and later questions stay answerable after access has ended.
Why is the legal country entered by hand instead of read from the provider?
A provider's country is a primary-market label and not a fact about your tenant. DaletBook stores an explicit two-letter legal country on each connection and never infers it. That keeps the legal and tax context right months later.
What can stop an accounting connection from being retired?
An active hold on the tenant, the connection or its evidence stops retirement until someone releases it. Release needs the evidence hold capability and the connections write capability, and each hold records its source.
Does DaletBook refresh a provider's OAuth tokens on its own?
No, the DaletAuth broker owns the token lifecycle for external providers. When a provider answers 401, the shared client raises an expired-authorization error. The sync run then stops at the connection level.
See how DaletBook fits the providers your team uses today
Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.