A coded list from a standard, and whether it is the whole of one. `exhaustive` is the field that changes what a client does. `true` means a value outside `data` is wrong, so the list can back a picker with no escape hatch. `false` means `data` is a shortlist of the codes an invoice usually needs — the API accepts any code, nothing validates against this, and treating it as closed rejects values that are perfectly valid.
CompanyInvoicingPDFSoftware-as-a-Service
Properties
Name
Type
Description
data
array
standard
string
The code list these values come from.
exhaustive
boolean
Whether `data` is the complete list. When false it is a shortlist and other codes remain valid.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/invoicepdfs-com/json-schema/invoicepdfs-com-code-list-response-schema.json",
"title": "CodeListResponse",
"description": "A coded list from a standard, and whether it is the whole of one.\n\n`exhaustive` is the field that changes what a client does. `true` means a\nvalue outside `data` is wrong, so the list can back a picker with no escape\nhatch. `false` means `data` is a shortlist of the codes an invoice usually\nneeds — the API accepts any code, nothing validates against this, and\ntreating it as closed rejects values that are perfectly valid.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/invoicepdfs-com-reference-api-openapi.yml#/components/schemas/CodeListResponse",
"properties": {
"data": {
"items": {
"$ref": "#/$defs/CodeOut"
},
"type": "array",
"title": "Data"
},
"standard": {
"type": "string",
"title": "Standard",
"description": "The code list these values come from."
},
"exhaustive": {
"type": "boolean",
"title": "Exhaustive",
"description": "Whether `data` is the complete list. When false it is a shortlist and other codes remain valid."
}
},
"type": "object",
"required": [
"data",
"standard",
"exhaustive"
],
"$defs": {
"CodeOut": {
"properties": {
"code": {
"type": "string",
"title": "Code"
},
"label": {
"type": "string",
"title": "Label"
}
},
"type": "object",
"required": [
"code",
"label"
],
"title": "CodeOut"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.