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

Unified Accounting API Guide for Product Teams

A unified accounting API gives your product one interface to many accounting and ERP systems, and this guide explains it. It is written for product and engineering teams, and nothing in it depends on one vendor or on one provider. DaletBook appears as a worked example, so each idea comes with real code facts, and each limit is named plainly. Six questions run through the guide, and you can ask them of any vendor, including DaletBook, before you ever decide. The reading question is about declared capabilities, because coverage claims should come from code and not from a logo wall.

Also, the guide also shows how DaletBook answers each question today. Also, where the answer is a limit, the page says so. Also, it points to the post that goes deeper.

In addition, a unified accounting API is a design choice. In addition, a clear design choice needs clear answers. People new to the topic should learn your unified accounting API first.

Moreover, our trainers cover our access receipts with practice records. People new to the topic should learn your access receipts first.

Illustration of puzzle, code, folder for unified accounting API
Key takeaway

A unified accounting API is only as good as its answers to six questions. Ask who authorized access, what each connector reads, how faithfully fields map, who reviews writes, whether sync is complete and whether you can prove what was read.

What are the six questions to ask of any vendor?

Besides, a useful way to judge any unified accounting API is to ask each question in turn. Moreover, the first three cover the way in. Plain language helps when you describe the unified accounting API.

Notably, our trainers cover our access receipts with practice records.

Likewise, the next step builds on your common model and adds an example.

Indeed, this part of the page shows how the declared capabilities fits the whole flow.

Keep the unified accounting API simple, and test it on a small case first. Check the declared capabilities again after each change at the provider. People new to the topic should learn your common model first.

  • Authorize: who granted access to which ledger, and can that access be withdrawn?
  • Read: which entity types does each connector actually fetch?
  • Map: does the shared model keep the provider's meaning, or does it guess?

In fact, the other three cover what happens after the data arrives. People new to the topic should learn your unified accounting API first. Nothing about the declared capabilities needs a special tool. Questions about the common model are welcome in our classes.

  • Write: who checks an invoice or a journal entry before it reaches a live ledger?
  • Sync: did the last run finish, and what happens to records the provider removed?
  • Prove: can you show a reviewer what you read, when you read it and from where?
Six questions around trusted accounting data, from authorized to provable
Six questions decide how far you can trust data from a unified accounting API.

Vertical SaaS teams with embedded finance reach for a unified accounting API. So do fintechs and lenders, ERP vendors and agencies, back-office teams after an acquisition and developers who want one schema. Furthermore, each group weighs the six questions differently, but none can skip them. Teams often ask how the unified accounting API works in practice.

Specifically, each exception to the declared capabilities is recorded before it is approved.

Overall, every read through a unified accounting API starts with consent. Besides, a customer grants access to a ledger. The provider checks the app that asks. Providers such as QuickBooks and Xero require an approved app and signed terms before production use.

Also, a unified accounting API does not remove that step. Notably, either the vendor runs the approval program for you, or your own company does.

Treat an expired token as a connection problem and not as a data problem. In addition, a good design stops the run, marks the connection and asks for a new grant. Retrying a 401 response in a loop only burns the rate limit. Teams often ask how our unified accounting API works in practice.

Moreover, in DaletBook, a 401 raises an expired-authorization error in the shared HTTP client. Likewise, the job then stops with the auth_expired class. The DaletAuth broker holds the OAuth2 grants of external providers. A connection's encrypted state stays the fallback.

Provider app approvals belong to the company that offers the integration. Besides, the app approval checklist lists the steps and the owners.

Changes to our unified accounting API are logged with a reason.

Four questions for a unified accounting API, authorize, read, map and prove

Why should coverage claims come from code and not a list?

Notably, a logo wall counts systems, and a build plan needs depth. Ask any unified accounting API for declared capabilities per connector. A list derived from the connector's code is harder to inflate than a coverage page that someone writes by hand. Likewise, our trainers cover our unified accounting API with practice records.

Depth is uneven by nature. Indeed, one connector reads invoices and payments, and another reads only contacts. A long tail of partial support is normal.

So, the only honest answer is a per-connector list. In fact, our trainers cover our unified accounting API with practice records.

DaletBook registers 75 accounting and ERP connectors. Furthermore, each advertises the entity types its code reads. A generator derives that list from the source. A parity test fails when the list and the code differ.

Xero reads 13 entity types, QuickBooks Online reads 11, NetSuite reads 8 and FreeAgent reads 17. Contacts are read on 73 connectors and tax rates on 45. Financial reports appear on 16 connectors, tax filings on 7 and payroll entities on 10.

An earlier audit of 93 providers found 179 documented endpoints that were not built, and 96 were built later. Each connector was written from public documentation, so run your provider in a sandbox before you promise a feature. Plain language helps when you describe your unified accounting API. Good notes on the unified accounting API help the next person on the team.

How should a common model treat the source fields you need?

Specifically, a common model is the heart of any unified accounting API. It gives your code one shape, and it hides the provider's dialect. Overall, every model also leaves some provider detail out. Each vendor handles that loss in its own way, so ask how.

Also, two habits keep the loss safe. First, keep the provider's original response next to the mapped record, so nothing is lost. Second, return empty when the provider does not document a field. In addition, the next step builds on your unified accounting API and adds an example.

Keep the declared capabilities simple, and test it on a small case first. Plain language helps when you describe your common model. Moreover, a reviewer will want to see your common model written down.

Besides, our trainers cover our common model with practice records. People new to the topic should learn your common model first. Plain language helps when you describe the access receipts. Notably, each exception to the declared capabilities is recorded before it is approved.

DaletBook common record with raw data screen
For example, the common record with raw data screen of DaletBook.

Why does an empty field beat a value we made up?

Likewise, a guessed value looks exactly like a real one to every system downstream. A missing exchange rate becomes 1.0, and nobody knows that it was never real. Indeed, an empty field says that the source gave nothing.

Your screens can show that state. Keep the unified accounting API simple, and test it on a small case first.

DaletBook maps records into 18 canonical entity types, from contact and account to pay run and payslip. Fields cover currency, tax semantics, chart conventions, dimensions and attachments. In fact, every record keeps the provider's response in a raw field. The common data model page lists each group of fields.

How do you map charts, tax and currency and keep meaning?

Charts of accounts differ widely across ledgers. Furthermore, one ledger codes revenue as 4000, another as 7000. A third uses names with no codes. A unified accounting API can normalize the account type to asset, liability, equity, income or expense.

Specifically, it should also keep the customer's own chart intact. The article on chart of accounts mapping explains the two layers.

Tax is the field set that a unified accounting API is most likely to flatten badly. Keep a tax kind, a jurisdiction and a reverse charge flag, and keep tax on each line. Never recompute what the provider reported, because rounding and timing can produce a different number. Overall, the post on accounting tax normalization covers each field.

DaletBook records a tax kind with six values, which are vat, gst, sales_tax, withholding, exempt and none. It also keeps jurisdiction, reverse charge and per-line tax, plus base currency, FX rate and FX gain or loss. DaletBook gives no tax or accounting advice. Also, a reviewer will want to see your unified accounting API written down.

Illustration for Unified Accounting API Guide for Product Teams

Why should a person review every write before it leaves?

Reading is safe, and writing is not. In addition, a wrong invoice in a customer's ledger is costly to undo. A careful unified accounting API treats each write as a request that waits in a queue. For consequential writes, it shows a person a summary and lets them correct a value before they confirm.

Moreover, each choice about our access receipts is explained to the reviewer. Each rule for the unified accounting API is written down and dated.

Besides, each write also needs a key. So, that a retry repeats the same request. Writes should be offered only where the provider supports them, and never as a promise that the vendor cannot keep.

Notably, a reviewer will want to see your unified accounting API written down. People new to the topic should learn your unified accounting API first.

DaletBook queues creates, updates and voids in an outbox. Likewise, each entry tracks its attempts, with a default maximum of five. The workspace shows a review screen before you confirm.

The connector's declared capabilities gate the write. Indeed, the reviewed writes page explains the queue. The ledger write-back guide goes deeper.

Questions about each unified accounting API are welcome in our classes. Check the unified accounting API again after each change at the provider. In fact, our trainers cover our unified accounting API with practice records. Our trainers cover our common model with practice records.

How do sync jobs, paging and rate limits fit together?

Furthermore, most traffic through a unified accounting API is reading, and most reading is paging. Each page costs a request, and providers cap requests. Rate limits therefore shape the rest of the design. Spread calls across time and across connections, and treat a 429 as a signal to stop.

Not every error deserves a retry. An expired credential, a provider outage and a rate limit end the run, while one bad record should not. Classify failures before you retry them. Start small when you set up the unified accounting API.

DaletBook runs pull jobs on demand or on interval schedules per connection. Specifically, only one job runs per connection and direction. A second trigger gets a 409. A 429 raises a rate-limit error in the shared client and stops the run.

Overall, each job ends as succeeded, partial or failed. The post on accounting API rate limits covers provider limits in depth.

DaletBook job status screen
For example, every sync job closes as succeeded, partial or failed.

How do idempotency and safe replays protect all your data?

Also, an idempotent unified accounting API makes every repeat harmless. The second run updates rows and does not add copies. In addition, that needs a key that names one real record.

Use the provider's own record identifier, scoped to the tenant and the source system. Never use a value that users can edit.

DaletBook upserts every pull on the tenant, the source platform and the provider reference. Moreover, a replayed pull therefore never duplicates rows. History is written in the same transaction as the current row.

An identical replay adds nothing to it. Besides, the article on idempotent accounting sync walks through the rules.

Plain language helps when you describe the common model. Questions about each common model are welcome in our classes. Plain language helps when you describe each access receipts.

Notably, many reviewers begin with the access receipts when they audit a flow. The notes on your common model are reviewed by a second person. Likewise, any gap in your unified accounting API is flagged before the next release. The notes on your common model are reviewed by a second person.

What happens to a record the provider deletes or voids?

Deletion is the quiet gap in many unified accounting API products. Indeed, an upsert writes what it sees. A deleted record simply stops appearing.

A voided or archived record may still come back with a new status, and that signal is readable. Check the unified accounting API again after each change at the provider.

Plan for the gap in your own design. Compare provider IDs with your stored IDs on a schedule, and compare report totals before each close. DaletBook does not mirror deletions today, because its pulls are upsert-only. In fact, the post on deleted accounting records shows how to find them.

How do evidence and access receipts help a late review?

Furthermore, a unified accounting API with an evidence layer keeps every accepted version of a record. A reviewer can then see what you read on the day you decided. Access receipts add the other half, because they show who opened the evidence and why. Specifically, many reviewers begin with each unified accounting API when they audit a flow.

Overall, many reviewers begin with your access receipts when they audit a flow. The next step builds on your access receipts and adds an example. Also, each rule for the unified accounting API is written down and dated. Changes to our unified accounting API are logged with a reason.

DaletBook appends a sanitized generation for every accepted pull, across all 18 entity families, before it updates the current record. Changed values form an ordered correction chain, and holds work at five scopes. In addition, every read leaves an access receipt with one of six purpose codes. The accounting audit trail guide covers the chain, the holds and the exports.

Should the API pass requests through or store the records?

Under the hood, every unified accounting API answers a request in one of two ways. Pass-through asks the provider each time. So, the data is fresh and little sits at rest.

Stored records keep a normalized copy, so reads are fast and history exists. Good notes on the unified accounting API help the next person on the team.

A request answered by live pass-through or by a stored normalized record
Pass-through answers from the provider live, and stored records answer from a normalized copy.

Moreover, a balance check before a payment fits pass-through, because freshness matters most. A lending review fits stored records, because you must show what you saw on the day you decided. Month-end reporting across many ledgers also fits stored records, because paging many providers live is slow. DaletBook sits on the stored side, because its evidence layer depends on keeping each accepted pull.

How do you choose a vendor for a unified accounting API?

Ask each vendor the same questions in writing. Ask for a per-connector list of declared reads and how it is produced. Ask what happens to a field outside the common model, and who reviews a write. Ask how deletions reach your system and what history you can show.

Market vendors differ in the way they run. Merge and Rutter run managed services with wide platform lists and vendor monitoring. DaletBook is a service you host with reviewed writes and permanent evidence. Besides, the Merge comparison and the Rutter comparison set out the facts as each vendor publishes them.

Notably, each exception to the declared capabilities is recorded before it is approved.

How do you plan security and compliance for ledger data?

Ledger data is sensitive, so ask a unified accounting API vendor for controls and not for slogans. Ask how credentials are stored, how tenants are kept apart and what is kept out of storage. Ask which records the system writes on every run, and who can read them. Nothing about the unified accounting API needs a special tool.

Likewise, in DaletBook, credentials are encrypted at rest with Fernet, and API responses never return them. Every operation on the main API is denied by default and needs a capability grant. Forced row-level security keys every tenant table to the current tenant.

Sanitization removes secrets and card data from evidence before it is stored. Indeed, the security controls page lists each control in the order of a request.

DaletBook is GDPR, HIPAA and CCPA/CPRA compliant. A SOC 2 readiness program is underway. Controls are aligned to the AICPA Trust Services Criteria.

In fact, your own environment adds key custody, monitoring and backups, so plan those with the same care. Questions about the unified accounting API are welcome in our classes.

Start small when you set up the declared capabilities. People new to the topic should learn your access receipts first. Questions about your access receipts are welcome in our classes. Furthermore, any gap in your unified accounting API is flagged before the next release.

How should a team test a unified API in a sandbox?

Specifically, a sandbox test turns a coverage claim into a fact. Pick one provider, and create a test company with realistic data. Pull the entity types your product needs, and compare counts with the provider's own screens. Match report totals, and read what the provider returned for a field that looks odd.

Overall, the next step builds on your unified accounting API and adds an example. Start small when you set up the declared capabilities. Nothing about the declared capabilities needs a special tool. Also, many reviewers begin with each common model when they audit a flow.

In addition, many reviewers begin with your common model when they audit a flow. A reviewer will want to see your access receipts written down. Questions about each access receipts are welcome in our classes. Moreover, a reviewer will want to see your access receipts written down.

Then test the hard cases. Pull the same pages twice and count the rows. Edit a record at the provider and pull again. So, you see how a change arrives.

Delete a record and see what your copy shows. Queue one write, review it and confirm that the provider answers with a reference.

Record the date and the result of each test. A dated list shows a reviewer what you checked. It tells your sales team what they can promise.

Besides, the implementation plan turns these tests into four weeks. Nothing about the unified accounting API needs a special tool.

Notably, each choice about our access receipts is explained to the reviewer. Each rule for the unified accounting API is written down and dated.

Which mistakes do new teams tend to repeat in a first year?

Four mistakes appear again and again. Teams promise a provider before they read its declared reads. Likewise, they map into one master chart and lose the customer's own structure.

They recompute totals from lines, and then argue with the ledger. Indeed, they write straight to the provider with no review and no key.

In fact, a fifth mistake is quieter. Teams treat an expired token as a data error and retry it in a loop. That burns the rate limit and hides the real problem, which is a connection that needs a new grant. Keep the unified accounting API simple, and test it on a small case first.

Furthermore, each mistake has a plain fix in this guide. Read the declared reads, and keep the customer's chart. Read totals as returned, and queue and key every write.

Stop a run on a connection error. None of the fixes needs special tools. Specifically, each needs a rule that your team writes down.

How can order and sales data reach a ledger through it?

Commerce systems create the facts that a ledger needs. An order becomes an invoice, a refund becomes a credit note and a payout becomes a bank transaction. DaletBook has an opt-in link to DaletMart (opens in new tab) for this path. Good notes on the unified accounting API help the next person on the team.

When the link is switched on, DaletBook sends signed accounting facts to DaletMart through a durable outbox. Examples are chart snapshots and bank transactions. Overall, in the other direction, reviewed bank postings arrive through a separate least-privilege queue.

Each posting is checked against the capabilities of the connector. Also, the link is off by default, and it needs credentials and mappings before it runs.

A diagram with the topic at the centre and four connected parts: Common model, Access receipts, Six.

Which working habits apply to any API of this kind?

Five habits hold up across vendors and providers. In addition, this part of the page shows how the unified accounting API fits the whole flow. Many reviewers begin with your unified accounting API when they audit a flow. Moreover, a reviewer will want to see your unified accounting API written down.

Besides, this part of the page shows how your declared capabilities fits the whole flow. Teams often ask how the declared capabilities works in practice. Good notes on the declared capabilities help the next person on the team. Check the declared capabilities again after each change at the provider.

  • Keep the provider's original response next to every mapped record.
  • Return empty for a field that the provider does not document.
  • Queue writes, key them and let a person review the consequential ones.
  • Compare counts and report totals on a schedule, so drift shows early.

Finally, test each provider in a sandbox with your own data before you promise a feature to a customer. Start small when you set up the unified accounting API. Notably, this part of the page shows how our unified accounting API fits the whole flow. Teams often ask how your unified accounting API works in practice.

How do you turn these answers into a plan for your team?

Write the six questions down, and answer each one for the provider your customers use most. Mark every answer as proven, unproven or not covered. Then run one provider through an implementation plan, and let the results decide what to build next.

Likewise, the implementation plan shows the steps, and the glossary defines the terms. Book a session with our team to walk through your own list.

Indeed, the notes on your common model are reviewed by a second person. Changes to our unified accounting API are logged with a reason. In fact, any gap in your unified accounting API is flagged before the next release.

A diagram of three stacked layers, from the first at the top: Declared capabilities, Common model, Access.

Questions and answers on this topic from the product team

How is a unified accounting API different from a direct integration?

A direct integration talks to one provider in its own format, so you build one connector per ledger. A unified accounting API puts one interface and one model over many providers.

Does a unified accounting API remove the need for provider app approval?

Not in every case. Providers such as QuickBooks and Xero require an approved app and signed terms before production use. Some vendors run that program for you, while others leave it to your company.

How can I check which entities a connector really reads?

Ask for a per-connector list of declared reads, and ask how that list is produced. A list derived from the connector's code is harder to inflate than a hand-written coverage page.

Should a common data model replace the provider's original fields?

No. The common model should sit next to the original data and not replace it. Mapped fields keep your code simple, but every model leaves some provider detail out.

Why might a sync keep records the provider already deleted?

Many syncs only insert and update. When a provider deletes or voids a record, an upsert-only sync never hears about it, so the local copy stays.

When does a pass-through design fit better than stored records?

Pass-through fits when freshness matters most and you want little data at rest, such as a balance check before a payment. Stored records fit when you need history and quick reads of the data.

How should provider rate limits shape a sync schedule?

Spread calls across time and across connections, and treat a 429 response as a signal to stop and resume later. Retrying at once only spends the limit faster.

Can a unified accounting API decide how to post a transaction?

It should not. An integration moves and maps data, while posting decisions belong to the business and its advisers. DaletBook gives no tax, accounting or audit advice.

What should a first implementation with a unified accounting API prove?

Pick one provider and one or two entity types your product truly needs. Prove that authorization works, that declared reads match what arrives and that mapped values match the ledger.

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.