[
    {
        "id": "invoice-001",
        "layout": "letter",
        "design": null,
        "currency": "EUR",
        "lang": "de",
        "taxLabel": "USt.",
        "lines": 4,
        "supplier": "Lindner Medien GmbH",
        "total": 932934,
        "planted": [],
        "fieldErrors": [],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 0,
                "found": 0,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": []
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 0,
                "found": 0,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [],
            "unverified": [],
            "errors": 0,
            "warnings": 0,
            "verified": 14
        }
    },
    {
        "id": "invoice-002",
        "layout": "banner",
        "design": null,
        "currency": "AUD",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 3,
        "supplier": "Southern Cross Landscaping Pty Ltd",
        "total": 735699,
        "planted": [
            {
                "rule": "tax_mismatch",
                "correctCents": 66784,
                "printedCents": 67284
            }
        ],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "76 214 691 551",
                "actual": null,
                "weight": 1
            },
            {
                "field": "currency",
                "outcome": "wrong",
                "expected": "AUD",
                "actual": "USD",
                "weight": 1
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 2,
                "found": 1,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 10% of the taxable amount.",
                    "expected": 66784,
                    "actual": 67284
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 2,
                "found": 1,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 10% of the taxable amount.",
                    "expected": 66784,
                    "actual": 67284
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 1,
            "verified": 11
        }
    },
    {
        "id": "invoice-003",
        "layout": "sidebar",
        "design": null,
        "currency": "GBP",
        "lang": "en",
        "taxLabel": "VAT",
        "lines": 5,
        "supplier": "Candlewick Catering Co.",
        "total": 205930,
        "planted": [],
        "fieldErrors": [
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Coffee service",
                "actual": "Oakfield Primary Academy Coffee service",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Table linen hire",
                "actual": "School Lane Table linen hire",
                "weight": 1
            }
        ],
        "fieldCount": 33,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 0,
                "found": 0,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": []
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 0,
                "found": 0,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [],
            "unverified": [
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                }
            ],
            "errors": 0,
            "warnings": 0,
            "verified": 14
        }
    },
    {
        "id": "invoice-004",
        "layout": "receipt",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Tax",
        "lines": 3,
        "supplier": "Redwood Veterinary Clinic",
        "total": 106702,
        "planted": [
            {
                "rule": "missing_vat_id"
            },
            {
                "rule": "grand_total_mismatch",
                "correctCents": 94702,
                "printedCents": 106702
            },
            {
                "rule": "line_total_mismatch",
                "line": 1,
                "correctCents": 23680,
                "printedCents": 23180
            }
        ],
        "fieldErrors": [
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Microchip implant",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 10,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 5575,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 55750,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "X-ray, per view",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 2,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 11840,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 23180,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Flea and tick prevention, 6 mo",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 1,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 7625,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 7625,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 1,
                "found": 1,
                "missed": 2,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 1,
                "found": 1,
                "missed": 2,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [
                {
                    "rule": "subtotal_mismatch",
                    "msg": "The subtotal or the line items could not be read reliably, so the subtotal was not checked."
                },
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                },
                {
                    "rule": "grand_total_mismatch",
                    "msg": "The total or the line items could not be read reliably, so the grand total was not checked."
                }
            ],
            "errors": 0,
            "warnings": 1,
            "verified": 5
        }
    },
    {
        "id": "invoice-005",
        "layout": "taxsummary",
        "design": null,
        "currency": "CHF",
        "lang": "de",
        "taxLabel": "MWST",
        "lines": 3,
        "supplier": "Alpenblick Treuhand AG",
        "total": 1971147,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "CHE-487.559.616",
                "actual": null,
                "weight": 1
            },
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 147699,
                "weight": 2
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Jahresabschluss",
                "actual": "A011 Jahresabschluss",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Steuerberatung, Stunde",
                "actual": "A018 Steuerberatung, Stunde",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Buchführung, Monatspauschale",
                "actual": "A025 Buchführung, Monatspauschale",
                "weight": 1
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 2118846,
                    "actual": 1971147
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 2118846,
                    "actual": 1971147
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 1,
            "verified": 11
        }
    },
    {
        "id": "invoice-006",
        "layout": "qtyfirst",
        "design": null,
        "currency": "EUR",
        "lang": "es",
        "taxLabel": "IVA",
        "lines": 6,
        "supplier": "Consultoría Solano S.L.",
        "total": 2369936,
        "planted": [
            {
                "rule": "duplicate_charge",
                "line": 5
            },
            {
                "rule": "line_total_mismatch",
                "line": 3,
                "correctCents": 348220,
                "printedCents": 345720
            }
        ],
        "fieldErrors": [
            {
                "field": "customerName",
                "outcome": "missing",
                "expected": "Hotel Sol y Mar S.A.",
                "actual": null,
                "weight": 1
            },
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "RE-2026\/8759",
                "actual": null,
                "weight": 2
            },
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 59725,
                "weight": 2
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Licencia de software, mes",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 5,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 11945,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 59725,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Auditoría de procesos",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 6,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 142480,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 854880,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Informe de mercado",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 8,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 75595,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 604760,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Taller de formación",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 4,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 87055,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 345720,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Consultoría estratégica, hora",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 4,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 11380,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 45520,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Consultoría estratégica, hora",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 4,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 11380,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 45520,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 2,
                "reported": 1,
                "found": 0,
                "missed": 2,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 2,
                "reported": 1,
                "found": 0,
                "missed": 2,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [
                {
                    "rule": "subtotal_mismatch",
                    "msg": "The subtotal or the line items could not be read reliably, so the subtotal was not checked."
                },
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                },
                {
                    "rule": "grand_total_mismatch",
                    "msg": "The total or the line items could not be read reliably, so the grand total was not checked."
                }
            ],
            "errors": 0,
            "warnings": 1,
            "verified": 5
        }
    },
    {
        "id": "invoice-007",
        "layout": "letterhead",
        "design": null,
        "currency": "INR",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 3,
        "supplier": "Kaveri Textiles Pvt Ltd",
        "total": 1603661,
        "planted": [],
        "fieldErrors": [
            {
                "field": "supplierName",
                "outcome": "missing",
                "expected": "Kaveri Textiles Pvt Ltd",
                "actual": null,
                "weight": 1
            },
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "29ASJVN9975A1Z5",
                "actual": null,
                "weight": 1
            },
            {
                "field": "customerName",
                "outcome": "wrong",
                "expected": "Lotus Home Retail Pvt Ltd",
                "actual": "Due date",
                "weight": 1
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "missing_supplier",
                    "line": null,
                    "sev": "warning",
                    "msg": "Supplier name was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "missing_supplier",
                    "line": null,
                    "sev": "warning",
                    "msg": "Supplier name was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 2,
            "verified": 11
        }
    },
    {
        "id": "invoice-008",
        "layout": "compact",
        "design": null,
        "currency": "EUR",
        "lang": "fr",
        "taxLabel": "TVA",
        "lines": 6,
        "supplier": "Boulangerie-Traiteur Lefèvre SARL",
        "total": 150117,
        "planted": [
            {
                "rule": "duplicate_charge",
                "line": 5
            },
            {
                "rule": "missing_vat_id"
            },
            {
                "rule": "grand_total_mismatch",
                "correctCents": 180117,
                "printedCents": 150117
            }
        ],
        "fieldErrors": [
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "2026\/INV\/3846",
                "actual": null,
                "weight": 2
            }
        ],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 180117,
                    "actual": 150117
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "duplicate_charge",
                    "line": 5,
                    "sev": "warning",
                    "msg": "Line 6 repeats line 1 exactly (Boissons, forfait). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 13750
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 180117,
                    "actual": 150117
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "duplicate_charge",
                    "line": 5,
                    "sev": "warning",
                    "msg": "Line 6 repeats line 1 exactly (Boissons, forfait). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 13750
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 3,
            "verified": 12
        }
    },
    {
        "id": "invoice-009",
        "layout": "cards",
        "design": null,
        "currency": "AUD",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 7,
        "supplier": "Coastal Dental Supplies Pty Ltd",
        "total": 233695,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "80 956 274 428",
                "actual": null,
                "weight": 1
            },
            {
                "field": "customerName",
                "outcome": "wrong",
                "expected": "Bondi Beach Cafe Pty Ltd",
                "actual": "Date",
                "weight": 1
            },
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "FA-26-0140",
                "actual": null,
                "weight": 2
            },
            {
                "field": "currency",
                "outcome": "wrong",
                "expected": "AUD",
                "actual": "USD",
                "weight": 1
            }
        ],
        "fieldCount": 41,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 2,
            "verified": 15
        }
    },
    {
        "id": "invoice-010",
        "layout": "multipage",
        "design": null,
        "currency": "EUR",
        "lang": "de",
        "taxLabel": "MwSt.",
        "lines": 17,
        "supplier": "Brenner Elektrotechnik GmbH",
        "total": 2213642,
        "planted": [
            {
                "rule": "duplicate_charge",
                "line": 16
            }
        ],
        "fieldErrors": [],
        "fieldCount": 81,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "duplicate_charge",
                    "line": 16,
                    "sev": "warning",
                    "msg": "Line 17 repeats line 8 exactly (Steckdosen Set - batch 8). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 12945
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "duplicate_charge",
                    "line": 16,
                    "sev": "warning",
                    "msg": "Line 17 repeats line 8 exactly (Steckdosen Set - batch 8). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 12945
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 1,
            "verified": 26
        }
    },
    {
        "id": "invoice-011",
        "layout": "letter",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Sales Tax",
        "lines": 6,
        "supplier": "Summit HVAC Inc.",
        "total": 319392,
        "planted": [
            {
                "rule": "subtotal_mismatch",
                "correctCents": 326465,
                "printedCents": 323965
            },
            {
                "rule": "tax_mismatch",
                "correctCents": 24240,
                "printedCents": 29240
            },
            {
                "rule": "line_total_mismatch",
                "line": 3,
                "correctCents": 20840,
                "printedCents": 15840
            },
            {
                "rule": "line_total_mismatch",
                "line": 4,
                "correctCents": 2335,
                "printedCents": 100
            }
        ],
        "fieldErrors": [],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 4,
                "reported": 4,
                "found": 4,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 20840,
                    "actual": 15840
                },
                {
                    "rule": "line_total_mismatch",
                    "line": 4,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 2335,
                    "actual": 100
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 326465,
                    "actual": 323965
                },
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 8.25% of the taxable amount.",
                    "expected": 24240,
                    "actual": 29240
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 4,
                "reported": 4,
                "found": 4,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 20840,
                    "actual": 15840
                },
                {
                    "rule": "line_total_mismatch",
                    "line": 4,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 2335,
                    "actual": 100
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 326465,
                    "actual": 323965
                },
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 8.25% of the taxable amount.",
                    "expected": 24240,
                    "actual": 29240
                }
            ],
            "unverified": [],
            "errors": 4,
            "warnings": 0,
            "verified": 12
        }
    },
    {
        "id": "invoice-012",
        "layout": "banner",
        "design": null,
        "currency": "GBP",
        "lang": "en",
        "taxLabel": "VAT",
        "lines": 4,
        "supplier": "Harlow & Pike Plumbing Ltd",
        "total": 132870,
        "planted": [],
        "fieldErrors": [],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 0,
                "found": 0,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": []
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 0,
                "found": 0,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [],
            "unverified": [],
            "errors": 0,
            "warnings": 0,
            "verified": 14
        }
    },
    {
        "id": "invoice-013",
        "layout": "sidebar",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Sales tax",
        "lines": 4,
        "supplier": "Pinecrest Software LLC",
        "total": 1398731,
        "planted": [
            {
                "rule": "subtotal_mismatch",
                "correctCents": 1319558,
                "printedCents": 1319058
            }
        ],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "80-8368815",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Implementation services, hour",
                "actual": "Kestrel Analytics Inc. Implementation services, hour",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Premium support plan",
                "actual": "950 Market Street Premium support plan",
                "weight": 1
            }
        ],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 2,
                "found": 1,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 1319558,
                    "actual": 1319058
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 2,
                "found": 1,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 1319558,
                    "actual": 1319058
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 1,
            "verified": 12
        }
    },
    {
        "id": "invoice-014",
        "layout": "receipt",
        "design": null,
        "currency": "PKR",
        "lang": "en",
        "taxLabel": "Sales Tax",
        "lines": 6,
        "supplier": "Indus Valley Software (Pvt) Ltd",
        "total": 898153572,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "4936194-3",
                "actual": null,
                "weight": 1
            },
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 8790070,
                "weight": 2
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "QA testing, per day",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 2,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 4395035,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 8790070,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Web application development, month",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 5,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 102076890,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 510384450,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Cloud hosting, quarter",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 1,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 18473850,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 18473850,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Mobile app maintenance",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 1,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 25753795,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 25753795,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "UI\/UX design sprint",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 6,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 30436095,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 182616570,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Technical documentation",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 2,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 7564180,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 15128360,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [
                {
                    "rule": "subtotal_mismatch",
                    "msg": "The subtotal or the line items could not be read reliably, so the subtotal was not checked."
                },
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                },
                {
                    "rule": "grand_total_mismatch",
                    "msg": "The total or the line items could not be read reliably, so the grand total was not checked."
                }
            ],
            "errors": 0,
            "warnings": 1,
            "verified": 5
        }
    },
    {
        "id": "invoice-015",
        "layout": "taxsummary",
        "design": null,
        "currency": "EUR",
        "lang": "fr",
        "taxLabel": "TVA",
        "lines": 5,
        "supplier": "Atelier Vasseur Architectes",
        "total": 2033105,
        "planted": [
            {
                "rule": "subtotal_mismatch",
                "correctCents": 1692923,
                "printedCents": 1687923
            },
            {
                "rule": "line_total_mismatch",
                "line": 4,
                "correctCents": 7300,
                "printedCents": 4800
            },
            {
                "rule": "line_total_mismatch",
                "line": 1,
                "correctCents": 433440,
                "printedCents": 428440
            }
        ],
        "fieldErrors": [
            {
                "field": "totalCents",
                "outcome": "wrong",
                "expected": 2033105,
                "actual": 2026508,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Suivi de chantier, visite",
                "actual": "A011 Suivi de chantier, visite",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Étude de faisabilité",
                "actual": "A018 Étude de faisabilité",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Plans d'exécution, heure",
                "actual": "A025 Plans d'exécution, heure",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Dossier de permis de construire",
                "actual": "A032 Dossier de permis de construire",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Déplacement",
                "actual": "A039 Déplacement",
                "weight": 1
            }
        ],
        "fieldCount": 33,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 1,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 433440,
                    "actual": 428440
                },
                {
                    "rule": "line_total_mismatch",
                    "line": 4,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 7300,
                    "actual": 4800
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 1692923,
                    "actual": 1687923
                },
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 2033105,
                    "actual": 2026508
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 1,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 433440,
                    "actual": 428440
                },
                {
                    "rule": "line_total_mismatch",
                    "line": 4,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 7300,
                    "actual": 4800
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 1692923,
                    "actual": 1687923
                },
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 2033105,
                    "actual": 2026508
                }
            ],
            "unverified": [],
            "errors": 4,
            "warnings": 0,
            "verified": 11
        }
    },
    {
        "id": "invoice-016",
        "layout": "qtyfirst",
        "design": null,
        "currency": "CAD",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 6,
        "supplier": "Maple & Birch Furniture Inc.",
        "total": 2579564,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "842329912 RT0001",
                "actual": null,
                "weight": 1
            },
            {
                "field": "currency",
                "outcome": "wrong",
                "expected": "CAD",
                "actual": "USD",
                "weight": 1
            },
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 184600,
                "weight": 2
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Walnut bookshelf",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 5,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 67305,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 336525,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Dining chair, set of 4",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 5,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 66880,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 334400,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Delivery and assembly",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 10,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 18460,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 184600,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Custom cabinet doors",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 7,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 29015,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 203105,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Oak dining table",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 10,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 150070,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 1500700,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Furniture wax kit",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 10,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 2670,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 26700,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [
                {
                    "rule": "subtotal_mismatch",
                    "msg": "The subtotal or the line items could not be read reliably, so the subtotal was not checked."
                },
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                },
                {
                    "rule": "grand_total_mismatch",
                    "msg": "The total or the line items could not be read reliably, so the grand total was not checked."
                }
            ],
            "errors": 0,
            "warnings": 1,
            "verified": 5
        }
    },
    {
        "id": "invoice-017",
        "layout": "letterhead",
        "design": null,
        "currency": "EUR",
        "lang": "de",
        "taxLabel": "USt.",
        "lines": 4,
        "supplier": "Lindner Medien GmbH",
        "total": 1049107,
        "planted": [
            {
                "rule": "grand_total_mismatch",
                "correctCents": 1044107,
                "printedCents": 1049107
            },
            {
                "rule": "tax_mismatch",
                "correctCents": 166706,
                "printedCents": 161706
            },
            {
                "rule": "subtotal_mismatch",
                "correctCents": 923580,
                "printedCents": 924080
            }
        ],
        "fieldErrors": [
            {
                "field": "supplierName",
                "outcome": "missing",
                "expected": "Lindner Medien GmbH",
                "actual": null,
                "weight": 1
            },
            {
                "field": "customerName",
                "outcome": "wrong",
                "expected": "Maison Duval SAS",
                "actual": "Fällig am",
                "weight": 1
            }
        ],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 923580,
                    "actual": 924080
                },
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 19% of the taxable amount.",
                    "expected": 166706,
                    "actual": 161706
                },
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 1044107,
                    "actual": 1049107
                },
                {
                    "rule": "missing_supplier",
                    "line": null,
                    "sev": "warning",
                    "msg": "Supplier name was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 923580,
                    "actual": 924080
                },
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 19% of the taxable amount.",
                    "expected": 166706,
                    "actual": 161706
                },
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 1044107,
                    "actual": 1049107
                },
                {
                    "rule": "missing_supplier",
                    "line": null,
                    "sev": "warning",
                    "msg": "Supplier name was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 3,
            "warnings": 1,
            "verified": 10
        }
    },
    {
        "id": "invoice-018",
        "layout": "compact",
        "design": null,
        "currency": "AUD",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 2,
        "supplier": "Southern Cross Landscaping Pty Ltd",
        "total": 494482,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "39 968 078 839",
                "actual": null,
                "weight": 1
            },
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "#06703",
                "actual": null,
                "weight": 2
            },
            {
                "field": "currency",
                "outcome": "wrong",
                "expected": "AUD",
                "actual": "USD",
                "weight": 1
            }
        ],
        "fieldCount": 21,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 2,
            "verified": 10
        }
    },
    {
        "id": "invoice-019",
        "layout": "cards",
        "design": null,
        "currency": "GBP",
        "lang": "en",
        "taxLabel": "VAT",
        "lines": 4,
        "supplier": "Candlewick Catering Co.",
        "total": 35595,
        "planted": [
            {
                "rule": "duplicate_charge",
                "line": 3
            },
            {
                "rule": "subtotal_mismatch",
                "correctCents": 39550,
                "printedCents": 40050
            }
        ],
        "fieldErrors": [
            {
                "field": "customerName",
                "outcome": "wrong",
                "expected": "Larkspur Dental Group",
                "actual": "Date",
                "weight": 1
            },
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "2026\/INV\/2829",
                "actual": null,
                "weight": 2
            }
        ],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 2,
                "reported": 3,
                "found": 2,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 39550,
                    "actual": 40050
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "duplicate_charge",
                    "line": 3,
                    "sev": "warning",
                    "msg": "Line 4 repeats line 3 exactly (Waiting staff, per hour). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 10320
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 2,
                "reported": 3,
                "found": 2,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 39550,
                    "actual": 40050
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "duplicate_charge",
                    "line": 3,
                    "sev": "warning",
                    "msg": "Line 4 repeats line 3 exactly (Waiting staff, per hour). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 10320
                }
            ],
            "unverified": [
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                }
            ],
            "errors": 1,
            "warnings": 2,
            "verified": 10
        }
    },
    {
        "id": "invoice-020",
        "layout": "multipage",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Tax",
        "lines": 16,
        "supplier": "Redwood Veterinary Clinic",
        "total": 859798,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "84-5371327",
                "actual": null,
                "weight": 1
            }
        ],
        "fieldCount": 77,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 1,
            "verified": 25
        }
    },
    {
        "id": "invoice-021",
        "layout": "letter",
        "design": null,
        "currency": "CHF",
        "lang": "de",
        "taxLabel": "MWST",
        "lines": 3,
        "supplier": "Alpenblick Treuhand AG",
        "total": 2517869,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "CHE-995.965.678",
                "actual": null,
                "weight": 1
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 1,
            "verified": 12
        }
    },
    {
        "id": "invoice-022",
        "layout": "banner",
        "design": null,
        "currency": "EUR",
        "lang": "es",
        "taxLabel": "IVA",
        "lines": 6,
        "supplier": "Consultoría Solano S.L.",
        "total": 3336763,
        "planted": [
            {
                "rule": "tax_mismatch",
                "correctCents": 578922,
                "printedCents": 548922
            },
            {
                "rule": "subtotal_mismatch",
                "correctCents": 2756773,
                "printedCents": 2768773
            },
            {
                "rule": "line_total_mismatch",
                "line": 3,
                "correctCents": 555850,
                "printedCents": 556350
            }
        ],
        "fieldErrors": [
            {
                "field": "customerName",
                "outcome": "missing",
                "expected": "Weidemann Bau AG",
                "actual": null,
                "weight": 1
            },
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "05479",
                "actual": null,
                "weight": 2
            }
        ],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 555850,
                    "actual": 556350
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 2756773,
                    "actual": 2768773
                },
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 21% of the taxable amount.",
                    "expected": 578922,
                    "actual": 548922
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 555850,
                    "actual": 556350
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 2756773,
                    "actual": 2768773
                },
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 21% of the taxable amount.",
                    "expected": 578922,
                    "actual": 548922
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 3,
            "warnings": 1,
            "verified": 12
        }
    },
    {
        "id": "invoice-023",
        "layout": "sidebar",
        "design": null,
        "currency": "INR",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 5,
        "supplier": "Kaveri Textiles Pvt Ltd",
        "total": 3321140,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "29LZYEE8307A1Z5",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Sample swatch set",
                "actual": "Lotus Home Retail Pvt Ltd Sample swatch set",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Embroidery work, per piece",
                "actual": "Okhla Phase II Embroidery work, per piece",
                "weight": 1
            }
        ],
        "fieldCount": 33,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 1,
            "verified": 14
        }
    },
    {
        "id": "invoice-024",
        "layout": "receipt",
        "design": null,
        "currency": "EUR",
        "lang": "fr",
        "taxLabel": "TVA",
        "lines": 7,
        "supplier": "Boulangerie-Traiteur Lefèvre SARL",
        "total": 168836,
        "planted": [
            {
                "rule": "duplicate_charge",
                "line": 6
            }
        ],
        "fieldErrors": [
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Pain de campagne",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 2,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 445,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 890,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Livraison traiteur",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 3,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 4840,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 14520,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Tarte aux fruits, 8 parts",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 5,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 2245,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 11225,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Plateau de viennoiseries",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 2,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 5395,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 10790,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Boissons, forfait",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 7,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 10365,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 72555,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Location vaisselle",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 3,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 8530,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 25590,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Livraison traiteur",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 3,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 4840,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 14520,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 41,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 0,
                "found": 0,
                "missed": 1,
                "falseAlarms": 0
            },
            "reported": []
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 0,
                "found": 0,
                "missed": 1,
                "falseAlarms": 0
            },
            "reported": [],
            "unverified": [
                {
                    "rule": "subtotal_mismatch",
                    "msg": "The subtotal or the line items could not be read reliably, so the subtotal was not checked."
                },
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                },
                {
                    "rule": "grand_total_mismatch",
                    "msg": "The total or the line items could not be read reliably, so the grand total was not checked."
                }
            ],
            "errors": 0,
            "warnings": 0,
            "verified": 6
        }
    },
    {
        "id": "invoice-025",
        "layout": "taxsummary",
        "design": null,
        "currency": "AUD",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 3,
        "supplier": "Coastal Dental Supplies Pty Ltd",
        "total": 87597,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "92 297 074 259",
                "actual": null,
                "weight": 1
            },
            {
                "field": "currency",
                "outcome": "wrong",
                "expected": "AUD",
                "actual": "USD",
                "weight": 1
            },
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 7963,
                "weight": 2
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Dental floss, carton",
                "actual": "A011 Dental floss, carton",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Freight",
                "actual": "A018 Freight",
                "weight": 1
            },
            {
                "field": "line.description",
                "outcome": "wrong",
                "expected": "Sterilisation pouches, box",
                "actual": "A025 Sterilisation pouches, box",
                "weight": 1
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 95560,
                    "actual": 87597
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 95560,
                    "actual": 87597
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 1,
            "verified": 11
        }
    },
    {
        "id": "invoice-026",
        "layout": "qtyfirst",
        "design": null,
        "currency": "EUR",
        "lang": "de",
        "taxLabel": "MwSt.",
        "lines": 2,
        "supplier": "Brenner Elektrotechnik GmbH",
        "total": 18800,
        "planted": [
            {
                "rule": "line_total_mismatch",
                "line": 1,
                "correctCents": 16300,
                "printedCents": 15800
            }
        ],
        "fieldErrors": [
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 330,
                "weight": 2
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Kabel NYM-J 3x1,5, Meter",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 2,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 165,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 330,
                "actual": null,
                "weight": 3
            },
            {
                "field": "line.description",
                "outcome": "missing",
                "expected": "Steckdosen Set",
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.quantity",
                "outcome": "missing",
                "expected": 5,
                "actual": null,
                "weight": 1
            },
            {
                "field": "line.unitPrice",
                "outcome": "missing",
                "expected": 3260,
                "actual": null,
                "weight": 2
            },
            {
                "field": "line.amount",
                "outcome": "missing",
                "expected": 15800,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 21,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 0,
                "found": 0,
                "missed": 1,
                "falseAlarms": 0
            },
            "reported": []
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 0,
                "found": 0,
                "missed": 1,
                "falseAlarms": 0
            },
            "reported": [],
            "unverified": [
                {
                    "rule": "subtotal_mismatch",
                    "msg": "The subtotal or the line items could not be read reliably, so the subtotal was not checked."
                },
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                },
                {
                    "rule": "grand_total_mismatch",
                    "msg": "The total or the line items could not be read reliably, so the grand total was not checked."
                }
            ],
            "errors": 0,
            "warnings": 0,
            "verified": 6
        }
    },
    {
        "id": "invoice-027",
        "layout": "letterhead",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Sales Tax",
        "lines": 2,
        "supplier": "Summit HVAC Inc.",
        "total": 906111,
        "planted": [],
        "fieldErrors": [
            {
                "field": "supplierName",
                "outcome": "missing",
                "expected": "Summit HVAC Inc.",
                "actual": null,
                "weight": 1
            },
            {
                "field": "customerName",
                "outcome": "wrong",
                "expected": "Greenleaf Pediatrics",
                "actual": "Due date",
                "weight": 1
            }
        ],
        "fieldCount": 21,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_supplier",
                    "line": null,
                    "sev": "warning",
                    "msg": "Supplier name was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "missing_supplier",
                    "line": null,
                    "sev": "warning",
                    "msg": "Supplier name was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 1,
            "verified": 11
        }
    },
    {
        "id": "invoice-028",
        "layout": "compact",
        "design": null,
        "currency": "GBP",
        "lang": "en",
        "taxLabel": "VAT",
        "lines": 3,
        "supplier": "Harlow & Pike Plumbing Ltd",
        "total": 126888,
        "planted": [
            {
                "rule": "tax_mismatch",
                "correctCents": 21148,
                "printedCents": 26148
            }
        ],
        "fieldErrors": [
            {
                "field": "invoiceNumber",
                "outcome": "missing",
                "expected": "INV-2026-7559",
                "actual": null,
                "weight": 2
            },
            {
                "field": "shippingCents",
                "outcome": "spurious",
                "expected": 0,
                "actual": 26148,
                "weight": 2
            },
            {
                "field": "taxRatePercent",
                "outcome": "missing",
                "expected": 20,
                "actual": null,
                "weight": 2
            },
            {
                "field": "taxCents",
                "outcome": "missing",
                "expected": 26148,
                "actual": null,
                "weight": 3
            }
        ],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 2,
                "found": 0,
                "missed": 1,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 131888,
                    "actual": 126888
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 2,
                "found": 0,
                "missed": 1,
                "falseAlarms": 2
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 131888,
                    "actual": 126888
                },
                {
                    "rule": "missing_invoice_number",
                    "line": null,
                    "sev": "warning",
                    "msg": "Invoice number was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [
                {
                    "rule": "tax_mismatch",
                    "msg": "The tax amount, its rate or the line items could not be read reliably, so tax was not checked."
                }
            ],
            "errors": 1,
            "warnings": 1,
            "verified": 10
        }
    },
    {
        "id": "invoice-029",
        "layout": "cards",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Sales tax",
        "lines": 6,
        "supplier": "Pinecrest Software LLC",
        "total": 5120434,
        "planted": [],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "62-2472946",
                "actual": null,
                "weight": 1
            },
            {
                "field": "customerName",
                "outcome": "wrong",
                "expected": "Prairie Wind Co-op",
                "actual": "Date",
                "weight": 1
            },
            {
                "field": "invoiceNumber",
                "outcome": "wrong",
                "expected": "#00167",
                "actual": "00167",
                "weight": 2
            },
            {
                "field": "issueDate",
                "outcome": "missing",
                "expected": "2026-04-07",
                "actual": null,
                "weight": 2
            },
            {
                "field": "dueDate",
                "outcome": "missing",
                "expected": "2026-05-07",
                "actual": null,
                "weight": 2
            }
        ],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 0,
                "reported": 3,
                "found": 0,
                "missed": 0,
                "falseAlarms": 3
            },
            "reported": [
                {
                    "rule": "missing_issue_date",
                    "line": null,
                    "sev": "warning",
                    "msg": "Issue date was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_due_date",
                    "line": null,
                    "sev": "warning",
                    "msg": "Due date was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 3,
                "found": 0,
                "missed": 0,
                "falseAlarms": 3
            },
            "reported": [
                {
                    "rule": "missing_issue_date",
                    "line": null,
                    "sev": "warning",
                    "msg": "Issue date was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_due_date",
                    "line": null,
                    "sev": "warning",
                    "msg": "Due date was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 3,
            "verified": 12
        }
    },
    {
        "id": "invoice-030",
        "layout": "multipage",
        "design": null,
        "currency": "PKR",
        "lang": "en",
        "taxLabel": "Sales Tax",
        "lines": 17,
        "supplier": "Indus Valley Software (Pvt) Ltd",
        "total": 4334116618,
        "planted": [
            {
                "rule": "duplicate_charge",
                "line": 16
            },
            {
                "rule": "line_total_mismatch",
                "line": 3,
                "correctCents": 26546920,
                "printedCents": 26796920
            },
            {
                "rule": "subtotal_mismatch",
                "correctCents": 3672980185,
                "printedCents": 3675980185
            }
        ],
        "fieldErrors": [
            {
                "field": "vatId",
                "outcome": "missing",
                "expected": "9723315-4",
                "actual": null,
                "weight": 1
            }
        ],
        "fieldCount": 81,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 26546920,
                    "actual": 26796920
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 3672980185,
                    "actual": 3675980185
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "duplicate_charge",
                    "line": 16,
                    "sev": "warning",
                    "msg": "Line 17 repeats line 13 exactly (Web application development, month - batch 13). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 881507835
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 4,
                "found": 3,
                "missed": 0,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 26546920,
                    "actual": 26796920
                },
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 3672980185,
                    "actual": 3675980185
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                },
                {
                    "rule": "duplicate_charge",
                    "line": 16,
                    "sev": "warning",
                    "msg": "Line 17 repeats line 13 exactly (Web application development, month - batch 13). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 881507835
                }
            ],
            "unverified": [],
            "errors": 2,
            "warnings": 2,
            "verified": 23
        }
    }
]