Skip to main content

Master Records

What it does

Master Records resolves the vendor, customer and material rows held in several systems of record, typically the ERPs of merged companies, into one golden record per real-world entity. Every golden value names the sources it came from, and conflicting bank or tax details go to review. It also checks master-data changes, such as a new bank account, against your documents. It is for finance and master-data teams.

Add the app first. Master Records is a standard app (slug master-records). A workspace owner adds it in Apps: choose Create an App, then Add a standard app, then Add on its tile (or POST /v1/apps with slug master-records). Until it is added, its /v1 routes answer 404 and its agent tools do not appear. A switched-off app still answers reads and settings, but calls that start work answer 409; switch it on from the card menu in Apps or with POST /v1/apps/{id}/enable.

What you give it

  • Per domain (vendors, customers, materials), one or more SQL connections of your workspace and a read-only SELECT per source that returns at least id and name.
  • Optionally, change-log queries and a Spec whose run holds the evidence documents (such as bank letters).

What you get

  • Golden records with their members, a score, and conflicts: a disagreement on iban or tax_id is bad, other differences are warn.
  • A crosswalk from every source id to its golden key, also as CSV.
  • Change checks: each bank change matched against the documents, and for a flagged change, the open payables at risk as exposure.

Run it in the app

  1. Open Apps → Master Records. An owner sets up the sources per domain.
  2. Run a domain and open the records that need review.
  3. Accept a merge, split it, or reopen an earlier decision. Read the change checks.

Run it with the API

Routes: GET/PUT /v1/master-records/config (with dry_run), POST /v1/master-records/{domain}/run, GET /v1/master-records/{domain}/overview, GET /v1/master-records/{domain}/records/{key}, POST /v1/master-records/{domain}/records/{key}/decision (accept, split, reopen), GET /v1/master-records/{domain}/changes, GET /v1/master-records/{domain}/crosswalk and crosswalk.csv.

Run the vendors, review, accept
curl -X POST "https://api.talonic.com/v1/master-records/vendors/run" \
  -H "Authorization: Bearer $TALONIC_API_KEY"

curl "https://api.talonic.com/v1/master-records/vendors/overview?status=review&limit=20" \
  -H "Authorization: Bearer $TALONIC_API_KEY"

curl -X POST "https://api.talonic.com/v1/master-records/vendors/records/$RECORD_KEY/decision" \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"decision": "accept"}'
Node: check a configuration without saving (owner key)
const res = await fetch('https://api.talonic.com/v1/master-records/config', {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_OWNER_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    dry_run: true,
    config: { domains: { vendors: { sources: [
      { label: 'ERP-A', connection_id: process.env.CONNECTION_ID,
        sql: 'SELECT lifnr AS id, name1 AS name, stcd1 AS tax_id, iban FROM vendors' },
    ] } } },
  }),
});
console.log(res.status, await res.json());

Full reference: Master Records API.

Run it with an agent

Tools: talonic_master_records_config, talonic_master_records_save_config, talonic_master_records_run, talonic_master_records_overview, talonic_master_records_get_record, talonic_master_records_decide, talonic_master_records_changes and talonic_master_records_crosswalk. Example ask: "Which vendor bank changes are not backed by a document, and how much is open on them?"

Limits and costs

Saving the configuration needs an owner; runs and decisions need a member. A run reads every source in full inside the request, so set a generous client timeout. A source returning more than 200,000 rows (the default cap) fails the run rather than resolving part of the master. Rows of the same source never merge. Work an app does for you draws on the same credit balance as the rest of the platform; no separate per-app price is published. See Billing, credits and usage and rate limits.

Errors

Status codes

ParameterTypeDescription
401authMissing or invalid API key. Send `Authorization: Bearer $TALONIC_API_KEY`.
403authThe key lacks the scope (`read` for reads, `write` for writes), or the person behind it is below member for a write.
404not foundThe workspace has not added the app (the message names slug `master-records`), or the id does not exist in this workspace. Add the app, then retry.
409conflictThe app is switched off, so it starts no work. Switch it on in Apps or with `POST /v1/apps/{id}/enable`.
400validationA query is not read-only, lacks `id` or `name`, or returns more rows than the cap. Nothing is stored.
422validationNo sources (or no change logs) are configured for the domain.

Next

Frequently asked questions

Does Master Records write to my ERPs?+
No. Every source is read with a read-only query, checked when you save and again at run time. The golden records and crosswalk live in Talonic.
Which value wins in a golden record?+
The most common value per field across the sources, and the earliest source on a tie. Each value names the sources it came from.
Can a golden key change?+
Yes, when a run or a decision changes a record's members. Key downstream tables on the source and source id, and refresh the golden key from the crosswalk.