{
  "schema_version": 1,
  "generator": {
    "name": "TrustyFile",
    "url": "https://www.trustyfile.com"
  },
  "file": {
    "name": "facture-exemple.pdf",
    "sha256": "bb489f35b25f711b7de95f6f7a97923bed04b29a07b2ac3e572fe787c71db540"
  },
  "analysed_at": "2026-11-15 13:22",
  "language": "en",
  "band": "SUSPICIOUS",
  "risk_level": "CRITICAL",
  "trust_score": 1,
  "score_range": {
    "low": 1,
    "high": 1
  },
  "document_type": "invoice",
  "analysis_time_ms": 914,
  "summary": {
    "verdict": "This document shows clear signs of modification.",
    "bullets": [
      "A value appears to have been covered and replaced: \"1 200,00 EUR\" was hidden and \"2 200,00 EUR\" placed over it.",
      "The document was modified 2 day(s) after creation.",
      "The VAT number (FR40732829320) is invalid.",
      "The SIRET number (73282932000074) was not found in the official French registry."
    ]
  },
  "modules": [
    {
      "name": "metadata",
      "score": 100,
      "flags": []
    },
    {
      "name": "content",
      "score": 65,
      "flags": [
        {
          "severity": "high",
          "code": "CONTENT_INVALID_VAT",
          "sentence": "The VAT number (FR40732829320) is invalid.",
          "message": "Invalid French VAT number: FR40732829320",
          "details": {
            "vat": "FR40732829320",
            "context": ": 732 829 320 00074\nTVA intracommunautaire : FR40 732 829 320\nClient : Société Fi"
          }
        },
        {
          "severity": "low",
          "code": "CONTENT_INVALID_IBAN",
          "sentence": "The IBAN FR7630006000011234567890180 printed on the document fails its mod-97 check digits — a typo or a fabricated account number.",
          "message": "IBAN fails checksum validation: FR7630006000011234567890180",
          "details": {
            "iban": "FR7630006000011234567890180",
            "context": "ordonnées bancaires\nIBAN : FR76 3000 6000 0112 3456 7890 180\nBIC : AGRIFRPP\n2 20",
            "explanation": "The mod-97 check digit does not match — a typo or a fabricated account number."
          }
        }
      ]
    },
    {
      "name": "visual",
      "score": 100,
      "flags": []
    },
    {
      "name": "fonts",
      "score": 100,
      "flags": []
    },
    {
      "name": "images",
      "score": 100,
      "flags": []
    },
    {
      "name": "structure",
      "score": 55,
      "flags": [
        {
          "severity": "medium",
          "code": "STRUCT_INCREMENTAL_UPDATES",
          "sentence": "The PDF has been edited 1 time(s) after its initial creation.",
          "message": "PDF has 1 incremental update(s)",
          "details": {
            "eof_count": 2,
            "edit_count": 1,
            "has_signature": false,
            "excused_by_signatures": 0,
            "effective_edits": 1,
            "visible_content_changed": true,
            "original_blank": false,
            "explanation": "Each edit adds a new version to the PDF. Each signature field excuses one update (a signing pass appends exactly one version)."
          }
        },
        {
          "severity": "high",
          "code": "META_DOCUMENT_MODIFIED",
          "sentence": "The document was modified 2 day(s) after creation.",
          "message": "Document was modified 2 days after creation",
          "details": {
            "creation_date": "2026-08-12T07:30:00+00:00",
            "modification_date": "2026-08-14T15:45:00+00:00",
            "time_difference_hours": 56.25,
            "explanation": "Official documents should never be modified after creation. This document was edited after it was originally generated."
          }
        }
      ]
    },
    {
      "name": "overlay",
      "score": 50,
      "flags": [
        {
          "severity": "critical",
          "code": "OVERLAY_COVER_AND_RETYPE",
          "sentence": "A value appears to have been covered and replaced: \"1 200,00 EUR\" was hidden and \"2 200,00 EUR\" placed over it.",
          "message": "A value appears to have been covered and retyped on page 1: \"1 200,00 EUR\" was hidden and \"2 200,00 EUR\" placed over it (a change of +1,000.00).",
          "details": {
            "page": 0,
            "covered": "1 200,00 EUR",
            "replacement": "2 200,00 EUR",
            "bbox": [
              378.5,
              291.63006591796875,
              450.59100341796875,
              309.77703857421875
            ],
            "delta": 1000.0
          }
        }
      ]
    },
    {
      "name": "invisible",
      "score": 100,
      "flags": []
    },
    {
      "name": "provenance",
      "score": 100,
      "flags": []
    },
    {
      "name": "arithmetic",
      "score": 100,
      "flags": []
    },
    {
      "name": "forensics",
      "score": 100,
      "flags": []
    },
    {
      "name": "twod_doc",
      "score": 100,
      "flags": []
    },
    {
      "name": "external",
      "score": 40,
      "flags": [
        {
          "severity": "high",
          "code": "EXTERNAL_SIRET_NOT_FOUND",
          "sentence": "The SIRET number (73282932000074) was not found in the official French registry.",
          "message": "SIRET 73282932000074 not found in official registry",
          "details": {
            "siret": "73282932000074",
            "error": "SIRET 73282932000074 not found in registry"
          }
        },
        {
          "severity": "high",
          "code": "EXTERNAL_IBAN_INVALID",
          "sentence": "A bank account number (IBAN) printed on the document fails its checksum — it cannot be a real account.",
          "message": "IBAN FR76...0180 is not valid",
          "details": {
            "iban_partial": "FR76...0180"
          }
        }
      ]
    }
  ]
}
