﻿{
    "artifact_id":  "AP_057_BUYER_GRADE_SAMPLE_DIAGNOSTIC_REPORT",
    "issue":  "AP-057",
    "product_id":  "AP_RECONCILER",
    "sku_name":  "AP Reconciler Paid Diagnostic v1",
    "title":  "AP-057 buyer-grade sample diagnostic report",
    "report_title":  "Sample Diagnostic Report",
    "generated_at_utc":  "2026-06-25T09:35:29.2122887Z",
    "local_static_synthetic_redacted_only":  true,
    "external_delivery_authorized":  false,
    "buyer_read_time_target":  "readable by a controller/AP manager/CFO/accounting-service buyer in under 2 minutes",
    "executive_summary":  "This static/redacted/synthetic sample report shows how AP Reconciler Paid Diagnostic v1 packages messy AP evidence into a buyer-readable Exception Evidence Pack: exception family summary, source references, confidence/freshness/provenance labels, owner-review routing, hard stops, and next evidence needed. It is a local/static synthetic report artifact and is not customer delivery.",
    "scope_and_inputs":  [
                             "Synthetic/redacted invoices, vendor statement lines, purchase orders, receipts, ledger/AP aging, safe payment/export references, and vendor master boundary items.",
                             "No live/private/customer/accounting/bank/payment/provider data is used.",
                             "Payment references are evidence labels only; payment instructions, bank details, credentials, and route data are hard-stopped."
                         ],
    "exception_categories":  [
                                 "missing invoice",
                                 "unmatched vendor statement item",
                                 "duplicate-risk, not confirmed duplicate",
                                 "purchase-order/receipt mismatch",
                                 "amount mismatch",
                                 "stale/aging discrepancy",
                                 "vendor master mismatch",
                                 "payment-instruction hard stop",
                                 "owner-review required",
                                 "no exceptions detected in provided evidence"
                             ],
    "source_inventory":  [
                             {
                                 "source_id":  "SRC-INV-001",
                                 "source_type":  "invoice",
                                 "source_ref":  "fixtures/ap-030/demo-invoice-redacted",
                                 "provenance":  "static/redacted demo input",
                                 "freshness":  "demo_current",
                                 "confidence":  "high",
                                 "redaction_status":  "redacted"
                             },
                             {
                                 "source_id":  "SRC-STMT-001",
                                 "source_type":  "vendor_statement",
                                 "source_ref":  "fixtures/ap-030/demo-vendor-statement-redacted",
                                 "provenance":  "static/redacted demo input",
                                 "freshness":  "demo_current",
                                 "confidence":  "high",
                                 "redaction_status":  "redacted"
                             },
                             {
                                 "source_id":  "SRC-PO-001",
                                 "source_type":  "purchase_order",
                                 "source_ref":  "fixtures/ap-030/demo-po-synthetic",
                                 "provenance":  "synthetic demo input",
                                 "freshness":  "demo_current",
                                 "confidence":  "medium",
                                 "redaction_status":  "synthetic"
                             },
                             {
                                 "source_id":  "SRC-RCPT-001",
                                 "source_type":  "receipt",
                                 "source_ref":  "fixtures/ap-030/demo-receipt-synthetic",
                                 "provenance":  "synthetic demo input",
                                 "freshness":  "demo_current",
                                 "confidence":  "medium",
                                 "redaction_status":  "synthetic"
                             },
                             {
                                 "source_id":  "SRC-PAY-001",
                                 "source_type":  "payment_export_reference",
                                 "source_ref":  "fixtures/ap-030/demo-payment-reference-placeholder",
                                 "provenance":  "synthetic boundary fixture",
                                 "freshness":  "demo_current",
                                 "confidence":  "low",
                                 "redaction_status":  "synthetic"
                             },
                             {
                                 "source_id":  "SRC-APEXP-001",
                                 "source_type":  "accounting_export",
                                 "source_ref":  "fixtures/ap-030/demo-accounting-export-redacted",
                                 "provenance":  "static/redacted demo input",
                                 "freshness":  "demo_current",
                                 "confidence":  "medium",
                                 "redaction_status":  "redacted"
                             }
                         ],
    "source_label_legend":  "Source/provenance/freshness/confidence labels show where each finding came from, how current the evidence is, and how bounded the diagnostic confidence is.",
    "fact_inference_decision_legend":  "Fact / inference / customer-decision-required labels separate what appears directly in provided evidence from derived risk signals and items that require customer owner judgment.",
    "exception_detail_examples":  [
                                      {
                                          "exception_id":  "EX-AP002-POS-STMT-001",
                                          "exception_family":  "statement_missing_invoice",
                                          "label":  "Inference",
                                          "summary":  "Vendor statement references an invoice not present in provided invoice evidence.",
                                          "confidence":  "medium",
                                          "freshness":  "static_2026-06-24",
                                          "source_refs":  [
                                                              "fixtures/ap-002/statement-missing-invoice-positive.json#AP002-POS-STMT-001"
                                                          ],
                                          "next_evidence_needed":  "Static/redacted invoice copy or AP export row for the referenced invoice.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  false,
                                          "boundary_reason":  "Customer-decision-required; not approval, payment, writeback, or advice."
                                      },
                                      {
                                          "exception_id":  "EX-AP003-SYNTH_VENDOR_DUP_A",
                                          "exception_family":  "possible_duplicate_invoice",
                                          "label":  "Inference",
                                          "summary":  "Two invoice-like records look similar enough to require duplicate-risk review.",
                                          "confidence":  "medium",
                                          "freshness":  "static_2026-06-24",
                                          "source_refs":  [
                                                              "fixtures/ap-003/duplicate-invoice-positive.json#AP003-POS-INV-001",
                                                              "fixtures/ap-003/duplicate-invoice-positive.json#AP003-POS-INV-002"
                                                          ],
                                          "next_evidence_needed":  "Internal AP owner review of original invoice references and policy context.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  false,
                                          "boundary_reason":  "Potential duplicate-risk only; customer owner decides."
                                      },
                                      {
                                          "exception_id":  "EX-AP004A-AP004A-POS-INV-001",
                                          "exception_family":  "po_receipt_mismatch",
                                          "label":  "Inference",
                                          "summary":  "Invoice evidence does not align cleanly with provided purchase order and receipt references.",
                                          "confidence":  "medium",
                                          "freshness":  "static_2026-06-24",
                                          "source_refs":  [
                                                              "fixtures/ap-004a/po-receipt-mismatch-positive.json#AP004A-POS-INV-001",
                                                              "fixtures/ap-004a/po-receipt-mismatch-positive.json#AP004A-POS-PO-001",
                                                              "fixtures/ap-004a/po-receipt-mismatch-positive.json#AP004A-POS-RCPT-001"
                                                          ],
                                          "next_evidence_needed":  "Updated PO/receipt reference or receiving note.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  false,
                                          "boundary_reason":  "Owner review required; no operational decision is made."
                                      },
                                      {
                                          "exception_id":  "EX-AP004B-AP004B-POS-INV-001",
                                          "exception_family":  "amount_mismatch",
                                          "label":  "Inference",
                                          "summary":  "Amounts differ across provided invoice and purchase order evidence.",
                                          "confidence":  "medium",
                                          "freshness":  "static_2026-06-24",
                                          "source_refs":  [
                                                              "fixtures/ap-004b/amount-mismatch-positive.json#AP004B-POS-INV-001",
                                                              "fixtures/ap-004b/amount-mismatch-positive.json#AP004B-POS-PO-001"
                                                          ],
                                          "next_evidence_needed":  "Redacted source document clarifying amount basis, credit note, or receipt quantity.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  false,
                                          "boundary_reason":  "Evidence note only; no advice or accounting correction."
                                      },
                                      {
                                          "exception_id":  "EX-AP005-AGING-001",
                                          "exception_family":  "stale_aging_discrepancy",
                                          "label":  "Inference",
                                          "summary":  "Aging and statement freshness labels indicate stale or conflicting evidence.",
                                          "confidence":  "medium",
                                          "freshness":  "stale",
                                          "source_refs":  [
                                                              "fixtures/ap-005/aging-discrepancy-positive.json#AP005-AGING-STMT-001"
                                                          ],
                                          "next_evidence_needed":  "Updated vendor statement or current AP aging export.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  false,
                                          "boundary_reason":  "Cannot conclude from stale evidence."
                                      },
                                      {
                                          "exception_id":  "EX-AP006-VMM-001",
                                          "exception_family":  "vendor_master_mismatch",
                                          "label":  "Inference",
                                          "summary":  "Vendor alias/master-data fields conflict across provided sources.",
                                          "confidence":  "medium",
                                          "freshness":  "static_2026-06-24",
                                          "source_refs":  [
                                                              "fixtures/ap-006/vendor-master-mismatch-positive.json#AP006-VMM-INV-001",
                                                              "fixtures/ap-006/vendor-master-mismatch-positive.json#AP006-VMM-MASTER-001"
                                                          ],
                                          "next_evidence_needed":  "Redacted vendor master reference or internal owner confirmation.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  false,
                                          "boundary_reason":  "Vendor master final correctness is not concluded."
                                      },
                                      {
                                          "exception_id":  "HS-AP006-PAY-001",
                                          "exception_family":  "payment_instruction_hard_stop",
                                          "label":  "Customer-decision-required",
                                          "summary":  "Payment-instruction ambiguity appears in provided placeholder evidence.",
                                          "confidence":  "high",
                                          "freshness":  "static_2026-06-24",
                                          "source_refs":  [
                                                              "fixtures/ap-006/payment-placeholder-hard-stop-positive.json#AP006-PAY-HS-001"
                                                          ],
                                          "next_evidence_needed":  "Remove payment instruction ambiguity and provide non-payment evidence only.",
                                          "owner_review_required":  true,
                                          "hard_stop_flag":  true,
                                          "boundary_reason":  "Payment-instruction hard stop; no processing into advice or execution."
                                      }
                                  ],
    "next_evidence_needed":  [
                                 "Static/redacted invoice support for missing statement references.",
                                 "Updated PO, receipt, or goods-received evidence when source amounts or references conflict.",
                                 "Current vendor statement or AP aging export when evidence is stale.",
                                 "Internal AP owner review when the row is decision-sensitive, low-confidence, conflicting, or payment-sensitive."
                             ],
    "hard_stops":  [
                       {
                           "hard_stop_id":  "HS-AP006-PAY-001",
                           "reason_code":  "HS_PAYMENT_INSTRUCTION_DRIFT",
                           "boundary_reason":  "AP Reconciler does not process payment instructions, bank details, payment routes, invoice approval/rejection, ERP/accounting writeback, or payment advice.",
                           "next_step":  "Remove payment-sensitive content and provide static/redacted non-payment evidence."
                       }
                   ],
    "limitations_no_authority_boundary":  [
                                              "This sample diagnostic is not accounting, tax, procurement, legal, or payment advice.",
                                              "It does not approve/reject invoices.",
                                              "It does not issue payment instructions.",
                                              "It does not write back to ERP/accounting systems.",
                                              "It does not claim full reconciliation or final truth.",
                                              "Owner review is required before any operational decision."
                                          ],
    "service_burden_estimate":  {
                                    "sample_scope":  "single synthetic/redacted diagnostic pack",
                                    "estimate_class":  "green/yellow review sample",
                                    "expected_operator_minutes":  "60-180 minutes for a bounded repeatable diagnostic after intake is clean",
                                    "note":  "Service-burden estimate is internal delivery planning, not billing authority, customer evidence, payment evidence, or final truth."
                                },
    "what_paid_diagnostic_delivers":  [
                                          "Buyer-readable exception-family summary and source inventory.",
                                          "Row-level exception detail with source refs, provenance, freshness, confidence, and redaction labels.",
                                          "Fact / inference / customer-decision-required labels for each finding.",
                                          "Owner-review routing and next-evidence-needed list.",
                                          "Hard-stop register for payment/advice/writeback/live-data boundary issues.",
                                          "Limitations/no-authority statement and local HTML/JSON/CSV export artifacts."
                                      ],
    "revenue_truth":  {
                          "proven_revenue_eur":  0,
                          "statement":  "0 EUR until verified Stripe/bank funds; sample report is not customer evidence, WTP evidence, payment evidence, or revenue."
                      },
    "allowed_downloads":  [
                              "AP-057-buyer-grade-sample-diagnostic-report.html",
                              "AP-057-buyer-grade-sample-diagnostic-report.json",
                              "AP-057-buyer-grade-exception-detail.csv"
                          ],
    "false_gates":  {
                        "network_or_provider_mutation":  false,
                        "live_private_customer_data":  false,
                        "payment_or_bank_action":  false,
                        "writeback_or_sync":  false,
                        "approval_or_rejection":  false,
                        "professional_advice":  false,
                        "customer_outreach_or_external_delivery":  false,
                        "github_mutation":  false
                    }
}
