Properties
| Name | Type | Description |
|---|---|---|
| customer_id | integer | Required when creating an invoice. |
| items | array | Required when creating an invoice. When changing a draft, the items replace all existing items. |
| date | string | |
| due_days | integer | |
| opening_text | string | |
| closing_text | string | |
| service_period_start_date | string | |
| service_period_end_date | string | |
| prices_include_tax | boolean | true for gross prices, false for net prices. If it differs from the account setting, the request is refused with 422. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/billingengine/main/json-schema/billingengine-invoice-input-schema.json",
"title": "InvoiceInput",
"x-generated": "2026-10-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/billingengine-openapi.json#/components/schemas/InvoiceInput",
"type": "object",
"properties": {
"customer_id": {
"type": "integer",
"description": "Required when creating an invoice."
},
"items": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/ItemInput"
},
"description": "Required when creating an invoice. When changing a draft, the items replace all existing items."
},
"date": {
"type": "string",
"format": "date"
},
"due_days": {
"type": "integer"
},
"opening_text": {
"type": "string"
},
"closing_text": {
"type": "string"
},
"service_period_start_date": {
"type": "string",
"format": "date"
},
"service_period_end_date": {
"type": "string",
"format": "date"
},
"prices_include_tax": {
"type": "boolean",
"description": "true for gross prices, false for net prices. If it differs from the account setting, the request is refused with 422."
}
},
"$defs": {
"ItemInput": {
"type": "object",
"required": [
"title",
"price"
],
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"quantity": {
"type": "number",
"default": 1
},
"unit_code": {
"type": "string"
},
"tax_rate": {
"type": "number"
},
"price": {
"type": "number",
"description": "Net or gross, depending on the setting \"Prices\" of the account."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/billingengine-invoice-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.
A second provider on the same verified email joins the account you already have.