{
  "tool_id": "art-293-einvoice-format-validator",
  "tool_version": "1.1.0",
  "display_name": "E-Invoice Format Validator",
  "mcp_name": "validate_einvoice_format",
  "mandate_type": "compliance_mandate",
  "wave": 46,
  "gpu": false,
  "url": "https://ainumbers.co/chaingraph/art-293-einvoice-format-validator.html",
  "description": "Conformance-validate a structured e-invoice extract against version-pinned Factur-X, XRechnung, PINT-AE, MyInvois, Peppol BIS 3.0/EN 16931 core (Belgium), or KSeF FA(3) (Poland) format rules: mandatory-field presence, currency/VAT-category codelist membership, line-item cardinality. Returns per-rule findings, missing_fields, and structural_completeness. Root node of the einvoice-validation-pipeline chain. Zero network, zero PII. Not a legal-validity determination.",
  "input_schema_ref": "chaingraph/art-293-einvoice-format-validator.html#manifest",
  "consumes": [],
  "feeds": [
    "art-294-einvoice-vat-calc-verifier"
  ],
  "status": "live",
  "conformance_fixtures": true,
  "compute_capability": "server",
  "compute_images": [
    {
      "system": "sha256-source",
      "image_id": "sha256:5daa83b6ade4cbfb782fb404e16e80077c9264bb4f636e9c1d6e564294e89f58",
      "valid_from": "2026-07-10"
    },
    {
      "system": "risc0",
      "image_id": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
      "valid_from": "2026-06-28"
    }
  ],
  "compute_proof": {
    "type": "ZkVmReceipt",
    "system": "risc0",
    "receiptFormat": "groth16-bn254",
    "imageId": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
    "seal": "DGMSs/AtKA2UzfDqordsmsdzshSCnj6vNXHNGQhKunEBTfEVnqbMSNMvfxX/L1ihcoDIl1ZC5p2O6X6IFbpfvy74PTbF/qSCKsMj2b2CnXnFEzkOrzISCrzFCRa7i1zjFZfQd9nRojqY9OZ93F/g+iijzwCpVCBGNHt4V1lnlYIbwTcoNvYVOPLLPs1+4Ju5FsHDshruGx324jgXDXMHzB1we740BR7GW3rgGXdeHqSNCiz7qhfgSM2H4F2+LbQfGvguNrHWCnIcngqUyf8wFitdGqz4Gj6WK/yqMB26QCsPmC1tX9Jyh2JStYrTX52Y7wYXOhjvyjy+ZInRW7GHog==",
    "journal": {
      "chaingraph_version": "0.4.0",
      "kernel_digest": "sha256:5daa83b6ade4cbfb782fb404e16e80077c9264bb4f636e9c1d6e564294e89f58",
      "output": {
        "findings": [
          {
            "pass": true,
            "rule": "mandatory_field:invoice_number"
          },
          {
            "pass": true,
            "rule": "mandatory_field:invoice_date"
          },
          {
            "pass": true,
            "rule": "mandatory_field:currency_code"
          },
          {
            "pass": true,
            "rule": "mandatory_field:seller_name"
          },
          {
            "pass": true,
            "rule": "mandatory_field:seller_vat_id"
          },
          {
            "pass": true,
            "rule": "mandatory_field:buyer_name"
          },
          {
            "pass": true,
            "rule": "mandatory_field:leitweg_id"
          },
          {
            "pass": true,
            "rule": "codelist:currency_code"
          },
          {
            "pass": true,
            "rule": "cardinality:line_items_non_empty"
          },
          {
            "pass": true,
            "rule": "codelist:line[0].vat_category"
          },
          {
            "pass": true,
            "rule": "codelist:line[1].vat_category"
          }
        ],
        "format": "xrechnung",
        "line_item_count": 2,
        "missing_fields": [],
        "parse_error": null,
        "rule_set_version": "XRechnung CIUS 3.0.2 (DRAFT-PIN, unconfirmed as of 2026-07-13)",
        "structural_completeness": true
      }
    }
  },
  "export_capability": [
    "json",
    "vc"
  ]
}
