{
  "invoice.upsert": {
    "schema": "eq-sync/1",
    "event": "invoice.upsert",
    "sentAt": "2026-11-14T10:00:00.000Z",
    "source": {
      "app": "eq-sync",
      "version": "0.9.1",
      "receiver": {
        "tin": "9900000010",
        "name": "NÜMUNƏ MMC"
      }
    },
    "idempotencyKey": "ornekid0000001:3:2026-11-06T08:12:00:0000000000000000",
    "change": "new",
    "invoice": {
      "id": "ornekid0000001",
      "serialNumber": "MT2611000001",
      "kind": "defaultInvoice",
      "type": "current",
      "status": "approved",
      "version": 3,
      "sourceSystem": "avis",
      "createdAt": "2026-11-05T10:00:00",
      "lastUpdatedAt": "2026-11-06T08:12:00",
      "invoiceComment": "Noyabr tədarükü",
      "invoiceComment2": "",
      "reason": null,
      "fullReturn": false,
      "amount": 118,
      "costWithoutVat": 100,
      "vat": 18,
      "vat18": 100,
      "withoutVat": 0,
      "zeroVat": 0,
      "vatFree": 0,
      "roadTax": 0,
      "excise": 0,
      "sender": {
        "tin": "9900000020",
        "name": "NÜMUNƏ TƏCHİZATÇI MMC",
        "objectCode": null,
        "objectName": null
      },
      "receiver": {
        "tin": "9900000010",
        "name": "NÜMUNƏ MMC",
        "objectCode": "",
        "objectName": null
      },
      "items": [
        {
          "productName": "Nümunə mal",
          "productGroup": null,
          "unit": "ədəd",
          "quantity": 2,
          "pricePerUnit": 50,
          "cost": 100,
          "vat18": 100,
          "vatFree": 0,
          "vat0": 0,
          "excise": 0,
          "barcode": null
        }
      ]
    },
    "pdf": {
      "fileName": "NÜMUNƏ TƏCHİZATÇI MMC_2026-11-05_MT2611000001.pdf",
      "contentType": "application/pdf",
      "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
      "base64": "JVBERi0xLjQKJSVFT0YK"
    }
  },
  "invoice.removed": {
    "schema": "eq-sync/1",
    "event": "invoice.removed",
    "sentAt": "2026-11-14T10:00:00.000Z",
    "source": {
      "app": "eq-sync",
      "version": "0.9.1",
      "receiver": {
        "tin": "9900000010",
        "name": "NÜMUNƏ MMC"
      }
    },
    "idempotencyKey": "ornekid0000001:removed",
    "invoice": {
      "id": "ornekid0000001",
      "serialNumber": "MT2611000001",
      "kind": "defaultInvoice",
      "type": "current",
      "status": "deleted",
      "version": 3,
      "sourceSystem": "avis",
      "createdAt": "2026-11-05T10:00:00",
      "lastUpdatedAt": "2026-11-06T08:12:00",
      "invoiceComment": "Noyabr tədarükü",
      "invoiceComment2": "",
      "reason": null,
      "fullReturn": false,
      "amount": 118,
      "costWithoutVat": 100,
      "vat": 18,
      "vat18": 100,
      "withoutVat": 0,
      "zeroVat": 0,
      "vatFree": 0,
      "roadTax": 0,
      "excise": 0,
      "sender": {
        "tin": "9900000020",
        "name": "NÜMUNƏ TƏCHİZATÇI MMC",
        "objectCode": null,
        "objectName": null
      },
      "receiver": {
        "tin": "9900000010",
        "name": "NÜMUNƏ MMC",
        "objectCode": "",
        "objectName": null
      },
      "items": [
        {
          "productName": "Nümunə mal",
          "productGroup": null,
          "unit": "ədəd",
          "quantity": 2,
          "pricePerUnit": 50,
          "cost": 100,
          "vat18": 100,
          "vatFree": 0,
          "vat0": 0,
          "excise": 0,
          "barcode": null
        }
      ]
    }
  },
  "month.summary": {
    "schema": "eq-sync/1",
    "event": "month.summary",
    "sentAt": "2026-11-14T10:00:00.000Z",
    "source": {
      "app": "eq-sync",
      "version": "0.9.1",
      "receiver": {
        "tin": "9900000010",
        "name": "NÜMUNƏ MMC"
      }
    },
    "idempotencyKey": "9900000010:2026-11:2026-11-14T10:00:00.000Z",
    "month": "2026-11",
    "period": {
      "from": "2026-11-01",
      "to": "2026-11-14"
    },
    "counts": {
      "inScope": 1,
      "sent": 1,
      "removed": 0,
      "failed": 0
    },
    "invoiceIds": [
      "ornekid0000001"
    ]
  },
  "test": {
    "schema": "eq-sync/1",
    "event": "test",
    "sentAt": "2026-11-14T10:00:00.000Z",
    "source": {
      "app": "eq-sync",
      "version": "0.9.1",
      "receiver": {
        "tin": "9900000010",
        "name": "NÜMUNƏ MMC"
      }
    },
    "idempotencyKey": "test:1794650400000"
  }
}
