DaletGuard supports civilians affected by armed conflict through Families Beyond War. All sides, no political affiliation. About our humanitarian work

Accounting Sync Jobs, Schedules and Retries

DaletBook accounting sync jobs turn each pull into a record you can follow from the trigger to the final status. A job starts on demand or when an interval comes due, and each run ends as succeeded, partial or failed. Only one job runs per connection and direction, so two pulls can never write the very same rows at once. Each failure gets an error class, and only the classes that make a connection unusable stop the whole run now. This page covers the controls you hold, the error classes, the final statuses and the gaps to plan around early.

Illustration of folder, calendar, document for accounting sync jobs
Key takeaway

Each pull in DaletBook is a job you can start, schedule, cancel and inspect. Only one job runs per connection and direction, connection errors stop the run while data errors do not, and a replayed pull never duplicates rows.

When does a pull run without any record of it?

Loose scripts leave no trail. Four problems show up again and again. Also, the next step builds on your accounting sync jobs and adds an example. Also, a reviewer will want to see your accounting sync jobs written down.

  • A scheduled pull starts while a manual one is still going, and both write at once.
  • One endpoint fails, the script logs a line, and the team sees success.
  • A rerun after a timeout inserts the same invoices again.
  • An expired token or a rate limit is retried in a tight loop.

In addition, so DaletBook runs every pull as one of its jobs, with rules instead of loose logs. Good notes on the accounting sync jobs help the next person on the team.

Moreover, each rule for the accounting sync jobs is written down and dated. Also, each exception to the error class is recorded before it is approved.

Besides, each choice about our interval schedule is explained to the reviewer. In addition, the notes on your one running job are reviewed by a second person. Teams often ask how the accounting sync jobs works in practice.

A diagram of 3 connected steps, each with a small drawing: Error class, One running job, Interval schedule.

How does one pull job run from trigger to final status?

Five steps of a pull job from trigger to succeeded, partial or failed status
A pull job moves from trigger to one of three final statuses.

Notably, a job is born in the running state and moves only to a terminal status. During the run, each entity type is pulled in turn. For every accepted pull, DaletBook appends a sanitized generation and then upserts the current record in the same tenant transaction. Likewise, the permanent evidence page explains that history.

DaletBook job status screen
The DaletBook job status screen, as a short demo.

Which controls do you hold over the jobs of a connection?

Each control maps to an API operation, so your own tools can do the same work as the workspace. Indeed, our trainers cover our accounting sync jobs with practice records. Moreover, any gap in your accounting sync jobs is flagged before the next release.

How do you run a pull right now, on demand?

The API answers with 202 and returns the new job right away, so you can follow it while it works. In fact, in the workspace, you pick the connection and press the run button for a pull. Teams often ask how the accounting sync jobs works in practice. Each rule for the accounting sync jobs is written down and dated.

Furthermore, the next step builds on your interval schedule and adds an example. People new to the topic should learn your interval schedule first. Specifically, each rule for the accounting sync jobs is written down and dated.

Overall, each connection can hold an interval schedule. A schedule stores the interval in seconds, an enabled flag and the next due time. Also, because each connection keeps its own clock, you can stagger tenants across the hour. Questions about the accounting sync jobs are welcome in our classes.

DaletBook allows one running job per connection and direction. In addition, if a second trigger arrives, the API returns 409 with an already active message. A pull and a push for the same connection can run side by side, but two pulls cannot. People new to the topic should learn your accounting sync jobs first.

How do you ask a running job to stop in time?

Moreover, you can request cancellation of a running job. It is checked before each entity pull or queued write, so completed work is not undone. Besides, a job whose cancellation was requested ends as cancelled, and a finished job cannot be cancelled. Keep the accounting sync jobs simple, and test it on a small case first.

How do you read the history of the past jobs?

Notably, the history loads 50 jobs by default. You can ask for a smaller or larger window, and the field accepts zero. Likewise, each row shows the direction, status, trigger, pulled and pushed counts and errors. Check the accounting sync jobs again after each change at the provider.

Synchronization jobs panel with status and direction filters and a synchronization history table
Product view: the jobs panel with filters and the history table.

How do you choose between run now and a schedule?

Run a pull now when you test a new connection, after you fix a credential or before a review. Use a schedule for steady freshness. Start with a modest interval, and watch the job history before you shorten it. Plain language helps when you describe your accounting sync jobs.

DaletBook does not promise a minimum safe interval for every provider, because provider limits differ. Indeed, the article on accounting API rate limits explains how to plan the budget. The nightly sync use case shows one fixed timetable. In fact, this part of the page shows how the accounting sync jobs fits the whole flow.

Furthermore, our trainers cover our error class with practice records. People new to the topic should learn your error class first.

Start small when you set up the one running job. Specifically, this part of the page shows how our one running job fits the whole flow. Our trainers cover our interval schedule with practice records. Overall, the notes on your one running job are reviewed by a second person.

Which errors stop a sync job, and which ones do not?

DaletBook sorts failures into classes, so a job reacts in proportion. Four error classes exist today. Nothing about the accounting sync jobs needs a special tool. Plain language helps when you describe the error class.

Changes to our accounting sync jobs are logged with a reason.

  • auth_expired means the provider answered 401, so the credential no longer works, and the run stops.
  • host_down means the provider host is treated as unavailable, and the run stops.
  • rate_limited means the provider answered 429, and the run stops.
  • data_error means one entity type failed, so it is counted and the rest continue.

The 401 and 429 checks live in one shared HTTP client, so every connector raises them the same way. Pushing on after a 429 would only draw further refusals from the same provider. Also, a reviewer will want to see your accounting sync jobs written down. A reviewer will want to see your interval schedule written down.

DaletBook does not refresh provider tokens itself. The DaletAuth broker owns the token lifecycle, so an auth_expired job needs a fixed credential before the next run. In addition, many reviewers begin with each accounting sync jobs when they audit a flow. Questions about each error class are welcome in our classes.

Teams often ask how your one running job works in practice. Moreover, many reviewers begin with your interval schedule when they audit a flow. Plain language helps when you describe each interval schedule. Changes to our accounting sync jobs are logged with a reason.

DaletBook connection drawer screen
For example, the connection drawer screen of DaletBook.

What are the three ways a finished run can close?

  • succeeded means that no entity type reported an error.
  • partial means that some entity types succeeded and at least one errored.
  • failed means that every entity type the job attempted errored, or a run-stopping error ended it.

Why does a replay never duplicate a row in the store?

DaletBook writes current records with an idempotent upsert on tenant, source platform and provider reference. Besides, a repeated pull lands on the same rows, so a rerun after a fix needs no cleanup. The guide to idempotent sync explains the key in detail. Start small when you set up the accounting sync jobs.

What does a nightly pull that closes partial look like?

Notably, a nightly pull reads contacts, invoices and bills for one connection. The bills call fails on an unexpected payload. Likewise, since the error class is data_error, the job carries on past bills.

It closes as partial, and the history shows which entity type failed. Indeed, in the morning, a person reads the error, fixes the cause and runs the pull again.

What do disciplined sync jobs give your team each day?

  • One running job per connection and direction removes a whole class of overlap bugs.
  • A partial status tells you exactly that, instead of a green light over a gap.
  • Connection errors end the run early, while one bad entity type does not block the rest.
  • Counts, triggers and statuses stay in the history for support and review.
Illustration for Accounting Sync Jobs, Schedules and Retries

Which gaps do you plan around before you schedule a run?

Pulls add and update rows, and they do not remove them, so a deleted record needs a separate check. In fact, each connector was written from public documentation and is exercised against mocked responses. Run your own sandbox book before you schedule real tenants. Identity for the API comes from the host application through one seam, and a development identity covers local work.

How do you map your first sync schedule with us?

Bring one provider and the freshness your product needs. Furthermore, we pick an interval together, run a first pull and read the history. The connection lifecycle page shows what comes before that first job. Book a session with our team to start.

Teams often ask how our accounting sync jobs works in practice. Specifically, a reviewer will want to see your error class written down. Nothing about the one running job needs a special tool. Check the one running job again after each change at the provider.

Common questions teams ask about sync jobs and how it works

What happens if I start a pull while another pull is still running?

The second request is refused with a 409 response that says a job is already active. A pull and a push for one connection can run side by side, but two pulls cannot. Wait for the first job to close, or request its cancellation.

Does a single bad record fail the whole sync job?

No, a data error on one entity type is counted, and the job moves on to the next one. The job closes as partial if some entity types succeeded. Only connection-level problems stop the run early.

How often can a schedule run a pull?

You set the interval in whole seconds for each connection. The schedule also keeps an enabled flag and the next due time. DaletBook promises no minimum safe interval, so start modestly and watch the job history.

Does DaletBook refresh an expired provider token during a sync?

No. When a provider answers 401, the shared client raises an authorization error, and the job stops with the auth_expired class. The DaletAuth broker owns token refresh for external providers.

If a provider deletes an invoice, does the next sync remove it?

No, pulls are upsert-only. A record that is deleted, voided or archived at the provider is not removed by the next job. Plan a separate check, and read our guide on deleted records in sync pipelines.

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.