extract-zatca-e-invoice-data

extract-zatca-e-invoice-data is a skill for Claude Code from iterationlayer/skills. It costs 20 tokens per session (3,868 once invoked), scanned A, a copy of compress-image-to-target-size, MIT.

An invoice data extractor for ZATCA e-invoices, the electronic invoices used for Saudi Arabian tax reporting and business records.

In plain words
What is it for?
Use it to extract invoice information for accounts receivable, accounts payable, tax work, and ERP processing.
Why use it?
It removes manual entry of seller, buyer, invoice, and tax details into accounting or enterprise systems. Structured fields can be routed to finance and tax workflows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the document-extraction plugin — 142 skills shipped together

Good fit Use it to extract invoice information for accounts receivable, accounts payable, tax…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iterationlayer/skills/extract-zatca-e-invoice-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iterationlayer/skills --skill extract-zatca-e-invoice-data
Clone the repo
git clone --depth 1 https://github.com/iterationlayer/skills

Made for: Claude Code.

Or install document-extraction, the plugin that ships this one along with the rest of its 142 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for extract-zatca-e-invoice-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/iterationlayer/skills/extract-zatca-e-invoice-data.svg)](https://agentmods.dev/skills/iterationlayer/skills/extract-zatca-e-invoice-data)
Your own site
<a href="https://agentmods.dev/skills/iterationlayer/skills/extract-zatca-e-invoice-data"><img src="https://agentmods.dev/badge/skills/iterationlayer/skills/extract-zatca-e-invoice-data.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 78% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.03868
Opus 5 $0.00010 $0.01934
Sonnet 5 $0.00004 $0.00774
Haiku 4.5 $0.00002 $0.00387

Measured 3d ago against content hash bab0844f4047, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

extract-zatca-e-invoice-data scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
Origin

This is a copy

78% identical to compress-image-to-target-size — 507 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/extract-zatca-e-invoice-data/SKILL.md · 570 lines

How it starts

The opening of the file, as written. The whole thing — 570 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Extract ZATCA E-Invoice Data

Finance teams use this recipe to extract ZATCA E-Invoice fields into structured JSON for accounts receivable, accounts payable, tax, and ERP workflows.

APIs Used

Document Extraction (1 credit per page)

Prerequisites

You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.

For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.

Implementation

curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "files": [
    {
      "type": "url",
      "name": "zatca-e-invoice.pdf",
      "url": "https://example.com/documents/zatca-e-invoice-sample.pdf"
    }
  ],
  "schema": {
    "fields": [
      {
        "name": "seller_name",
        "type": "TEXT",
        "description": "Seller, supplier, or issuer name"
      },
      {
        "name": "buyer_name",
        "type": "TEXT",
        "description": "Buyer, customer, or recipient name"
      },
      {
        "name": "document_number",
        "type": "TEXT",
        "description": "Invoice or fiscal document number"
      },
      {
        "name": "issue_date",
        "type": "DATE",
        "description": "Issue date"
      },
      {
        "name": "line_items",
        "type": "ARRAY",
        "description": "Line items, services, or taxable supplies",
        "fields": [
          {
            "name": "description",
            "type": "TEXT",
            "description": "Item or service description"
          },
          {
            "name": "quantity",
            "type": "DECIMAL",
            "description": "Quantity"
          },
          {
            "name": "unit_price",
            "type": "CURRENCY_AMOUNT",
            "description": "Unit price"
          },
          {
            "name": "line_total",
            "type": "CURRENCY_AMOUNT",
            "description": "Line total"
          }
        ]
      },
      {
        "name": "tax_amount",
        "type": "CURRENCY_AMOUNT",
        "description": "Tax amount"
      },
      {
        "name": "total_amount",
        "type": "CURRENCY_AMOUNT",
        "description": "Total payable amount"
      },
      {
        "name": "currency",
        "type": "CURRENCY_CODE",
        "description": "Currency code"
      }
    ]
  }
}'

Read the full file on GitHub · 570 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 570 lines · 20 tokens per session scan A bab0844f4047

Subscribe to this mod's changes

extract-zatca-e-invoice-data is a skill published in the GitHub repository iterationlayer/skills (3 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 3,868 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 78% identical to compress-image-to-target-size, differing in 507 lines, and is treated as a copy.

Related

Other skills, from other repositories

lians

Use Lians financial-grade agent memory - store and recall facts with a bitemporal model so stale revisions never contaminate context. Use whenever an agent needs persistent memory in finance, healthcare, or legal work, or when a task asks "what did we know on/before ", needs an audit trail, or must erase a data…

Lians-ai/Lians · 73 tokens

bartender

Use when a task needs the judgment of a Bartender — reconciling actual pour cost against theoretical liquor cost by drink category, deciding whether and how to cut off a guest, pricing a drink menu across well/call/premium tiers, closing out a till and comp log at shift end, or sequencing bar-top service against a…

wonsukchoi/domain-experts · 74 tokens

bill-account-collector

Use when a task needs the judgment of a bill and account collector — prioritizing a delinquent-account portfolio by recovery likelihood, structuring a payment plan against a debtor's stated ability to pay, drafting an FDCPA/Reg F-compliant collection communication, handling a cease-and-desist or debt dispute, or…

wonsukchoi/domain-experts · 80 tokens

compliance

An entry check and compliance-validation skill for a process with PC0–PC10 checks and FC, SC, RC, and T rules. The description does not explain what those abbreviations mean.

devcodex-labs/devcodex · 61 tokens

privacy-compliance-architecture

A guide for building systems that handle personal information and privacy obligations. It covers consent, data minimisation, retention and deletion, data location, anonymised logs, and requests to access, export, or delete data.

devcodex-labs/devcodex · 85 tokens

banking-workflow-assistant

Use when bank operations, relationship managers, or credit middle-office teams need to pre-check onboarding, credit, KYB, due diligence, or post-loan documents, route exceptions, track SLA risk, and preserve audit-ready compliance reasoning.

AndrewNgGirl/SkillLens · 54 tokens