Finance & Payments pack

Vendors CSV import API

Import supplier master data with IBAN and BIC checked on every row. Changed payout details are held for review before they commit.

30-second curl
curl -X POST https://api.adaptivmapr.com/v1/uploads \
  -H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
  -F "template=vendors_v1" \
  -F "file=@your_data.csv"
→ 8 canonical fields · 3 validated · medium risk

Canonical columns

The whole schema, printed as it ships.

Every canonical column, the type each row carries, whether it is required, the field-level validators that fire on commit, and the multilingual header hints the cascade resolves against. This is the shipped definition, not a summary of it.

vendors_v1
fields
8
required
2
validated
3
hints
48
Canonical columnTypeRequiredValidatorsHeader hints the cascade matches
vendor_idstringyes—lieferantennummerkreditorkreditorennummernuméro fournisseurcodice fornitorevendor idsupplier idcódigo de proveedor
legal_namestringyes—lieferantfirmafournisseurraison socialefornitoresupplierproveedorvendor name
tax_idstring——ust-idmwst-nruidnuméro de tvapartita ivavat numbertax idnif
ibanstring—ibanibanbankverbindungcompte bancaireconto bancariobank accountcuenta bancaria
bicstring—bicbicswiftswift code
emailemail—emaile-mailmailcourrielcorreo
countrystring——landpayspaesepaíscountry
payment_terms_daysnumber——zahlungszielzahlungsfristdélai de paiementtermini di pagamentopayment termsplazo de pago

Read the same definition as JSON at GET /v1/templates/vendors_v1. A hint match resolves on layer 2 — no LLM call, no token spend, just the flat per-map fee. Hover a validator id to see what it checks.

  • 8 canonical fields
  • 2 required
  • 3 validated
  • 48 header hints, 5 languages

Why it exists

Written for the file you actually receive.

The Vendors template is the canonical shape for supplier master data — the creditor list accounts payable pays from. Each row carries the vendor_id, the legal_name, a tax_id, the payout IBAN and BIC, an email for remittance advice, the country and the payment terms in days. Procurement and AP teams reach for it when moving the creditor master between ERPs, when merging supplier lists after an acquisition and when onboarding a batch of new suppliers from a sourcing tool. It is `medium` risk for a specific reason: a supplier whose IBAN quietly changes is the classic payment-redirection fraud, and a bulk import is exactly where a swapped account number hides. In production the commit is refused until a workspace member approves that exact mapping in the dashboard, and an approval is bound to the mapping it saw — edit the mapping afterwards and it needs approving again.

vendor_id and legal_name are required. iban runs a mod-97 checksum with a country allow-list (CH, LI, DE, FR, IT, ES, AT, NL, BE), so a transposed digit or an out-of-region account fails at the dry-run rather than at the bank. bic is checked against the SWIFT shape, email against an address shape. payment_terms_days is a number, so "30 Tage netto" needs reducing to 30 before it lands. tax_id is free text because UID, USt-IdNr, TVA and partita IVA formats differ.

Migration scenarios & the foreign headers they ship

Migration scenarios for the Vendors template: an SAP vendor-master extract moving to a new ERP, an Abacus creditor list merging with a Bexio one after two companies combine, Coupa or another sourcing tool handing newly onboarded suppliers to AP, and a yearly clean-up of dormant creditors. The headers that ship: "Kreditor / Kreditorennummer / Lieferantennummer / Numéro fournisseur / Codice fornitore / Supplier ID / Lieferant / Firma / Raison sociale / Fornitore / USt-ID / MWST-Nr / UID / Numéro de TVA / Partita IVA / IBAN / Bankverbindung / Compte bancaire / BIC / SWIFT / E-Mail / Courriel / Land / Pays / Zahlungsziel / Délai de paiement". SAP's "Name 1" and "Zahlungsbedingung" are not registered hints and go further down the cascade.

The cascade

Six layers, and the cheapest one wins.

Layers run in order and stop the moment a column resolves. That is the single biggest cost lever in the system: a column caught on layer 2 never reaches the metered layer 5.

  1. L1Statisticsno LLM

    Auto-accepts a header that past confirmations already resolved the same way, at {minN:100, minRatio:0.95} or {minN:20, minRatio:1.00}.

  2. L2Heuristicno LLM

    Normalises accents, punctuation and whitespace, then compares against the column name, the label, and every registered hint (DE / FR / IT / EN / ES).

  3. L3Fuzzyno LLM

    Token-set ratio plus Levenshtein over the normalised strings. Auto-accepts at 0.80 — it absorbs typos and reordered words.

  4. L4Semanticcheap, cached

    Embedding cosine between the header and the field’s label + hints. Catches the long tail of paraphrases.

  5. L5LLMmetered

    Everything still unresolved goes up in ONE batched, collision-aware call, constrained to this template’s column set so it cannot invent a field.

Try it

One template id, two ways in.

REST for your import pipeline, MCP for your editor. Both run the same cascade and both honour the same schema-only clamp.

REST · POST /v1/uploads

Name the template; the cascade picks up the rest. The canonical definition is read-only at GET /v1/templates/vendors_v1.

bash
curl -X POST https://api.adaptivmapr.com/v1/uploads \
  -H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
  -F "template=vendors_v1" \
  -F "file=@your_data.csv"
→ upload created · mappings ready · confirm before commit

MCP · Cursor / Claude Desktop

Drop AdaptivMapr into your editor and call the same cascade as a tool. Schema-only calls leave only column names and a few example values.

mcp
// In Cursor or Claude Desktop with the AdaptivMapr MCP server installed:
adaptivmapr.match_headers({
  template_id: "vendors_v1",
  headers: ["vendor_id", "legal_name", "tax_id", "iban"]
})
schema-only · column names and a few examples only
MCP install instructions
medium-risk template

The mappings response comes back flagged. PATCH /uploads/:id/mappings returns requires_hitl: true and hitl_status: "pending_review" and on the hosted API a commit waits until a workspace member records an approval. Schema-only mode (column names and a few example values, never the full file) is a data-minimization mode enforced at the HTTP edge. Full-data mode routes the metered layer-5 call to phi-cloud in-region under a BAA, costs 20% more on the whole map charge, and stays locked until the workspace accepts the BAA/NDA in Settings → Security & Data.

How the wallet is charged

Questions

Vendors CSV import — FAQ

Does AdaptivMapr detect that a vendor's IBAN changed?
It does not compare against your previous vendor file. What it does is hold the whole import: the template is medium risk, so the commit is refused until someone in your workspace approves that exact mapping in the dashboard. Comparing old and new bank details belongs in your AP system's change-control, which this review step is meant to sit in front of.
Is the bank account verified with the bank?
No. The IBAN checksum, the allowed country list and the BIC shape are checked locally. Confirmation-of-payee is a banking service and stays outside the mapping step.
We pay suppliers outside the allowed IBAN countries. What then?
Those rows fail validation as the template ships. Save an edited copy as a workspace schema with the IBAN countries you actually pay into.
What leaves our environment while the mapping is decided?
In Minimal data mode, only column names and a few example values. Full vendor rows, including every IBAN, stay on your side unless you choose Full data mode.

Map vendors in production — without shipping raw records.

Minimal data mode sends only column names and a few example values — never the full file. Add full-data when you need row-level AI, routed in-region under a BAA.