{
  "schemaVersion": 1,
  "evidenceId": "posnic-development-pos-acceptance-fixture-2026-08-22",
  "status": "partial",
  "testedAt": "2026-08-22T11:51:10.237Z",
  "claimScope": "Eight of ten ordered vendor-neutral fixture scenarios were reproduced through the real Posnic HTTP API and isolated MongoDB persistence on one exact development snapshot. Two client/provider controls were not exercised.",
  "source": {
    "repository": "Posnic/POS",
    "versionDeclaredByPackage": "1.4.0",
    "releaseStatus": "development snapshot; not represented as a tagged public release",
    "commit": "53f89a159806080d69a8c7e9ec6efb88eeb3674d",
    "cleanCheckout": true,
    "files": [
      {
        "path": "package.json",
        "sha256": "ab88446fe67257afe72515d93bac1e7d67f464eefd50170bfd9a004d1b49aa7f"
      },
      {
        "path": "api/package.json",
        "sha256": "79b9f1cc0f5fec3fe46ce905d4e222a01ed611b6cc666fdcaa7bcd02ce2aa089"
      },
      {
        "path": "api/package-lock.json",
        "sha256": "7a1e62fad3d38d64fbc466c82c2d4772618367b315477e44d4410cdab5b13a8b"
      },
      {
        "path": "api/app.js",
        "sha256": "e5369d0c78ad9532539b8d05afbc5ccd25dfd65e2d49712799bda08eab72defc"
      },
      {
        "path": "api/src/routes/items.routes.js",
        "sha256": "c957f26b083f3269565ee5b4baa0fdeb89a4d616ce1626f407745a586dbf2bde"
      },
      {
        "path": "api/src/routes/registers.routes.js",
        "sha256": "1f8e82c71b9ea967b5750e910474927e45ca80e977bce678b18555836238f128"
      },
      {
        "path": "api/src/routes/sales.routes.js",
        "sha256": "ebe096f82288319d2054495a54938cd6ff6152163d6fe6e2163981f8456afdc7"
      },
      {
        "path": "api/src/controllers/items.controller.js",
        "sha256": "5e65d355b98544be507fd0ba69519325b42d4a33c578b56f67bb91bbcdc9fa80"
      },
      {
        "path": "api/src/services/sale.service.js",
        "sha256": "2874962516ae4e7120d04d141eed525138da19b2f2cb89e30bff2129b06b03f0"
      },
      {
        "path": "api/src/repositories/item.repository.js",
        "sha256": "be5cda3b081d91f1e64466a4573ad462cf0105ba5dcf6bc35fd20bd9d7638f08"
      },
      {
        "path": "api/src/repositories/register.repository.js",
        "sha256": "db2169108571377e801d6176094f8a38da934450c93480701a06e323012fd7fd"
      },
      {
        "path": "api/src/repositories/sale.repository.js",
        "sha256": "9fb69fe0d59cf5f6f9aef3d9be3d38571bc900a845290bcbd9dfc4c0cfb3945a"
      }
    ]
  },
  "fixture": {
    "datasetId": "vendor-neutral-pos-acceptance-fixture-2026-08-22",
    "canonicalPage": "https://posnic.com/open-source-pos-benchmark#vendor-neutral-pos-acceptance-fixture",
    "manifest": "vendor-neutral-pos-acceptance-fixture-2026-08-22.json",
    "manifestSha256": "2f1ca9ba50199cc1935247acaa5022f36307bb4de3300fba4bf17e953368d918",
    "files": [
      {
        "role": "synthetic catalog",
        "fileName": "vendor-neutral-pos-acceptance-catalog-2026-08-22.csv",
        "sha256": "5ea1701343c2c405eb85d87a44ce71824231c47425497e367cf3514acb783056",
        "dataRows": 4
      },
      {
        "role": "ordered event input",
        "fileName": "vendor-neutral-pos-acceptance-events-2026-08-22.csv",
        "sha256": "6b9cf772ca1af6f8570b55fa018bf12b84362c62ac188f0e89feeada7238525d",
        "dataRows": 13
      },
      {
        "role": "expected ledger and blank observation worksheet",
        "fileName": "vendor-neutral-pos-acceptance-expected-2026-08-22.csv",
        "sha256": "4e99cb298cbe284405fc3216080fd6b21b2ad502da960bcf2ddab828a67d85a8",
        "dataRows": 10
      }
    ],
    "syntheticCurrency": {
      "code": "XTS",
      "numericCode": "963",
      "use": "Testing purposes only",
      "primarySource": "https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/amendments/dl_currency_iso_amendment_65.pdf",
      "boundary": "XTS carries no real monetary value and does not establish a country, payment, accounting or tax rule."
    },
    "privacy": "All names, identifiers, barcodes, amounts and events are synthetic. The fixture contains no real customer, employee, cardholder or business record.",
    "independentExpectedClose": {
      "merchandiseBeforeDiscountXts": "63.47",
      "discountXts": "0.97",
      "taxXts": "4.00",
      "transactionTotalXts": "66.50",
      "tenders": {
        "Cash": "42.75",
        "Electronic approved test label": "23.75"
      },
      "closingStock": {
        "ITEM-001": 18,
        "ITEM-002": 17,
        "ITEM-003": 10,
        "ITEM-004": 46
      }
    }
  },
  "execution": {
    "interface": "real HTTP requests to the assembled Express application",
    "database": "isolated loopback MongoDB database created for this run and dropped in cleanup",
    "mongodbVersion": "7.0.14",
    "nodeVersion": "v24.19.0",
    "platform": "win32",
    "architecture": "x64",
    "timingsArePerformanceBenchmark": false
  },
  "coverage": {
    "orderedScenarios": 10,
    "reproducedAtApiLayer": 8,
    "notExercised": 2,
    "failed": 0,
    "decisions": [
      {
        "eventId": "SALE-001",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "SALE-002",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "SALE-003",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "PAYMENT-DECLINED-001",
        "status": "not_exercised",
        "boundary": "No payment provider or terminal is connected, and the HTTP sale endpoint has no provider-decline state to exercise."
      },
      {
        "eventId": "VOID-001",
        "status": "not_exercised",
        "boundary": "A pre-completion basket clear is a client-interface action; the HTTP runner does not drive the packaged Electron interface."
      },
      {
        "eventId": "RETURN-001",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "RETURN-002",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "REPLAY-001",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "ADJUST-001",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      },
      {
        "eventId": "CLOSE-001",
        "status": "reproduced_at_api_layer",
        "boundary": "Receipt output, packaged-interface behavior, physical devices and provider payment are outside this HTTP run."
      }
    ]
  },
  "scenarios": [
    {
      "sequence": 1,
      "eventId": "SALE-001",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "47.50",
      "observedTransactionTotalXts": "47.50",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Sale saved successfully",
        "durationMs": 78.8
      },
      "evidence": [
        "persisted sale document",
        "persisted item lines",
        "stock movement records"
      ],
      "unexercised": [
        "packaged receipt rendering and output"
      ]
    },
    {
      "sequence": 2,
      "eventId": "SALE-002",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "26.85",
      "observedTransactionTotalXts": "26.85",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Sale saved successfully",
        "durationMs": 40.3
      },
      "evidence": [
        "persisted sale document",
        "persisted item lines",
        "stock movement records"
      ],
      "unexercised": [
        "packaged receipt rendering and output"
      ]
    },
    {
      "sequence": 3,
      "eventId": "SALE-003",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "23.75",
      "observedTransactionTotalXts": "23.75",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Sale saved successfully",
        "durationMs": 28.6
      },
      "evidence": [
        "persisted sale document",
        "persisted item lines",
        "stock movement records"
      ],
      "unexercised": [
        "packaged receipt rendering and output"
      ]
    },
    {
      "sequence": 4,
      "eventId": "PAYMENT-DECLINED-001",
      "status": "not_exercised",
      "observedTransactionTotalXts": null,
      "evidence": [
        "runner before-and-after control only"
      ],
      "boundary": "No payment provider or terminal is connected, and the HTTP sale endpoint has no provider-decline state to exercise."
    },
    {
      "sequence": 5,
      "eventId": "VOID-001",
      "status": "not_exercised",
      "observedTransactionTotalXts": null,
      "evidence": [
        "runner before-and-after control only"
      ],
      "boundary": "A pre-completion basket clear is a client-interface action; the HTTP runner does not drive the packaged Electron interface."
    },
    {
      "sequence": 6,
      "eventId": "RETURN-001",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "-10.00",
      "observedTransactionTotalXts": "-10.00",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Return Sales updated",
        "durationMs": 18.3
      },
      "evidence": [
        "return linked to original sale",
        "return transaction",
        "restored stock movement"
      ],
      "unexercised": [
        "physical cash refund and provider refund"
      ]
    },
    {
      "sequence": 7,
      "eventId": "RETURN-002",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "-21.60",
      "observedTransactionTotalXts": "-21.60",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Return Sales updated",
        "durationMs": 15.8
      },
      "evidence": [
        "return linked to original sale",
        "return transaction",
        "restored stock movement"
      ],
      "unexercised": [
        "physical cash refund and provider refund"
      ]
    },
    {
      "sequence": 8,
      "eventId": "REPLAY-001",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "0.00",
      "observedTransactionTotalXts": "0.00",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Sale already saved. Duplicate billing prevented.",
        "durationMs": 6.1
      },
      "evidence": [
        "duplicate response",
        "unchanged sale count",
        "unchanged fixture stock"
      ]
    },
    {
      "sequence": 9,
      "eventId": "ADJUST-001",
      "status": "reproduced_at_api_layer",
      "expectedTransactionTotalXts": "0.00",
      "observedTransactionTotalXts": "0.00",
      "response": {
        "status": 200,
        "type": "success",
        "message": "Adjusted 1 item(s)",
        "durationMs": 8.2
      },
      "evidence": [
        "reasoned stock-adjustment response",
        "stock delta",
        "stock-log reason and note"
      ]
    },
    {
      "sequence": 10,
      "eventId": "CLOSE-001",
      "status": "reproduced_at_api_layer",
      "expected": {
        "merchandiseBeforeDiscountXts": "63.47",
        "discountXts": "0.97",
        "taxXts": "4.00",
        "transactionTotalXts": "66.50",
        "tenders": {
          "Cash": "42.75",
          "Electronic approved test label": "23.75"
        },
        "closingStock": {
          "ITEM-001": 18,
          "ITEM-002": 17,
          "ITEM-003": 10,
          "ITEM-004": 46
        }
      },
      "observed": {
        "merchandiseBeforeDiscountXts": "63.47",
        "discountXts": "0.97",
        "taxXts": "4.00",
        "transactionTotalXts": "66.50",
        "tenders": {
          "Cash": "42.75",
          "Electronic approved test label": "23.75"
        },
        "closingStock": {
          "ITEM-001": 18,
          "ITEM-002": 17,
          "ITEM-003": 10,
          "ITEM-004": 46
        }
      },
      "response": {
        "status": 200,
        "type": "success",
        "message": "Register closed",
        "durationMs": 7.4
      },
      "evidence": [
        "three persisted sale records",
        "sales report total",
        "payment-label totals",
        "closing stock",
        "closed register record"
      ],
      "unexercised": [
        "physical drawer count",
        "provider settlement",
        "printed close report"
      ]
    }
  ],
  "checks": {
    "passed": 45,
    "failed": 0,
    "list": [
      {
        "name": "fresh synthetic shop installed",
        "passed": true,
        "observed": "success"
      },
      {
        "name": "shop owner authenticated",
        "passed": true,
        "observed": "success"
      },
      {
        "name": "fresh install returned one seeded item",
        "passed": true,
        "observed": 1
      },
      {
        "name": "seeded item persisted",
        "passed": true,
        "observed": true
      },
      {
        "name": "fixture catalog persisted four items",
        "passed": true,
        "observed": 4
      },
      {
        "name": "ITEM-001 opening stock persisted",
        "passed": true,
        "observed": 20
      },
      {
        "name": "ITEM-001 unit price persisted",
        "passed": true,
        "observed": 10
      },
      {
        "name": "ITEM-001 synthetic tax rate persisted",
        "passed": true,
        "observed": 0
      },
      {
        "name": "ITEM-002 opening stock persisted",
        "passed": true,
        "observed": 20
      },
      {
        "name": "ITEM-002 unit price persisted",
        "passed": true,
        "observed": 12.5
      },
      {
        "name": "ITEM-002 synthetic tax rate persisted",
        "passed": true,
        "observed": 10
      },
      {
        "name": "ITEM-003 opening stock persisted",
        "passed": true,
        "observed": 10
      },
      {
        "name": "ITEM-003 unit price persisted",
        "passed": true,
        "observed": 20
      },
      {
        "name": "ITEM-003 synthetic tax rate persisted",
        "passed": true,
        "observed": 20
      },
      {
        "name": "ITEM-004 opening stock persisted",
        "passed": true,
        "observed": 50
      },
      {
        "name": "ITEM-004 unit price persisted",
        "passed": true,
        "observed": 1.99
      },
      {
        "name": "ITEM-004 synthetic tax rate persisted",
        "passed": true,
        "observed": 5
      },
      {
        "name": "fixture register opened",
        "passed": true,
        "observed": "6a898d2d0d60067a5d444f75"
      },
      {
        "name": "walk-in customer persisted",
        "passed": true,
        "observed": true
      },
      {
        "name": "SALE-001 saved once",
        "passed": true,
        "observed": "Sale saved successfully"
      },
      {
        "name": "SALE-001 stored expected total",
        "passed": true,
        "observed": 47.5
      },
      {
        "name": "SALE-001 created one sale document",
        "passed": true,
        "observed": 1
      },
      {
        "name": "SALE-002 saved once",
        "passed": true,
        "observed": "Sale saved successfully"
      },
      {
        "name": "SALE-002 stored expected total",
        "passed": true,
        "observed": 26.85
      },
      {
        "name": "SALE-002 created one sale document",
        "passed": true,
        "observed": 2
      },
      {
        "name": "SALE-003 saved once",
        "passed": true,
        "observed": "Sale saved successfully"
      },
      {
        "name": "SALE-003 stored expected total",
        "passed": true,
        "observed": 23.75
      },
      {
        "name": "SALE-003 created one sale document",
        "passed": true,
        "observed": 3
      },
      {
        "name": "PAYMENT-DECLINED-001 runner control made no posting",
        "passed": true,
        "observed": true
      },
      {
        "name": "VOID-001 runner control made no posting",
        "passed": true,
        "observed": true
      },
      {
        "name": "RETURN-001 stored expected return amount",
        "passed": true,
        "observed": 10
      },
      {
        "name": "RETURN-001 retained one return transaction",
        "passed": true,
        "observed": 1
      },
      {
        "name": "RETURN-002 stored expected return amount",
        "passed": true,
        "observed": 21.6
      },
      {
        "name": "RETURN-002 retained one return transaction",
        "passed": true,
        "observed": 1
      },
      {
        "name": "REPLAY-001 was identified as duplicate",
        "passed": true,
        "observed": true
      },
      {
        "name": "REPLAY-001 created no second posting",
        "passed": true,
        "observed": true
      },
      {
        "name": "ADJUST-001 changed stock by minus one",
        "passed": true,
        "observed": 46
      },
      {
        "name": "ADJUST-001 retained its reason and note",
        "passed": true,
        "observed": "Damage: Synthetic fixture ADJUST-001 damaged unit"
      },
      {
        "name": "CLOSE-001 stored close matches fixture expected close",
        "passed": true,
        "observed": "{\"merchandiseBeforeDiscountXts\":\"63.47\",\"discountXts\":\"0.97\",\"taxXts\":\"4.00\",\"transactionTotalXts\":\"66.50\",\"tenders\":{\"Cash\":\"42.75\",\"Electronic approved test label\":\"23.75\"},\"closingStock\":{\"ITEM-001\":18,\"ITEM-002\":17,\"ITEM-003\":10,\"ITEM-004\":46}}"
      },
      {
        "name": "graphical report reconciled to XTS 66.50 net sales",
        "passed": true,
        "observed": 66.5
      },
      {
        "name": "CLOSE-001 register persisted as closed",
        "passed": true,
        "observed": "Closed"
      },
      {
        "name": "CLOSE-001 retained three sale entries",
        "passed": true,
        "observed": 3
      },
      {
        "name": "coverage records all ten ordered scenarios",
        "passed": true,
        "observed": 10
      },
      {
        "name": "eight scenarios reproduced at API layer",
        "passed": true,
        "observed": 8
      },
      {
        "name": "two scenarios explicitly remain unexercised",
        "passed": true,
        "observed": 2
      }
    ]
  },
  "observations": {
    "expectedClose": {
      "merchandiseBeforeDiscountXts": "63.47",
      "discountXts": "0.97",
      "taxXts": "4.00",
      "transactionTotalXts": "66.50",
      "tenders": {
        "Cash": "42.75",
        "Electronic approved test label": "23.75"
      },
      "closingStock": {
        "ITEM-001": 18,
        "ITEM-002": 17,
        "ITEM-003": 10,
        "ITEM-004": 46
      }
    },
    "observedClose": {
      "merchandiseBeforeDiscountXts": "63.47",
      "discountXts": "0.97",
      "taxXts": "4.00",
      "transactionTotalXts": "66.50",
      "tenders": {
        "Cash": "42.75",
        "Electronic approved test label": "23.75"
      },
      "closingStock": {
        "ITEM-001": 18,
        "ITEM-002": 17,
        "ITEM-003": 10,
        "ITEM-004": 46
      }
    },
    "graphicalNetSalesXts": "66.50",
    "persistedSales": 3,
    "registerFinalStatus": "Closed",
    "catalogSetupResponses": [
      {
        "status": 200,
        "type": "success",
        "message": "Item updated",
        "durationMs": 41.3
      },
      {
        "status": 200,
        "type": "success",
        "message": "Item created",
        "durationMs": 15.2
      },
      {
        "status": 200,
        "type": "success",
        "message": "Item created",
        "durationMs": 11.7
      },
      {
        "status": 200,
        "type": "success",
        "message": "Item created",
        "durationMs": 10.5
      }
    ]
  },
  "limitations": [
    "This is a partial API-layer reproduction on a development snapshot, not a claim that Posnic passed the complete fixture or a tagged release.",
    "PAYMENT-DECLINED-001 was not exercised because no payment provider or terminal was connected and no provider-decline API state exists in this run.",
    "VOID-001 was not exercised because the runner did not drive the packaged Electron basket interface.",
    "Receipt rendering, printer output, physical drawer count, barcode scanning and packaged-interface behavior were not exercised.",
    "Electronic approved, electronic declined and Cash are synthetic tender labels; no authorization, capture, refund, settlement or payment-device result is implied.",
    "The catalog, identities, barcodes, amounts and events are synthetic and contain no customer production data.",
    "This is not a throughput, latency, capacity, price-performance, security, compliance or customer-outcome benchmark.",
    "Observed request durations are environment-specific diagnostics and are not performance evidence."
  ],
  "reproduction": {
    "collector": "Intranet/tools/seo/capture-pos-acceptance-fixture-evidence.js",
    "command": "node tools/seo/capture-pos-acceptance-fixture-evidence.js --pos-root <clean-pos-checkout> --fixture-root <web-assets-directory> --mongo-uri mongodb://127.0.0.1:27017 --expected-commit <40-character-sha> --output <evidence.json>",
    "cleanup": "The uniquely prefixed evidence database is dropped in a finally block."
  }
}
