[
    {
        "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": [],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 10% of the taxable amount.",
                    "expected": 66784,
                    "actual": 67284
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "tax_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Tax does not match 10% of the taxable amount.",
                    "expected": 66784,
                    "actual": 67284
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 0,
            "verified": 12
        }
    },
    {
        "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": [],
        "fieldCount": 25,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 1,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 23680,
                    "actual": 23180
                },
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 94702,
                    "actual": 106702
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 1,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 23680,
                    "actual": 23180
                },
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 94702,
                    "actual": 106702
                },
                {
                    "rule": "missing_vat_id",
                    "line": null,
                    "sev": "warning",
                    "msg": "VAT ID was not detected.",
                    "expected": null,
                    "actual": null
                }
            ],
            "unverified": [],
            "errors": 2,
            "warnings": 1,
            "verified": 10
        }
    },
    {
        "id": "invoice-005",
        "layout": "taxsummary",
        "design": null,
        "currency": "CHF",
        "lang": "de",
        "taxLabel": "MWST",
        "lines": 3,
        "supplier": "Alpenblick Treuhand AG",
        "total": 1971147,
        "planted": [],
        "fieldErrors": [
            {
                "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": 1,
                "found": 0,
                "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": 2118846,
                    "actual": 1971147
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "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": 2118846,
                    "actual": 1971147
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 0,
            "verified": 12
        }
    },
    {
        "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": [],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 2,
                "reported": 2,
                "found": 2,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 348220,
                    "actual": 345720
                },
                {
                    "rule": "duplicate_charge",
                    "line": 5,
                    "sev": "warning",
                    "msg": "Line 6 repeats line 5 exactly (Consultoría estratégica, hora). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 45520
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 2,
                "reported": 2,
                "found": 2,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 3,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 348220,
                    "actual": 345720
                },
                {
                    "rule": "duplicate_charge",
                    "line": 5,
                    "sev": "warning",
                    "msg": "Line 6 repeats line 5 exactly (Consultoría estratégica, hora). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 45520
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 1,
            "verified": 14
        }
    },
    {
        "id": "invoice-007",
        "layout": "letterhead",
        "design": null,
        "currency": "INR",
        "lang": "en",
        "taxLabel": "GST",
        "lines": 3,
        "supplier": "Kaveri Textiles Pvt Ltd",
        "total": 1603661,
        "planted": [],
        "fieldErrors": [],
        "fieldCount": 25,
        "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": 13
        }
    },
    {
        "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": [],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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_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": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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_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": 2,
            "verified": 13
        }
    },
    {
        "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": [],
        "fieldCount": 41,
        "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": 17
        }
    },
    {
        "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": "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": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 1319558,
                    "actual": 1319058
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 1319558,
                    "actual": 1319058
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 0,
            "verified": 13
        }
    },
    {
        "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": [],
        "fieldCount": 37,
        "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": 16
        }
    },
    {
        "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": [],
        "fieldCount": 37,
        "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": 16
        }
    },
    {
        "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": [],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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
                }
            ],
            "unverified": [],
            "errors": 3,
            "warnings": 0,
            "verified": 11
        }
    },
    {
        "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": [],
        "fieldCount": 21,
        "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": 12
        }
    },
    {
        "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": [],
        "fieldCount": 29,
        "harness": {
            "score": {
                "planted": 2,
                "reported": 2,
                "found": 2,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 39550,
                    "actual": 40050
                },
                {
                    "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": 2,
                "found": 2,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "subtotal_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Line items do not add up to the stated subtotal.",
                    "expected": 39550,
                    "actual": 40050
                },
                {
                    "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": 1,
            "verified": 11
        }
    },
    {
        "id": "invoice-020",
        "layout": "multipage",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Tax",
        "lines": 16,
        "supplier": "Redwood Veterinary Clinic",
        "total": 859798,
        "planted": [],
        "fieldErrors": [],
        "fieldCount": 77,
        "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": 26
        }
    },
    {
        "id": "invoice-021",
        "layout": "letter",
        "design": null,
        "currency": "CHF",
        "lang": "de",
        "taxLabel": "MWST",
        "lines": 3,
        "supplier": "Alpenblick Treuhand AG",
        "total": 2517869,
        "planted": [],
        "fieldErrors": [],
        "fieldCount": 25,
        "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": 13
        }
    },
    {
        "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": [],
        "fieldCount": 37,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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
                }
            ],
            "unverified": [],
            "errors": 3,
            "warnings": 0,
            "verified": 13
        }
    },
    {
        "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": "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": 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": 15
        }
    },
    {
        "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": [],
        "fieldCount": 41,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "duplicate_charge",
                    "line": 6,
                    "sev": "warning",
                    "msg": "Line 7 repeats line 2 exactly (Livraison traiteur). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 14520
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "duplicate_charge",
                    "line": 6,
                    "sev": "warning",
                    "msg": "Line 7 repeats line 2 exactly (Livraison traiteur). If it was only meant to be billed once, the invoice overcharges by this amount.",
                    "expected": null,
                    "actual": 14520
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 1,
            "verified": 16
        }
    },
    {
        "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": "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": 1,
                "found": 0,
                "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": 95560,
                    "actual": 87597
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 1,
                "found": 0,
                "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": 95560,
                    "actual": 87597
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 0,
            "verified": 12
        }
    },
    {
        "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": [],
        "fieldCount": 21,
        "harness": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 1,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 16300,
                    "actual": 15800
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 1,
                "missed": 0,
                "falseAlarms": 0
            },
            "reported": [
                {
                    "rule": "line_total_mismatch",
                    "line": 1,
                    "sev": "error",
                    "msg": "Line item total differs from expected calculation.",
                    "expected": 16300,
                    "actual": 15800
                }
            ],
            "unverified": [],
            "errors": 1,
            "warnings": 0,
            "verified": 11
        }
    },
    {
        "id": "invoice-027",
        "layout": "letterhead",
        "design": null,
        "currency": "USD",
        "lang": "en",
        "taxLabel": "Sales Tax",
        "lines": 2,
        "supplier": "Summit HVAC Inc.",
        "total": 906111,
        "planted": [],
        "fieldErrors": [],
        "fieldCount": 21,
        "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": 12
        }
    },
    {
        "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": "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": 1,
                "found": 0,
                "missed": 1,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 131888,
                    "actual": 126888
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 1,
                "reported": 1,
                "found": 0,
                "missed": 1,
                "falseAlarms": 1
            },
            "reported": [
                {
                    "rule": "grand_total_mismatch",
                    "line": null,
                    "sev": "error",
                    "msg": "Grand total does not equal lines, discount, shipping and tax.",
                    "expected": 131888,
                    "actual": 126888
                }
            ],
            "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": 0,
            "verified": 11
        }
    },
    {
        "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": "customerName",
                "outcome": "wrong",
                "expected": "Prairie Wind Co-op",
                "actual": "April 7, 2026",
                "weight": 1
            },
            {
                "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": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "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
                }
            ]
        },
        "prod": {
            "score": {
                "planted": 0,
                "reported": 2,
                "found": 0,
                "missed": 0,
                "falseAlarms": 2
            },
            "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
                }
            ],
            "unverified": [],
            "errors": 0,
            "warnings": 2,
            "verified": 13
        }
    },
    {
        "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": [],
        "fieldCount": 81,
        "harness": {
            "score": {
                "planted": 3,
                "reported": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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": "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": 3,
                "found": 3,
                "missed": 0,
                "falseAlarms": 0
            },
            "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": "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": 1,
            "verified": 24
        }
    }
]