{
  "accounts_classification_source": "classifier",
  "accounts_classifier": {
    "confidence": "high",
    "effective": true,
    "evidence": [
      "invoice reference 1166 matched the email content",
      "strong accounts wording detected: invoice"
    ],
    "invoice_matches": [
      {
        "evidence": "subject contained invoice reference 1166",
        "match_text": "Invoice 1166",
        "score": 96,
        "source": "subject",
        "sources": [
          "primary_body",
          "secondary_body",
          "subject"
        ],
        "value": 1166
      }
    ],
    "medium_keyword_hits": [],
    "score": 84,
    "strong_keyword_hits": [
      "invoice"
    ]
  },
  "accounts_override": null,
  "ai_count": 0,
  "ai_last_error": null,
  "ai_last_processed_at": null,
  "ai_processing": false,
  "ai_processing_started_at": null,
  "ai_textfield": null,
  "allocated_date": null,
  "allocated_to": "",
  "body_html": "<p>INVOICE NO. 1166</p><p>Ross Rowing Club Limited</p><p>\u00a31,200.00<br>Review and pay</p><p>Powered by QuickBooks</p><p>Dear Luke Shepherd,</p><p>Please find attached Sponsorship invoice for June 2026</p><p>thanks for your ongoing support<br>Tim Ball<br>Club Tresurer<br>Ross Rowing Club Limited</p><p>Ross Rowing Club Limited<br>The Boathouse, Ropewalk<br>Ross on Wye<br>Herefordshire<br>HR9 7BU</p><p>treasurer@rossrowingclub.co.uk<br>www.rossrowingclub.co.uk<br>VAT Registration No.: 451158605</p><p>If you receive an email that seems fraudulent, please check with the business owner before paying.</p><p>\u00a9 Intuit, Inc. All rights reserved.<br>Privacy | Security | Terms of Service</p>",
  "body_text": "INVOICE NO. 1166\n\nRoss Rowing Club Limited\n\n\u00a31,200.00\nReview and pay\n\nPowered by QuickBooks\n\nDear Luke Shepherd,\n\nPlease find attached Sponsorship invoice for June 2026\n\nthanks for your ongoing support\nTim Ball\nClub Tresurer\nRoss Rowing Club Limited\n\nRoss Rowing Club Limited\nThe Boathouse, Ropewalk\nRoss on Wye\nHerefordshire\nHR9 7BU\n\ntreasurer@rossrowingclub.co.uk\nwww.rossrowingclub.co.uk\nVAT Registration No.: 451158605\n\nIf you receive an email that seems fraudulent, please check with the business owner before paying.\n\n\u00a9 Intuit, Inc. All rights reserved.\nPrivacy | Security | Terms of Service",
  "calls_classification_source": "default",
  "calls_override": null,
  "cc_email": "accounts@hec.co.uk",
  "closed_date": null,
  "contact_email": "quickbooks@notification.intuit.com",
  "contact_id": 275,
  "contact_is_safe": true,
  "contact_name": "",
  "contact_open_url": "/contacts?open=275&search=quickbooks%40notification.intuit.com",
  "contact_type": "b2b",
  "display_body_html": "<p>INVOICE NO. 1166</p><p>Ross Rowing Club Limited</p><p>\u00a31,200.00<br>Review and pay</p><p>Powered by QuickBooks</p><p>Dear Luke Shepherd,</p><p>Please find attached Sponsorship invoice for June 2026</p><p>thanks for your ongoing support<br>Tim Ball<br>Club Tresurer<br>Ross Rowing Club Limited</p><p>Ross Rowing Club Limited<br>The Boathouse, Ropewalk<br>Ross on Wye<br>Herefordshire<br>HR9 7BU</p><p>treasurer@rossrowingclub.co.uk<br>www.rossrowingclub.co.uk<br>VAT Registration No.: 451158605</p><p>If you receive an email that seems fraudulent, please check with the business owner before paying.</p><p>\u00a9 Intuit, Inc. All rights reserved.<br>Privacy | Security | Terms of Service</p>",
  "display_body_invalid_reason": "",
  "display_body_source": "text/html",
  "display_body_text": "INVOICE NO. 1166\n\nRoss Rowing Club Limited\n\n\u00a31,200.00\nReview and pay\n\nPowered by QuickBooks\n\nDear Luke Shepherd,\n\nPlease find attached Sponsorship invoice for June 2026\n\nthanks for your ongoing support\nTim Ball\nClub Tresurer\nRoss Rowing Club Limited\n\nRoss Rowing Club Limited\nThe Boathouse, Ropewalk\nRoss on Wye\nHerefordshire\nHR9 7BU\n\ntreasurer@rossrowingclub.co.uk\nwww.rossrowingclub.co.uk\nVAT Registration No.: 451158605\n\nIf you receive an email that seems fraudulent, please check with the business owner before paying.\n\n\u00a9 Intuit, Inc. All rights reserved.\nPrivacy | Security | Terms of Service",
  "display_body_used_placeholder": false,
  "due_date": null,
  "duplicate_of": null,
  "effective_is_accounts": true,
  "effective_is_calls": false,
  "effective_is_internal": false,
  "effective_is_safe": true,
  "effective_is_spam": false,
  "escalated_date": null,
  "escalted_to": null,
  "extracted_entities": [
    {
      "confidence": "0.9400",
      "entity_type": "company_name",
      "entity_value_normalised": "Ross Rowing Club Limited",
      "entity_value_raw": "Ross Rowing Club Limited",
      "extraction_method": "header_parse",
      "id": 1180553,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_display_company",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "display_name"
    },
    {
      "confidence": "0.8600",
      "entity_type": "company_name",
      "entity_value_normalised": "Ross Rowing Club Limited",
      "entity_value_raw": "Ross Rowing Club Limited",
      "extraction_method": "heuristic",
      "id": 1180566,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "signature_company_line",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 3,
      "source_subarea": "line"
    },
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "quickbooks@notification.intuit.com",
      "entity_value_raw": "quickbooks@notification.intuit.com",
      "extraction_method": "header_parse",
      "id": 1180552,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_address_parse",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "address"
    },
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "accounts@hec.co.uk",
      "entity_value_raw": "accounts@hec.co.uk",
      "extraction_method": "header_parse",
      "id": 1180557,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_address_parse",
      "rule_version": "v1",
      "source_area": "cc_header",
      "source_index": 0,
      "source_subarea": "address"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "accounts@hec.co.uk",
      "entity_value_raw": "accounts@hec.co.uk",
      "extraction_method": "regex",
      "id": 1180558,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_email_regex",
      "rule_version": "v1",
      "source_area": "cc_header",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "quickbooks@notification.intuit.com",
      "entity_value_raw": "quickbooks@notification.intuit.com",
      "extraction_method": "regex",
      "id": 1180554,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_email_regex",
      "rule_version": "v1",
      "source_area": "from_header",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9200",
      "entity_type": "email_address",
      "entity_value_normalised": "treasurer@rossrowingclub.co.uk",
      "entity_value_raw": "treasurer@rossrowingclub.co.uk",
      "extraction_method": "regex",
      "id": 1180561,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "email_regex",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9950",
      "entity_type": "email_address",
      "entity_value_normalised": "lshepherd@haighgroupltd.co.uk",
      "entity_value_raw": "lshepherd@haighgroupltd.co.uk",
      "extraction_method": "header_parse",
      "id": 1180555,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_address_parse",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 0,
      "source_subarea": "address"
    },
    {
      "confidence": "0.9400",
      "entity_type": "email_address",
      "entity_value_normalised": "lshepherd@haighgroupltd.co.uk",
      "entity_value_raw": "lshepherd@haighgroupltd.co.uk",
      "extraction_method": "regex",
      "id": 1180556,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "header_email_regex",
      "rule_version": "v1",
      "source_area": "to_header",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9600",
      "entity_type": "invoice_reference",
      "entity_value_normalised": "1166",
      "entity_value_raw": "1166",
      "extraction_method": "regex",
      "id": 1180559,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "invoice_keyword_numeric",
      "rule_version": "v1",
      "source_area": "subject",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9100",
      "entity_type": "money_amount",
      "entity_value_normalised": "GBP 1200.00",
      "entity_value_raw": "\u00a31,200.00",
      "extraction_method": "regex",
      "id": 1180560,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "money_amount_regex",
      "rule_version": "v1",
      "source_area": "body_main",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.8600",
      "entity_type": "person_name",
      "entity_value_normalised": "Tim Ball",
      "entity_value_raw": "Tim Ball",
      "extraction_method": "heuristic",
      "id": 1180564,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "signature_person_line",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 1,
      "source_subarea": "line"
    },
    {
      "confidence": "0.8600",
      "entity_type": "person_name",
      "entity_value_normalised": "Club Tresurer",
      "entity_value_raw": "Club Tresurer",
      "extraction_method": "heuristic",
      "id": 1180565,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "signature_person_line",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 2,
      "source_subarea": "line"
    },
    {
      "confidence": "0.8600",
      "entity_type": "person_name",
      "entity_value_normalised": "The Boathouse, Ropewalk",
      "entity_value_raw": "The Boathouse, Ropewalk",
      "extraction_method": "heuristic",
      "id": 1180567,
      "is_primary": 0,
      "is_valid": 1,
      "notes": null,
      "rule_name": "signature_person_line",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 5,
      "source_subarea": "line"
    },
    {
      "confidence": "0.9500",
      "entity_type": "postcode",
      "entity_value_normalised": "HR9 7BU",
      "entity_value_raw": "HR9 7BU",
      "extraction_method": "regex",
      "id": 1180563,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "uk_postcode_regex",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 0,
      "source_subarea": "regex"
    },
    {
      "confidence": "0.9300",
      "entity_type": "url",
      "entity_value_normalised": "www.rossrowingclub.co.uk",
      "entity_value_raw": "www.rossrowingclub.co.uk",
      "extraction_method": "regex",
      "id": 1180562,
      "is_primary": 1,
      "is_valid": 1,
      "notes": null,
      "rule_name": "url_regex",
      "rule_version": "v1",
      "source_area": "signature",
      "source_index": 0,
      "source_subarea": "regex"
    }
  ],
  "extracted_entities_json": {
    "counts": {
      "company_name": 1,
      "date": 0,
      "email_address": 4,
      "invoice_reference": 1,
      "job_reference": 0,
      "money_amount": 1,
      "order_reference": 0,
      "person_name": 3,
      "phone_number": 0,
      "po_reference": 0,
      "postcode": 1,
      "quote_reference": 0,
      "url": 1
    },
    "entities": {
      "company_name": [
        "Ross Rowing Club Limited"
      ],
      "date": [],
      "email_address": [
        "quickbooks@notification.intuit.com",
        "lshepherd@haighgroupltd.co.uk",
        "accounts@hec.co.uk",
        "treasurer@rossrowingclub.co.uk"
      ],
      "invoice_reference": [
        "1166"
      ],
      "job_reference": [],
      "money_amount": [
        "GBP 1200.00"
      ],
      "order_reference": [],
      "person_name": [
        "Tim Ball",
        "Club Tresurer",
        "The Boathouse, Ropewalk"
      ],
      "phone_number": [],
      "po_reference": [],
      "postcode": [
        "HR9 7BU"
      ],
      "quote_reference": [],
      "url": [
        "www.rossrowingclub.co.uk"
      ]
    },
    "last_processed_at": "2026-06-10T09:02:26Z",
    "primary": {
      "company_name": "Ross Rowing Club Limited",
      "email_address": "quickbooks@notification.intuit.com",
      "invoice_reference": "1166",
      "money_amount": "GBP 1200.00",
      "person_name": "Tim Ball",
      "postcode": "HR9 7BU",
      "url": "www.rossrowingclub.co.uk"
    },
    "version": "v1"
  },
  "from_email": "Ross Rowing Club Limited <quickbooks@notification.intuit.com>",
  "full_message": "INVOICE NO. 1166\n\nRoss Rowing Club Limited\n\n\u00a31,200.00\nReview and pay\n\nPowered by QuickBooks\n\nDear Luke Shepherd,\n\nPlease find attached Sponsorship invoice for June 2026\n\nthanks for your ongoing support\nTim Ball\nClub Tresurer\nRoss Rowing Club Limited\n\nRoss Rowing Club Limited\nThe Boathouse, Ropewalk\nRoss on Wye\nHerefordshire\nHR9 7BU\n\ntreasurer@rossrowingclub.co.uk\nwww.rossrowingclub.co.uk\nVAT Registration No.: 451158605\n\nIf you receive an email that seems fraudulent, please check with the business owner before paying.\n\n\u00a9 Intuit, Inc. All rights reserved.\nPrivacy | Security | Terms of Service",
  "human_notes": null,
  "human_summary": null,
  "human_title": null,
  "id": 100595,
  "in_reply_to": "",
  "internal_classification_source": "default",
  "internal_override": null,
  "is_accounts": true,
  "is_accounts_inbox_recipient": true,
  "is_action_required": false,
  "is_ai": false,
  "is_calls": false,
  "is_closed": false,
  "is_complaint": false,
  "is_duplicate": false,
  "is_escalated": false,
  "is_flagged": false,
  "is_internal": false,
  "is_lead": false,
  "is_newemailaddr": false,
  "is_opportunity": false,
  "is_private": false,
  "is_shared": true,
  "is_shared_inbox_recipient": false,
  "is_spam": false,
  "is_transaction": false,
  "message_id": "8YyJFE95Rc6VXasUEZKwYA@geopod-ismtpd-2",
  "primary_action_case": null,
  "primary_company_href": "/supplier?supplierid=195",
  "primary_company_name": "Aquarius Waste Management Ltd",
  "received_at": "Wed, 10 Jun 2026 09:02:18 GMT",
  "safe_classification_source": "rule",
  "snippet": "INVOICE NO. 1166 Ross Rowing Club Limited \u00a31,200.00 Review and pay Powered by QuickBooks Dear Luke Shepherd, Please fin\u2026",
  "source": "Mailcow IMAP",
  "spam_classification_source": "safe_override",
  "status": "new",
  "subject": "Invoice 1166 from Ross Rowing Club Limited",
  "suggested_company": null,
  "suggested_customerid": null,
  "tags": null,
  "to_email": "lshepherd@haighgroupltd.co.uk",
  "type": "inbound"
}
