{
  "format": "racun-canonical-rich-1",
  "bill": {
    "source_document_id": "invented-service-totals-2026-09",
    "revision": 1,
    "revision_kind": "original",
    "document_number": "INVENTED-SERVICE-TOTALS",
    "issue_date": "2026-10-01",
    "period": {
      "start": "2026-09-01",
      "end": "2026-09-30",
      "endpoints": "inclusive"
    },
    "currency": "EUR",
    "customer": {
      "provider_account": "INVENTED-CUSTOMER-001",
      "provider_account_ref": "urn:uuid:00000000-0000-4000-8000-00000000000a"
    },
    "document_type": "invoice",
    "completeness": {
      "level": "complete",
      "pages_received": 2,
      "pages_expected": 2
    },
    "language": "en",
    "totals": {
      "net": "66.40",
      "vat": "16.60",
      "gross": "83.00"
    },
    "obligation": {
      "amount_due": "83.00",
      "due_date": "2026-10-20"
    },
    "parties": [
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000001",
        "roles": [
          "issuer",
          "payee"
        ],
        "display_name": "Invented Consolidator"
      },
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000002",
        "roles": [
          "account_holder",
          "debtor"
        ],
        "display_name": "Invented Household",
        "identifiers": [
          {
            "scheme": "invented-provider:party-label",
            "value": "INVENTED-PARTY-001"
          }
        ]
      },
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000003",
        "roles": [
          "service_operator"
        ],
        "display_name": "Invented Water Operator"
      },
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000004",
        "roles": [
          "service_operator"
        ],
        "display_name": "Invented Waste Operator"
      },
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000005",
        "roles": [
          "service_operator"
        ],
        "display_name": "Invented Garage Operator"
      }
    ],
    "provider_accounts": [
      {
        "id": "urn:uuid:00000000-0000-4000-8000-00000000000a",
        "account_holder_party_ref": "urn:uuid:00000000-0000-4000-8000-000000000002",
        "identifiers": [
          {
            "scheme": "invented-provider:customer-number",
            "value": "INVENTED-CUSTOMER-001"
          }
        ]
      }
    ],
    "contracts": [
      {
        "id": "urn:uuid:00000000-0000-4000-8000-00000000000b",
        "type": "utility_bundle",
        "provider_account_ref": "urn:uuid:00000000-0000-4000-8000-00000000000a",
        "identifiers": [
          {
            "scheme": "invented-provider:contract-number",
            "value": "INVENTED-CONTRACT-001"
          }
        ]
      }
    ],
    "billing_points": [
      {
        "id": "urn:uuid:00000000-0000-4000-8000-00000000000c",
        "type": "supply_point",
        "contract_ref": "urn:uuid:00000000-0000-4000-8000-00000000000b",
        "identifiers": [
          {
            "scheme": "invented-provider:point-number",
            "value": "INVENTED-POINT-001"
          }
        ]
      }
    ],
    "devices": [
      {
        "id": "urn:uuid:00000000-0000-4000-8000-00000000000d",
        "type": "water_meter",
        "billing_point_ref": "urn:uuid:00000000-0000-4000-8000-00000000000c",
        "identifiers": [
          {
            "scheme": "invented-provider:meter-number",
            "value": "INVENTED-METER-A"
          }
        ]
      }
    ],
    "service_components": [
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000014",
        "service_type": "water",
        "provider_account_ref": "urn:uuid:00000000-0000-4000-8000-00000000000a",
        "contract_ref": "urn:uuid:00000000-0000-4000-8000-00000000000b",
        "billing_point_ref": "urn:uuid:00000000-0000-4000-8000-00000000000c",
        "operator_party_ref": "urn:uuid:00000000-0000-4000-8000-000000000003",
        "totals": {
          "net": "52.90",
          "tax": "8.99",
          "gross": "61.89"
        }
      },
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000015",
        "service_type": "waste",
        "provider_account_ref": "urn:uuid:00000000-0000-4000-8000-00000000000a",
        "contract_ref": "urn:uuid:00000000-0000-4000-8000-00000000000b",
        "billing_point_ref": "urn:uuid:00000000-0000-4000-8000-00000000000c",
        "operator_party_ref": "urn:uuid:00000000-0000-4000-8000-000000000004",
        "totals": {
          "gross": "20.00"
        }
      },
      {
        "id": "urn:uuid:00000000-0000-4000-8000-000000000016",
        "service_type": "garage_reserve",
        "provider_account_ref": "urn:uuid:00000000-0000-4000-8000-00000000000a",
        "contract_ref": "urn:uuid:00000000-0000-4000-8000-00000000000b",
        "billing_point_ref": "urn:uuid:00000000-0000-4000-8000-00000000000c",
        "operator_party_ref": "urn:uuid:00000000-0000-4000-8000-000000000005"
      }
    ],
    "lines": [
      {
        "description": "Invented water charge",
        "quantity": "9",
        "unit": "m3",
        "net": "40.00",
        "service_component_ref": "urn:uuid:00000000-0000-4000-8000-000000000014",
        "semantic_class": "charge"
      },
      {
        "description": "Invented waste charge",
        "net": "20.00",
        "service_component_ref": "urn:uuid:00000000-0000-4000-8000-000000000015",
        "semantic_class": "charge"
      },
      {
        "description": "Invented garage reserve",
        "net": "6.40",
        "service_component_ref": "urn:uuid:00000000-0000-4000-8000-000000000016",
        "semantic_class": "charge"
      },
      {
        "description": "Invented calculation factor",
        "semantic_class": "calculation_factor",
        "quantity": "1",
        "unit": "factor",
        "service_component_ref": "urn:uuid:00000000-0000-4000-8000-000000000014"
      }
    ],
    "vat_summary": [
      {
        "rate": "0.25",
        "base": "66.40",
        "vat": "16.60"
      }
    ],
    "measurements": [
      {
        "service": "water",
        "unit": "m3",
        "quantity": "9",
        "period": {
          "start": "2026-09-01",
          "end": "2026-09-30",
          "endpoints": "inclusive"
        },
        "service_component_ref": "urn:uuid:00000000-0000-4000-8000-000000000014",
        "device_ref": "urn:uuid:00000000-0000-4000-8000-00000000000d"
      }
    ],
    "payment_instruction": {
      "iban": "HR5499999995330339718",
      "model": "HR01",
      "reference": "2026-06-5676264",
      "purpose_code": "WTER",
      "description": "Invented consolidated bill",
      "payee": {
        "name": "Invented Consolidator"
      },
      "payee_party_ref": "urn:uuid:00000000-0000-4000-8000-000000000001"
    },
    "dates": {
      "service_performed_on": "2026-09-30",
      "meter_read_on": "2026-09-30",
      "tax_point_on": "2026-10-01"
    }
  }
}
