Before your agent bills a customer
Before your agent bills a customer: get the whole Factur-X file it sends and the customer reads - a PDF/A-3B embedding the EN 16931 CII XML, the hybrid invoice mandated by the French 2026-2027 reform. Post simple business JSON (parties, lines, VAT), get a file ready to send and archive: totals computed, inconsistent input refused field by field, the official rule set cleared and the embedded XML re-read byte for byte. vat_treatment writes the reverse charge or intra-Community exemption mention.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.invoket.com/invoice/generate-pdf
| Category | Everything else |
|---|---|
| Provider host | api.invoket.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"buyer": {
"address": {
"city": "Paris",
"country": "FR",
"line1": "4 avenue du Parc",
"postal_code": "75011"
},
"name": "Agence Lumen SAS",
"vat_id": "FR23342663721"
},
"currency": "EUR",
"due_date": "2026-08-11",
"invoice_number": "FA-2026-0042",
"issue_date": "2026-07-12",
"lines": [
{
"description": "Fabrication comptoir chene massif",
"qty": "1",
"unit": "C62",
"unit_price": "1200.00",
"vat": {
"category": "S",
"rate": "20"
}
},
{
"description": "Pose et finition sur site",
"qty": "6",
"unit": "HUR",
"unit_price": "85.00",
"vat": {
"category": "S",
"rate": "20"
}
}
],
"payment": {
"iban": "FR7630006000011234567890189",
"terms": "30 jours nets"
},
"seller": {
"address": {
"city": "Lyon",
"country": "FR",
"line1": "12 rue des Artisans",
"postal_code": "69003"
},
"legal_id": {
"scheme": "0002",
"value": "732829320"
},
"name": "Menuiserie Dubois SARL",
"vat_id": "FR44732829320"
}
},
"bodyType": "json",
"headers": {
"accept": "application/json",
"content-type": "application/json"
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"buyer": {
"properties": {
"address": {
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"line1": {
"type": "string"
},
"postal_code": {
"type": "string"
}
},
"required": [
"country"
],
"type": "object"
},
"name": {
"type": "string"
},
"vat_id": {
"type": "string"
}
},
"required": [
"address",
"name"
],
"type": "object"
},
"currency": {
"type": "string"
},
"due_date": {
"type": "string"
},
"invoice_number": {
"type": "string"
},
"issue_date": {
"type": "string"
},
"lines": {
"items": {
"properties": {
"description": {
"type": "string"
},
"qty": {
"type": "string"
},
"unit": {
"type": "string"
},
"unit_price": {
"type": "string"
},
"vat": {
"properties": {
"category": {
"type": "string"
},
"rate": {
"type": "string"
}
},
"required": [
"category",
"rate"
],
"type": "object"
}
},
"required": [
"description",
"qty",
"unit",
"unit_price",
"vat"
],
"type": "object"
},
"type": "array"
},
"payment": {
"properties": {
"iban": {
"type": "string"
},
"terms": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"seller": {
"properties": {
"address": {
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"line1": {
"type": "string"
},
"postal_code": {
"type": "string"
}
},
"required": [
"country"
],
"type": "object"
},
"legal_id": {
"properties": {
"scheme": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
},
"name": {
"type": "string"
},
"vat_id": {
"type": "string"
}
},
"required": [
"address",
"name"
],
"type": "object"
}
},
"required": [
"buyer",
"currency",
"invoice_number",
"issue_date",
"lines",
"seller"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"schema": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}