{
  "kind": "executed normalized handoff model",
  "run_on": "2026-11-05",
  "runtime": "Python standard library; no Odoo or BMD connection",
  "case_count": 13,
  "all_expected_observations_matched": true,
  "baseline": {
    "profile": "DEMO-v1",
    "company": "AT-DEMO",
    "period": "2026-10",
    "rows": [
      {
        "company": "AT-DEMO",
        "revision": 1,
        "posting_period": "2026-10",
        "currency": "EUR",
        "state": "posted",
        "mapping_code": "DEMO-MAP-1",
        "source_id": "SRC-001",
        "document_no": "INV-001",
        "kind": "invoice",
        "net": "100.00",
        "tax": "20.00",
        "gross": "120.00",
        "document_ref": "doc-001"
      },
      {
        "company": "AT-DEMO",
        "revision": 1,
        "posting_period": "2026-10",
        "currency": "EUR",
        "state": "posted",
        "mapping_code": "DEMO-MAP-1",
        "source_id": "SRC-002",
        "document_no": "INV-002",
        "kind": "invoice",
        "net": "200.00",
        "tax": "40.00",
        "gross": "240.00",
        "document_ref": "doc-002"
      },
      {
        "company": "AT-DEMO",
        "revision": 1,
        "posting_period": "2026-10",
        "currency": "EUR",
        "state": "posted",
        "mapping_code": "DEMO-MAP-1",
        "source_id": "SRC-003",
        "document_no": "CR-001",
        "kind": "credit",
        "net": "-50.00",
        "tax": "-10.00",
        "gross": "-60.00",
        "document_ref": "doc-003"
      }
    ]
  },
  "cases": [
    {
      "case": "unchanged_with_complete_model_receipt",
      "expected_decision": "ACKNOWLEDGED_IN_MODEL",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [],
        "decision": "ACKNOWLEDGED_IN_MODEL"
      }
    },
    {
      "case": "no_destination_receipt",
      "expected_decision": "READY_FOR_IMPORT_REHEARSAL",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [],
        "decision": "READY_FOR_IMPORT_REHEARSAL"
      }
    },
    {
      "case": "missing_credit",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": false,
        "totals_match": false,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "300.00",
            "tax": "60.00",
            "gross": "360.00"
          }
        },
        "findings": [
          {
            "kind": "missing_document",
            "identity": [
              "AT-DEMO",
              "SRC-003",
              1
            ]
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "duplicate_document",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": false,
        "totals_match": false,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "350.00",
            "tax": "70.00",
            "gross": "420.00"
          }
        },
        "findings": [
          {
            "kind": "duplicate_identity",
            "side": "candidate",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "count": 2
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "offsetting_document_amounts",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "field": "net",
            "expected": "100.00",
            "actual": "101.00"
          },
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "field": "gross",
            "expected": "120.00",
            "actual": "121.00"
          },
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-002",
              1
            ],
            "field": "net",
            "expected": "200.00",
            "actual": "199.00"
          },
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-002",
              1
            ],
            "field": "gross",
            "expected": "240.00",
            "actual": "239.00"
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "wrong_company",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": false,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "150.00",
            "tax": "30.00",
            "gross": "180.00"
          },
          "OTHER-DEMO/EUR": {
            "net": "100.00",
            "tax": "20.00",
            "gross": "120.00"
          }
        },
        "findings": [
          {
            "kind": "missing_document",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ]
          },
          {
            "kind": "unexpected_document",
            "identity": [
              "OTHER-DEMO",
              "SRC-001",
              1
            ]
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "wrong_posting_period",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "field": "posting_period",
            "expected": "2026-10",
            "actual": "2026-11"
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "wrong_currency",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": false,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "150.00",
            "tax": "30.00",
            "gross": "180.00"
          },
          "AT-DEMO/USD": {
            "net": "100.00",
            "tax": "20.00",
            "gross": "120.00"
          }
        },
        "findings": [
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "field": "currency",
            "expected": "EUR",
            "actual": "USD"
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "missing_mapping",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "field": "mapping_code",
            "expected": "DEMO-MAP-1",
            "actual": ""
          },
          {
            "kind": "missing_required_reference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ]
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "missing_document_reference",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "document_difference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ],
            "field": "document_ref",
            "expected": "doc-001",
            "actual": ""
          },
          {
            "kind": "missing_required_reference",
            "identity": [
              "AT-DEMO",
              "SRC-001",
              1
            ]
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "changed_import_profile",
      "expected_decision": "BLOCKED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "batch_scope_difference",
            "field": "profile"
          }
        ],
        "decision": "BLOCKED"
      }
    },
    {
      "case": "partial_destination_receipt",
      "expected_decision": "RECONCILIATION_REQUIRED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "destination_receipt_incomplete_or_mismatched"
          }
        ],
        "decision": "RECONCILIATION_REQUIRED"
      }
    },
    {
      "case": "receipt_for_other_payload",
      "expected_decision": "RECONCILIATION_REQUIRED",
      "observed": {
        "row_counts_match": true,
        "totals_match": true,
        "reference_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "candidate_totals": {
          "AT-DEMO/EUR": {
            "net": "250.00",
            "tax": "50.00",
            "gross": "300.00"
          }
        },
        "findings": [
          {
            "kind": "destination_receipt_incomplete_or_mismatched"
          }
        ],
        "decision": "RECONCILIATION_REQUIRED"
      }
    }
  ],
  "limits": [
    "Not a BMD file format, connector, import or posting test.",
    "DEMO mapping and document references are invented labels.",
    "A document reference does not prove attachment contents or access.",
    "Reference values require independent business approval.",
    "Amounts demonstrate comparison, not a valid tax treatment.",
    "ACKNOWLEDGED_IN_MODEL is a fixture state, not production approval.",
    "Real imports need actual file hashes, destination records and owner sign-off."
  ]
}
