What is the Enrichment API?

The Enrichment API adds structured data to supplier invoices and product data. It has two enrichments: posting suggestions, which propose account coding for each line of a supplier invoice, and product classification, which assigns UNSPSC codes to invoice lines and to products in catalogs and price lists.

EnrichmentWhat you sendWhat you get back
Posting suggestionsA supplier invoiceSuggested account coding per invoice line, for your team to confirm
Product classificationProducts with your own ID and a product name, or invoice linesA UNSPSC code for each product, returned with your ID
Capture (support step)A PDF invoiceHeader data and invoice lines as structured data

Capture turns a PDF invoice into structured data so that the enrichments have data to work with. Invoices that arrive as Peppol or other XML documents skip this step. Capture is also available on its own as the OCR API.

How a request works

  1. Send a POST request to the invoice or categorisation endpoint.
  2. Store the polling ID returned in the response.
  3. Collect the result with a GET request, no more than once every 30 seconds.
  4. Fetch the results for all enrichment types at once, or for one type.

●  ●  ●

Endpoints

POST /enrichment/{accountRegNo}/invoice POST /enrichment/{accountRegNo}/categorisation GET /enrichment/{accountRegNo}/{pollingId} GET /enrichment/{accountRegNo}/{pollingId}/{enrichmentType}
POST /enrichment/{accountRegNo}/invoice
POST /enrichment/{accountRegNo}/categorisation
GET  /enrichment/{accountRegNo}/{pollingId}
GET  /enrichment/{accountRegNo}/{pollingId}/{enrichmentType}

The sandbox is at api-test.qvalia.com and production at api.qvalia.com. Requests are authenticated with an API key or a JWT from the Account API.

Where the results are used

  • Accounts payable: confirmed account coding moves with the invoice into approval and posting.
  • Catalogs and price lists: add UNSPSC codes to items that lack them.
  • Spend analysis: group purchases by UNSPSC segment, family and class across suppliers.
  • Your own platform: show suggestions and classifications in your own interface.

Access

The Enrichment API is billed separately and requires additional permissions. Qvalia support enables the enrichments your account uses.

Contact Qvalia about the Enrichment API
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support