Skip to content

API reference

Every field of the invoice model a column may go to

Mappings API

GET/v1/mappings/fields

Every field of the Certinvo canonical invoice a mapping may write, in schema order, with its German and English names, its EN 16931 id, its kind, whether it is required, and its code list. The same list a draft’s targets carries, for a mapping written without samples.

Status codes

Status Meaning
200 {targets}, one entry per field.
401 No usable credential was sent (invalid_credentials).
503 The profiler did not answer (profiler_unavailable).
GET/v1/mappings/fields
Example
curl https://api.certinvo.com/v1/mappings/fields \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const response = await fetch(`https://api.certinvo.com/v1/mappings/fields`, {
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

response = requests.get(
    "https://api.certinvo.com/v1/mappings/fields",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
No response body.
Success response
GET
/v1/mappings/fields
Every field of the invoice model a column may go to
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/mappings/fields" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close