# Genie Invoice - Magentus Practice Management FHIR Implementation Guide v1.2.60

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Genie Invoice**

## Resource Profile: Genie Invoice 

| | |
| :--- | :--- |
| *Official URL*:http://fhir.geniesolutions.io/StructureDefinition/genie-invoice | *Version*:1.2.60 |
| Active as of 2026-04-05 | *Computable Name*:GSInvoice |

 
Genie Invoice profile 

**Usages:**

* Examples for this Profile: [Invoice/19596b00-ee0a-54de-98e8-ccf6ed86a93e](Invoice-19596b00-ee0a-54de-98e8-ccf6ed86a93e.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/geniesolutions.fhir|current/StructureDefinition/genie-invoice)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-genie-invoice.csv), [Excel](StructureDefinition-genie-invoice.xlsx), [Schematron](StructureDefinition-genie-invoice.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "genie-invoice",
  "url" : "http://fhir.geniesolutions.io/StructureDefinition/genie-invoice",
  "version" : "1.2.60",
  "name" : "GSInvoice",
  "title" : "Genie Invoice",
  "status" : "active",
  "date" : "2026-04-05T21:47:41+00:00",
  "publisher" : "Magentus Practice Management",
  "contact" : [{
    "name" : "Magentus Practice Management",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.magentus.com/practice-management"
    },
    {
      "system" : "email",
      "value" : "andy.bond@magentus.com"
    }]
  },
  {
    "name" : "Magentus Practice Management",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.magentus.com/practice-management",
      "use" : "work"
    }]
  }],
  "description" : "Genie Invoice profile",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "AU"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Invoice",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Invoice",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Invoice",
      "path" : "Invoice"
    },
    {
      "id" : "Invoice.id",
      "path" : "Invoice.id",
      "short" : "Generated from Genie context and invoice table Id",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Invoice.contained",
      "path" : "Invoice.contained",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "Invoice.contained:charge-item",
      "path" : "Invoice.contained",
      "sliceName" : "charge-item",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "ChargeItem",
        "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.status",
      "path" : "Invoice.status",
      "short" : "draft | balanced | cancelled | issued | entered-in-error",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.cancelledReason",
      "path" : "Invoice.cancelledReason",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.type",
      "path" : "Invoice.type",
      "short" : "IDVA | ODVA | ...",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.subject",
      "path" : "Invoice.subject",
      "short" : "patient reference",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org.au/fhir/StructureDefinition/au-patient"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.recipient",
      "path" : "Invoice.recipient",
      "short" : "Reference to account holder of patient for invoice, could be medicare, dva etc.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org.au/fhir/StructureDefinition/au-patient",
        "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson",
        "http://hl7.org.au/fhir/StructureDefinition/au-organization"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.date",
      "path" : "Invoice.date",
      "short" : "Invoice date",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.participant.role",
      "path" : "Invoice.participant.role",
      "short" : "creator | servicingProvider",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.participant.actor",
      "path" : "Invoice.participant.actor",
      "short" : "Reference to the creator or servcingProvider",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org.au/fhir/StructureDefinition/au-practitioner",
        "http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.issuer",
      "path" : "Invoice.issuer",
      "short" : "Practice related to the invoice",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org.au/fhir/StructureDefinition/au-organization"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.extension",
      "path" : "Invoice.lineItem.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Invoice.lineItem.extension:line-item-payment",
      "path" : "Invoice.lineItem.extension",
      "sliceName" : "line-item-payment",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.extension:line-item-balance",
      "path" : "Invoice.lineItem.extension",
      "sliceName" : "line-item-balance",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.sequence",
      "path" : "Invoice.lineItem.sequence",
      "short" : "Incremental Id on invoice, e.g. 1",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.chargeItem[x]",
      "path" : "Invoice.lineItem.chargeItem[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Invoice.lineItem.chargeItem[x]:chargeItemCodeableConcept",
      "path" : "Invoice.lineItem.chargeItem[x]",
      "sliceName" : "chargeItemCodeableConcept",
      "short" : "Billed item number",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.chargeItem[x]:chargeItemReference",
      "path" : "Invoice.lineItem.chargeItem[x]",
      "sliceName" : "chargeItemReference",
      "short" : "Reference to contained ChargeItem, e.g. #23",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.priceComponent.type",
      "path" : "Invoice.lineItem.priceComponent.type",
      "short" : "base | discount | tax | deduction",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.lineItem.priceComponent.amount",
      "path" : "Invoice.lineItem.priceComponent.amount",
      "mustSupport" : true
    },
    {
      "id" : "Invoice.totalGross",
      "path" : "Invoice.totalGross",
      "short" : "Total with tax",
      "mustSupport" : true
    }]
  }
}

```
