{
  "format": "xrechnung-ubl",
  "invoice": {
    "number": "RE-2026-0042",
    "type": "invoice",
    "issueDate": "2026-10-19",
    "dueDate": "2026-11-18",
    "currency": "EUR",
    "buyerReference": "04011000-12345-34",
    "orderReference": "PO-7781",
    "notes": ["Thank you for your business."],
    "billingPeriod": { "start": "2026-10-01", "end": "2026-10-31" },
    "seller": {
      "name": "Example Software GmbH",
      "vatId": "DE123456789",
      "electronicAddress": { "scheme": "EM", "value": "invoices@example-software.de" },
      "address": {
        "line1": "Musterstraße 1",
        "city": "Berlin",
        "postalCode": "10115",
        "countryCode": "DE"
      },
      "contact": {
        "name": "Erika Mustermann",
        "phone": "+49 30 1234567",
        "email": "billing@example-software.de"
      }
    },
    "buyer": {
      "name": "Beispiel Behörde",
      "electronicAddress": { "scheme": "EM", "value": "rechnung@beispiel-behoerde.de" },
      "address": {
        "line1": "Amtsweg 5",
        "city": "Hamburg",
        "postalCode": "20095",
        "countryCode": "DE"
      }
    },
    "payment": {
      "meansCode": "58",
      "iban": "DE02120300000000202051",
      "accountName": "Example Software GmbH",
      "remittanceInformation": "RE-2026-0042",
      "terms": "Payable within 30 days without deduction."
    },
    "lines": [
      {
        "id": "1",
        "name": "Software subscription, October 2026",
        "quantity": "1",
        "unitCode": "C62",
        "unitPrice": "99.00",
        "vat": { "category": "S", "rate": "19" }
      },
      {
        "id": "2",
        "name": "Onboarding support",
        "quantity": "2.5",
        "unitCode": "HUR",
        "unitPrice": "80.00",
        "vat": { "category": "S", "rate": "19" }
      }
    ],
    "totals": {
      "lineTotal": "299.00",
      "taxExclusive": "299.00",
      "vatTotal": "56.81",
      "taxInclusive": "355.81",
      "amountDue": "355.81"
    }
  }
}
