<?xml version="1.0" encoding="UTF-8"?>

<Invoice xmlns="http://hl7.org/fhir">
  <id value="ExampleSnapshotInvoiceCancelled"/>
  <meta>
    <profile value="https://fhir.cognovis.de/dental/StructureDefinition/dental-invoice-de"/>
  </meta>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Invoice ExampleSnapshotInvoiceCancelled</b></p><a name="ExampleSnapshotInvoiceCancelled"> </a><a name="hcExampleSnapshotInvoiceCancelled"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-dental-invoice-de.html">Dental Invoice outside the TI (DE)</a></p></div><p><b>Billing Tax Exemption Reason</b>: <span title="Codes:">§ 4 Nr. 14 Buchst. a UStG</span></p><p><b>identifier</b>: <code>https://example.org/fhir/sid/dental-invoice</code>/GOZ-2026-0401</p><p><b>status</b>: cancelled</p><p><b>cancelledReason</b>: Line corrected after invoicing; replaced by invoice GOZ-2026-0402</p><p><b>type</b>: <span title="Codes:{https://fhir.cognovis.de/dental/CodeSystem/dental-invoice-type private}">Private invoice</span></p><p><b>subject</b>: <a href="Patient-pat-pkv-01.html">Charlotte von Hohenstein (official) Female, DoB: 1975-09-03</a></p><p><b>recipient</b>: <a href="Patient-pat-pkv-01.html">Charlotte von Hohenstein (official) Female, DoB: 1975-09-03</a></p><p><b>date</b>: 2026-04-10</p><p><b>issuer</b>: <a href="Organization-org-dental-mvz.html">Organization Demo-Zahnarztpraxis MVZ Musterstadt</a></p><p><b>account</b>: <a href="Account-acct-dental-02-pkv-q1.html">Account: identifier = https://fhir.cognovis.de/dental/sid/schein-nummer#DentalBillingCaseIdentifier#PKV-2026-Q1-00002; status = active; type = privatschein; servicePeriod = 2026-01-01 --&gt; 2026-03-31</a></p><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 1</p><p><b>chargeItem</b>: <a href="#hcExampleSnapshotInvoiceCancelled/billed-gozline-v1">ChargeItem 2100</a></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><h3>Amounts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style="display: none">*</td><td>98</td><td>EUR</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: tax</p><p><b>code</b>: <span title="Codes:{urn:un:unece:uncefact:codelist:standard:5305 E}">E</span></p><h3>Amounts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style="display: none">*</td><td>0</td><td>EUR</td></tr></table></blockquote></blockquote><h3>TotalNets</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style="display: none">*</td><td>98</td><td>EUR</td></tr></table><h3>TotalGrosses</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style="display: none">*</td><td>98</td><td>EUR</td></tr></table><p><b>paymentTerms</b>: </p><div><p>Payable within 30 days of the invoice date by bank transfer to the account stated on the invoice.</p>
</div><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: ChargeItem #billed-gozline-v1</b></p><a name="ExampleSnapshotInvoiceCancelled/billed-gozline-v1"> </a><a name="hcExampleSnapshotInvoiceCancelled/billed-gozline-v1"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-dental-billing-line.html">Dental Billing Line (DE)</a></p></div><p><b>Billing Tax Category</b>: <span title="Codes:{urn:un:unece:uncefact:codelist:standard:5305 E}">E</span></p><p><b>Billing Tax Exemption Reason</b>: <span title="Codes:">§ 4 Nr. 14 Buchst. a UStG</span></p><p><b>identifier</b>: <code>https://example.org/fhir/sid/billing-line-lineage</code>/L-2026-0401</p><p><b>status</b>: Billed</p><p><b>partOf</b>: <a href="ChargeItem-ExampleLineageGozLine.html">ChargeItem 2100</a></p><p><b>code</b>: <span title="Codes:{http://fhir.de/CodeSystem/bzaek/goz 2100}">2100</span></p><p><b>subject</b>: <a href="Patient-pat-pkv-01.html">Charlotte von Hohenstein (official) Female, DoB: 1975-09-03</a></p><p><b>occurrence</b>: 2026-04-07</p><p><b>bodysite</b>: <span title="Codes:{https://fhir.cognovis.de/dental-core/CodeSystem/tooth-position-fdi 26}">Permanent maxillary left first molar</span></p><p><b>factorOverride</b>: 2.3</p><h3>PriceOverrides</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style="display: none">*</td><td>98</td><td>EUR</td></tr></table><p><b>account</b>: <a href="Account-acct-dental-02-pkv-q1.html">Account: identifier = https://fhir.cognovis.de/dental/sid/schein-nummer#DentalBillingCaseIdentifier#PKV-2026-Q1-00002; status = active; type = privatschein; servicePeriod = 2026-01-01 --&gt; 2026-03-31</a></p></blockquote></div>
  </text>
  <contained>
    <ChargeItem>
      <id value="billed-gozline-v1"/>
      <meta>
        <profile value="https://fhir.cognovis.de/dental/StructureDefinition/dental-billing-line"/>
      </meta>
      <extension url="https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-category">
        <valueCodeableConcept>
          <coding>
            <system value="urn:un:unece:uncefact:codelist:standard:5305"/>
            <code value="E"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <extension url="https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason">
        <valueCodeableConcept>
          <text value="§ 4 Nr. 14 Buchst. a UStG"/>
        </valueCodeableConcept>
      </extension>
      <identifier>
        <system value="https://example.org/fhir/sid/billing-line-lineage"/>
        <value value="L-2026-0401"/>
      </identifier>
      <status value="billed"/>
      <partOf>
        <reference value="ChargeItem/ExampleLineageGozLine"/>
        <identifier>
          <system value="https://example.org/fhir/sid/billing-line-lineage"/>
          <value value="L-2026-0401"/>
        </identifier>
      </partOf>
      <code>
        <coding>
          <system value="http://fhir.de/CodeSystem/bzaek/goz"/>
          <code value="2100"/>
        </coding>
      </code>
      <subject>
        <reference value="Patient/pat-pkv-01"/>
      </subject>
      <occurrenceDateTime value="2026-04-07"/>
      <bodysite>
        <coding>
          <system value="https://fhir.cognovis.de/dental-core/CodeSystem/tooth-position-fdi"/>
          <code value="26"/>
        </coding>
      </bodysite>
      <factorOverride value="2.3"/>
      <priceOverride>
        <value value="98"/>
        <currency value="EUR"/>
      </priceOverride>
      <account>
        <reference value="Account/acct-dental-02-pkv-q1"/>
      </account>
    </ChargeItem>
  </contained>
  <extension url="https://fhir.cognovis.de/billing/StructureDefinition/billing-tax-exemption-reason">
    <valueCodeableConcept>
      <text value="§ 4 Nr. 14 Buchst. a UStG"/>
    </valueCodeableConcept>
  </extension>
  <identifier>
    <system value="https://example.org/fhir/sid/dental-invoice"/>
    <value value="GOZ-2026-0401"/>
  </identifier>
  <status value="cancelled"/>
  <cancelledReason value="Line corrected after invoicing; replaced by invoice GOZ-2026-0402"/>
  <type>
    <coding>
      <system value="https://fhir.cognovis.de/dental/CodeSystem/dental-invoice-type"/>
      <code value="private"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/pat-pkv-01"/>
  </subject>
  <recipient>
    <reference value="Patient/pat-pkv-01"/>
  </recipient>
  <date value="2026-04-10"/>
  <issuer>
    <reference value="Organization/org-dental-mvz"/>
  </issuer>
  <account>
    <reference value="Account/acct-dental-02-pkv-q1"/>
  </account>
  <lineItem>
    <sequence value="1"/>
    <chargeItemReference>
      <reference value="#billed-gozline-v1"/>
    </chargeItemReference>
    <priceComponent>
      <type value="base"/>
      <amount>
        <value value="98"/>
        <currency value="EUR"/>
      </amount>
    </priceComponent>
    <priceComponent>
      <type value="tax"/>
      <code>
        <coding>
          <system value="urn:un:unece:uncefact:codelist:standard:5305"/>
          <code value="E"/>
        </coding>
      </code>
      <amount>
        <value value="0"/>
        <currency value="EUR"/>
      </amount>
    </priceComponent>
  </lineItem>
  <totalNet>
    <value value="98"/>
    <currency value="EUR"/>
  </totalNet>
  <totalGross>
    <value value="98"/>
    <currency value="EUR"/>
  </totalGross>
  <paymentTerms value="Payable within 30 days of the invoice date by bank transfer to the account stated on the invoice."/>
</Invoice>