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.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=vendors_v1" \
-F "file=@your_data.csv"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 column | Type | Required | Validators | Header hints the cascade matches |
|---|---|---|---|---|
vendor_id | string | yes | — | lieferantennummerkreditorkreditorennummernuméro fournisseurcodice fornitorevendor idsupplier idcódigo de proveedor |
legal_name | string | yes | — | lieferantfirmafournisseurraison socialefornitoresupplierproveedorvendor name |
tax_id | string | — | — | ust-idmwst-nruidnuméro de tvapartita ivavat numbertax idnif |
iban | string | — | iban | ibanbankverbindungcompte bancaireconto bancariobank accountcuenta bancaria |
bic | string | — | bic | bicswiftswift code |
email | — | email | e-mailmailcourrielcorreo | |
country | string | — | — | landpayspaesepaíscountry |
payment_terms_days | number | — | — | 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.
- 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}.
- L2Heuristicno LLM
Normalises accents, punctuation and whitespace, then compares against the column name, the label, and every registered hint (DE / FR / IT / EN / ES).
- L3Fuzzyno LLM
Token-set ratio plus Levenshtein over the normalised strings. Auto-accepts at 0.80 — it absorbs typos and reordered words.
- L4Semanticcheap, cached
Embedding cosine between the header and the field’s label + hints. Catches the long tail of paraphrases.
- 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.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=vendors_v1" \
-F "file=@your_data.csv"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.
// 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"]
})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.
Questions








