Propagator · Schema

Invoice

Canonical financial invoice. Supported by Gensolve, Cliniko, Nookal, Halaxy (limited). Note: unlike the other response models, the fields marked nullable here are returned as an explicit null when the PMS has no value, rather than being omitted — consumers may test for null. `id` is the exception: it is always present.

HealthcarePractice ManagementInteroperabilityFHIRUnified APIPatientsAppointmentsBilling

Properties

Name Type Description
id string
patientId stringnull
locationId stringnull
appointmentId stringnull
practitionerId stringnull
invoiceIdNumeric number Nookal/others numeric invoice id when API uses number
invoiceNumber stringnull
date stringnull
dueDate stringnull
total number
subtotal number
tax number
balance number
amountPaid number
discountedAmount number
status stringnull
statusCode number Cliniko 10=Open 20=Paid 30=Closed 40=Open credit
entries array
createdAt stringnull
updatedAt stringnull
closedAt stringnull
archivedAt stringnull
notes stringnull
invoiceTo stringnull
calculationMethod number
calculationMethodDescription stringnull
onlinePaymentUrl stringnull
note stringnull
View JSON Schema on GitHub

JSON Schema

propagator-health-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/propagator-health/json-schema/propagator-health-invoice-schema.json",
  "title": "Invoice",
  "description": "Canonical financial invoice. Supported by Gensolve, Cliniko, Nookal, Halaxy (limited). Note: unlike the other response models, the fields marked nullable here are returned as an explicit null when the PMS has no value, rather than being omitted — consumers may test for null. `id` is the exception: it is always present.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/propagator-health-openapi.json#/components/schemas/Invoice",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "patientId": {
      "type": [
        "string",
        "null"
      ]
    },
    "locationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appointmentId": {
      "type": [
        "string",
        "null"
      ]
    },
    "practitionerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "invoiceIdNumeric": {
      "type": "number",
      "description": "Nookal/others numeric invoice id when API uses number"
    },
    "invoiceNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "dueDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "total": {
      "type": "number"
    },
    "subtotal": {
      "type": "number"
    },
    "tax": {
      "type": "number"
    },
    "balance": {
      "type": "number"
    },
    "amountPaid": {
      "type": "number"
    },
    "discountedAmount": {
      "type": "number"
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "statusCode": {
      "type": "number",
      "description": "Cliniko 10=Open 20=Paid 30=Closed 40=Open credit"
    },
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InvoiceLineItem"
      }
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "closedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "archivedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "invoiceTo": {
      "type": [
        "string",
        "null"
      ]
    },
    "calculationMethod": {
      "type": "number"
    },
    "calculationMethodDescription": {
      "type": [
        "string",
        "null"
      ]
    },
    "onlinePaymentUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "InvoiceLineItem": {
      "type": "object",
      "description": "Canonical invoice line item (single charge/entry). Supports Cliniko invoice_items, FHIR Invoice.lineItem, Nookal/Elixir line items. No property is ever null — unavailable values are omitted. This differs from the parent Invoice, several of whose fields ARE explicitly null.",
      "properties": {
        "id": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitPrice": {
          "type": "number"
        },
        "amount": {
          "type": "number"
        },
        "totalIncludingTax": {
          "type": "number"
        },
        "tax": {
          "type": "number"
        },
        "taxRate": {
          "type": "number"
        },
        "taxName": {
          "type": "string"
        },
        "serviceId": {
          "type": "string"
        },
        "chargeItemId": {
          "type": "string"
        },
        "productId": {
          "type": "string"
        },
        "sequence": {
          "type": "number"
        },
        "servicedDate": {
          "type": "string",
          "format": "date"
        },
        "servicedPeriodStart": {
          "type": "string",
          "format": "date-time"
        },
        "servicedPeriodEnd": {
          "type": "string",
          "format": "date-time"
        },
        "discountPercentage": {
          "type": "number"
        },
        "discountedAmount": {
          "type": "number"
        },
        "isMonetaryDiscount": {
          "type": "boolean"
        },
        "concessionTypeName": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/propagator-health-invoice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.