/v1/validations/{id}Path parameters
- idstring (uuid)Required
Response
A 200 answer carries these fields.
- idstring (uuid)Required
- kindstringRequiredOne of
validation,conversion. - contextstringRequiredOne of
received,issued. - statusstringRequiredOne of
processing,completed. - itemCountintegerRequired
- pendingintegerRequired
- policyVersioninteger or nullRequired
The immutable company policy version frozen at acceptance. Null only when the default policy applied; the default then stays frozen even if the company saves a policy while items wait.
- mappingVersionstring
For a mapped-file conversion only, the frozen mapping that read the file, whether the request named it or the API picked the one that reads the file.
- notesarray of object
On the answer that accepts a mapped-file conversion only, and only when there is something to say.
new_fields: the file has fields its mapping has never seen, converted without them.missing_fields: the file lacks fields its mapping reads.optional_fields_absent: the file lacks fields its mapping lets a file lack. In each,fieldsnames each place: a JSON Pointer into the file's record with row numbers left out, as a mapping's column names it, such as/Kostenstelle. These are Certinvo's checks, not the validator's: the validator decides each invoice. Save the mapping's next version from the file (POST /v1/mappings/draftswithfrom) to decide each field once. Not kept with the operation: a later read of it does not carry it.Show 3 child fields
- kindstringRequiredOne of
new_fields,missing_fields,optional_fields_absent. - mappingVersionstringRequired
- fieldsarray of stringRequired
- retentionobjectRequired
Show 2 child fields
- kindstringRequiredOne of
temporary,durable. - expiresAtstring (date-time) or nullRequired
Required for temporary results and null for durable results.
- itemsarray of objectRequired
Show 6 child fields
- indexintegerRequired
- statusstringRequiredOne of
pending,done,failed. - invoiceIdstring (uuid)
- verdictstringOne of
clean,acceptable-with-findings,rejected. - filesarray of object
The generated renderings of this conversion item that a download hands out. A file the release guard withholds, such as one of a rejected invoice, is not listed. Absent on validation items and when no file may leave.
Show 3 child fields
- formatstringRequired
- mediaTypestringRequired
- bytesintegerRequired
- errorobject
Show 3 child fields
- codestringRequiredOne of
unreadable_document,invalid_invoice,engine_unavailable,virus_found,invoice_number_used. - messagestringRequired
- detailstring
For
invalid_invoiceonly, the writer's sentence naming each missing or wrong field by its JSON Pointer, such as "the invoice has no/seller/legalName." It holds no value from the invoice.
Status codes
| Status | Meaning |
|---|---|
200 |
The operation and every item in request order. |
404 |
/v1/validations/{id}curl https://api.certinvo.com/v1/validations/$VALIDATION_ID \
-H "Authorization: Bearer $CERTINVO_API_KEY"const validationId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'
const response = await fetch(`https://api.certinvo.com/v1/validations/${validationId}`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
validation_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
response = requests.get(
f"https://api.certinvo.com/v1/validations/{validation_id}",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text){
"id": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
"kind": "validation",
"context": "received",
"status": "processing",
"itemCount": 0,
"pending": 0,
"policyVersion": 0,
"mappingVersion": "string",
"notes": [
{
"kind": "new_fields",
"mappingVersion": "string",
"fields": [
"string"
]
}
],
"retention": {
"kind": "temporary",
"expiresAt": "2026-09-17T09:30:00Z"
},
"items": [
{
"index": 0,
"status": "pending",
"invoiceId": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
"verdict": "clean",
"files": [
{
"format": "string",
"mediaType": "string",
"bytes": 0
}
],
"error": {
"code": "unreadable_document",
"message": "string",
"detail": "string"
}
}
]
}