---
updatedAt: 2026-04-26T22:42:30.000Z
agentTools:
  projectIndex: https://developers.halaxy.com/llms.txt
---

# List Invoice Lines

Retrieves a list or collection of invoice lines (i.e. a fee added to an invoice)

> 💡 Tip
>
> Explore our [Querying Resources](https://developers.halaxy.com/docs/querying-resources#/) guide for helpful tips on filtering requests and retrieving the exact data you need.

<br />

## Parameters

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Halaxy API",
    "description": "A FHIR API for Halaxy based on R4 of the FHIR specification",
    "termsOfService": "https://www.halaxy.com/article/terms/practitioner",
    "contact": {
      "name": "Halaxy Developers",
      "url": "https://www.halaxy.com",
      "email": "community@halaxy.com"
    },
    "version": "1.109"
  },
  "servers": [
    {
      "url": "https://au-api.halaxy.com",
      "description": "Production AU"
    },
    {
      "url": "https://eu-api.halaxy.com",
      "description": "Production EU"
    }
  ],
  "paths": {
    "/main/InvoiceLine": {
      "get": {
        "operationId": "findInvoiceLine",
        "tags": [
          "InvoiceLine"
        ],
        "responses": {
          "200": {
            "description": "InvoiceLine collection",
            "content": {
              "application/fhir+json": {
                "schema": {
                  "type": "object",
                  "readOnly": true,
                  "properties": {
                    "resourceType": {
                      "type": "string",
                      "readOnly": true,
                      "enum": [
                        "Bundle"
                      ],
                      "default": "Bundle"
                    },
                    "timestamp": {
                      "type": "string",
                      "readOnly": true,
                      "format": "date-time"
                    },
                    "type": {
                      "type": "string",
                      "readOnly": true,
                      "enum": [
                        "searchset"
                      ],
                      "default": "searchset"
                    },
                    "entry": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fullUrl": {
                            "type": "string",
                            "format": "iri-reference"
                          },
                          "resource": {
                            "type": "array",
                            "items": {
                              "$ref": "#/components/schemas/InvoiceLine.jsonfhir"
                            }
                          },
                          "search": {
                            "type": "object",
                            "properties": {
                              "mode": {
                                "type": "string",
                                "enum": [
                                  "match",
                                  "include",
                                  "outcome"
                                ]
                              }
                            }
                          }
                        }
                      }
                    },
                    "total": {
                      "type": "integer",
                      "readOnly": true,
                      "minimum": 0
                    },
                    "link": {
                      "type": "array",
                      "readOnly": true,
                      "items": {
                        "type": "object",
                        "properties": {
                          "relation": {
                            "type": "string",
                            "readOnly": true,
                            "enum": [
                              "self",
                              "first",
                              "last",
                              "prev",
                              "next"
                            ]
                          },
                          "url": {
                            "type": "string",
                            "readOnly": true,
                            "format": "iri-reference"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InvoiceLine"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "summary": "List Invoice Lines",
        "description": "Retrieves a list or collection of invoice lines (i.e. a fee added to an invoice)",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "The collection page number",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "integer",
              "default": 1
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "_count",
            "in": "query",
            "description": "The number of items per page",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "integer",
              "default": 30,
              "minimum": 0
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "pagination",
            "in": "query",
            "description": "Enable or disable pagination",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "boolean"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "_id",
            "in": "query",
            "description": "The logical id of the resource",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "created",
            "in": "query",
            "description": "When the resource was created.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string",
              "format": "datetime"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "subject",
            "in": "query",
            "description": "Patient who is the subject of the invoice line",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "performer",
            "in": "query",
            "description": "Reference to the performer for the invoice line.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "invoice",
            "in": "query",
            "description": "Reference to the invoice it belong.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "funder",
            "in": "query",
            "description": "Reference to the funder it belong.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "referral",
            "in": "query",
            "description": "Reference to the referral it belong.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "coverage",
            "in": "query",
            "description": "Reference to the claim it belong.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "_lastUpdated",
            "in": "query",
            "description": "Date the invoice line was last updated.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string",
              "format": "datetime"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "amount",
            "in": "query",
            "description": "The amount of the invoice line",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "form",
            "explode": false
          },
          {
            "name": "_include",
            "in": "query",
            "description": "The `_include` parameter can be used to include related search results to reduce overall network delay of repeated retrievals of related resources.\n\n**Modifiers**\n- `_include:iterate` = can be used to include related resources based on already included resources.",
            "required": false,
            "deprecated": false,
            "schema": {
              "type": "string",
              "enum": [
                "InvoiceLine:subject",
                "InvoiceLine:performer",
                "InvoiceLine:invoice"
              ]
            },
            "style": "form",
            "explode": false
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "FhirCodeableConcept": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "coding": {
            "description": "defined by a terminology system",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirCoding"
            }
          },
          "text": {
            "description": "Plain text representation of the concept",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirCodeableConcept.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "coding": {
            "description": "defined by a terminology system",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirCoding.jsonfhir"
            }
          },
          "text": {
            "description": "Plain text representation of the concept",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirCoding": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "system": {
            "format": "uri",
            "description": "Identity of the terminology system",
            "externalDocs": {
              "url": "https://schema.org/url"
            },
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "Symbol in syntax defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "display": {
            "description": "Representation defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "userSelected": {
            "readOnly": true,
            "description": "If this coding was chosen directly by the user",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirCoding.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "system": {
            "format": "uri",
            "description": "Identity of the terminology system",
            "externalDocs": {
              "url": "https://schema.org/url"
            },
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "Symbol in syntax defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "display": {
            "description": "Representation defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "userSelected": {
            "readOnly": true,
            "description": "If this coding was chosen directly by the user",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirMonetaryComponent": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "type": {
            "description": "Codes indicating the kind of the price component",
            "type": "string",
            "enum": [
              "base",
              "surcharge",
              "deduction",
              "discount",
              "tax",
              "informational"
            ]
          },
          "code": {
            "description": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirCodeableConcept"
              },
              {
                "type": "null"
              }
            ]
          },
          "factor": {
            "description": "Factor used for calculating this component",
            "type": [
              "number",
              "null"
            ]
          },
          "amount": {
            "description": "Explicit value amount to be used",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirMoney"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirMonetaryComponent.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "type": {
            "description": "Codes indicating the kind of the price component",
            "type": "string",
            "enum": [
              "base",
              "surcharge",
              "deduction",
              "discount",
              "tax",
              "informational"
            ]
          },
          "code": {
            "description": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirCodeableConcept.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "factor": {
            "description": "Factor used for calculating this component",
            "type": [
              "number",
              "null"
            ]
          },
          "amount": {
            "description": "Explicit value amount to be used",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirMoney.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirMoney": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "value": {
            "description": "The numerical value of the amount",
            "type": [
              "number",
              "null"
            ]
          },
          "currency": {
            "description": "The currency used in ISO 4217 currency code",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYN",
              "BZD",
              "CAD",
              "CDF",
              "CHF",
              "CLP",
              "CNY",
              "COP",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "FOK",
              "GBP",
              "GEL",
              "GGP",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "IMP",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JEP",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KID",
              "KMF",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRU",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STN",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TVD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "UYI",
              "UYU",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XSU",
              "XTS",
              "XUA",
              "XXX",
              "YER",
              "ZAR",
              "ZMW",
              "ZWL",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirMoney.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "value": {
            "description": "The numerical value of the amount",
            "type": [
              "number",
              "null"
            ]
          },
          "currency": {
            "description": "The currency used in ISO 4217 currency code",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYN",
              "BZD",
              "CAD",
              "CDF",
              "CHF",
              "CLP",
              "CNY",
              "COP",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "FOK",
              "GBP",
              "GEL",
              "GGP",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "IMP",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JEP",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KID",
              "KMF",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRU",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STN",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TVD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "UYI",
              "UYU",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XSU",
              "XTS",
              "XUA",
              "XXX",
              "YER",
              "ZAR",
              "ZMW",
              "ZWL",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirNarrative": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "status": {
            "readOnly": true,
            "description": "Describes how the narrative was generated",
            "type": "string",
            "enum": [
              "generated",
              "extensions",
              "additional",
              "empty"
            ]
          },
          "div": {
            "readOnly": true,
            "description": "Limited xhtml content",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirNarrative.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "status": {
            "readOnly": true,
            "description": "Describes how the narrative was generated",
            "type": "string",
            "enum": [
              "generated",
              "extensions",
              "additional",
              "empty"
            ]
          },
          "div": {
            "readOnly": true,
            "description": "Limited xhtml content",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirReference": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "required": [
          "reference"
        ],
        "properties": {
          "reference": {
            "description": "The URL (relative or absolute) to the resource being referenced",
            "type": "string"
          },
          "type": {
            "description": "The type of resource being referenced",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Organization",
              "Patient",
              "Practitioner",
              "PractitionerRole",
              "Appointment",
              "Coverage",
              "Invoice",
              "Communication",
              "Group",
              "DocumentReference",
              "InvoiceLine",
              "PaymentTransaction",
              "Referral",
              "ReferralDefinition",
              "Schedule",
              "Slot",
              "HealthcareService",
              "AllergyIntolerance",
              "Condition",
              "Immunization",
              "Subscription",
              "SubscriptionTopic",
              "ChargeItemDefinition",
              "ServiceRequest",
              "Medication",
              "MedicationRequest",
              "Questionnaire",
              "QuestionnaireResponse",
              "ValueSet",
              "ValueSetConcept",
              "Observation",
              "Binary",
              "Bundle",
              "OperationOutcome",
              "Parameters",
              "List",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirReference.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "required": [
          "reference"
        ],
        "properties": {
          "reference": {
            "description": "The URL (relative or absolute) to the resource being referenced",
            "type": "string"
          },
          "type": {
            "description": "The type of resource being referenced",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Organization",
              "Patient",
              "Practitioner",
              "PractitionerRole",
              "Appointment",
              "Coverage",
              "Invoice",
              "Communication",
              "Group",
              "DocumentReference",
              "InvoiceLine",
              "PaymentTransaction",
              "Referral",
              "ReferralDefinition",
              "Schedule",
              "Slot",
              "HealthcareService",
              "AllergyIntolerance",
              "Condition",
              "Immunization",
              "Subscription",
              "SubscriptionTopic",
              "ChargeItemDefinition",
              "ServiceRequest",
              "Medication",
              "MedicationRequest",
              "Questionnaire",
              "QuestionnaireResponse",
              "ValueSet",
              "ValueSetConcept",
              "Observation",
              "Binary",
              "Bundle",
              "OperationOutcome",
              "Parameters",
              "List",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirResourceInterface": {
        "type": "object",
        "description": "",
        "deprecated": false
      },
      "FhirResourceInterface.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false
      },
      "FhirResourceMeta": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "lastUpdated": {
            "readOnly": true,
            "description": "When the resource version last changed",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "profile": {
            "description": "Profiles this resource claims to conform to",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "FhirResourceMeta.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "lastUpdated": {
            "readOnly": true,
            "description": "When the resource version last changed",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "profile": {
            "description": "Profiles this resource claims to conform to",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "InvoiceLine": {
        "type": "object",
        "description": "An InvoiceLine.",
        "deprecated": false,
        "properties": {
          "description": {
            "description": "The fee or package name",
            "type": [
              "string",
              "null"
            ]
          },
          "definitionCanonical": {
            "description": "The reference URL of the fee (ChargeItemDefinition) charged on this invoice line",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "description": "Status of the invoice line",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "voided",
              "unassigned",
              "write-off",
              "locked",
              null
            ]
          },
          "code": {
            "description": "Fee item number",
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "description": "Reason for the invoice line - ICD-10 code",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/FhirCodeableConcept"
            }
          },
          "subject": {
            "description": "The URL reference to the patient who is receiving the fee item",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "context": {
            "readOnly": true,
            "description": "The URL reference to the appointment linked in the invoice line",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "occurrenceDateTime": {
            "description": "Date of the occurrence",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "enteredDate": {
            "description": "Created date of the invoice line",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "performer": {
            "description": "The URL reference to the practitioner who performed or provided the fee on the invoice line",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "invoice": {
            "description": "The URL reference to the invoice that contains this invoice line",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "quantity": {
            "description": "Quantity of the fee on the invoice line",
            "type": [
              "number",
              "null"
            ]
          },
          "unitPriceComponent": {
            "description": "The price component of the invoice line",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/FhirMonetaryComponent"
            }
          },
          "text": {
            "readOnly": true,
            "description": "Text summary of the resource, for human interpretation",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirNarrative"
              },
              {
                "type": "null"
              }
            ]
          },
          "contained": {
            "readOnly": true,
            "description": "Contained, inline Resources",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirResourceInterface"
            }
          },
          "id": {
            "readOnly": true,
            "description": "Logical id of this artifact",
            "type": [
              "string",
              "null"
            ]
          },
          "meta": {
            "description": "Metadata about the resource",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirResourceMeta"
              },
              {
                "type": "null"
              }
            ]
          },
          "resourceType": {
            "description": "Resource Type",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "InvoiceLine.jsonfhir": {
        "type": "object",
        "description": "An InvoiceLine.",
        "deprecated": false,
        "properties": {
          "description": {
            "description": "The fee or package name",
            "type": [
              "string",
              "null"
            ]
          },
          "definitionCanonical": {
            "description": "The reference URL of the fee (ChargeItemDefinition) charged on this invoice line",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "description": "Status of the invoice line",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "voided",
              "unassigned",
              "write-off",
              "locked",
              null
            ]
          },
          "code": {
            "description": "Fee item number",
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "description": "Reason for the invoice line - ICD-10 code",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/FhirCodeableConcept.jsonfhir"
            }
          },
          "subject": {
            "description": "The URL reference to the patient who is receiving the fee item",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "context": {
            "readOnly": true,
            "description": "The URL reference to the appointment linked in the invoice line",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "occurrenceDateTime": {
            "description": "Date of the occurrence",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "enteredDate": {
            "description": "Created date of the invoice line",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "performer": {
            "description": "The URL reference to the practitioner who performed or provided the fee on the invoice line",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "invoice": {
            "description": "The URL reference to the invoice that contains this invoice line",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "quantity": {
            "description": "Quantity of the fee on the invoice line",
            "type": [
              "number",
              "null"
            ]
          },
          "unitPriceComponent": {
            "description": "The price component of the invoice line",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/FhirMonetaryComponent.jsonfhir"
            }
          },
          "text": {
            "readOnly": true,
            "description": "Text summary of the resource, for human interpretation",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirNarrative.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "contained": {
            "readOnly": true,
            "description": "Contained, inline Resources",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirResourceInterface.jsonfhir"
            }
          },
          "id": {
            "readOnly": true,
            "description": "Logical id of this artifact",
            "type": [
              "string",
              "null"
            ]
          },
          "meta": {
            "description": "Metadata about the resource",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirResourceMeta.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "resourceType": {
            "description": "Resource Type",
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "securitySchemes": {
      "oauth": {
        "type": "oauth2",
        "description": "OAuth 2.0 client credentials Grant",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/main/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth": []
    }
  ]
}
```