← Qeemah (قيمة)CONTENT HISTORY

Update to Qeemah (قيمة)

Snapshot Nov 11, 2026 · 06:09 UTC · version 1.0.3

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Qeemah (قيمة) and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Audit, inspect, and verify Saudi ZATCA e-invoices (XML and PDF) for Phase 2 compliance, VAT calculations, and QR codes.",
  "included_files": [],
  "name": "zatca-auditor",
  "skill_md_contents": "---\nname: zatca-auditor\ndescription: Audit, inspect, and verify Saudi ZATCA e-invoices (XML and PDF) for Phase 2 compliance, VAT calculations, and QR codes.\n---\n\n# ZATCA E-Invoice Auditor\n\nWhen the user asks to inspect, audit, or check a Saudi Arabian e-invoice, use the Qeemah extension tools.\n\n## Key Capabilities\n\n1. **File Inspector (`qeemah.zatca_viewer`)**:\n   - Opens when the user clicks or views a `.xml` or `.pdf` e-invoice.\n   - Decodes Base64 TLV QR codes into human-readable data (Seller, VAT, Timestamp, Invoice Total, VAT Amount, Hash, Signature, ECDSA Public Key).\n   - Verifies UBL 2.1 elements according to KSA Phase 2 rules.\n\n2. **Validation Rules to Check**:\n   - **Seller VAT Number**: Must be 15 digits, starting with 3 and ending with 3 (`^3\\\\d{13}3$`).\n   - **Invoice Type Code**:\n     - `388`: Tax Invoice\n     - `381`: Credit Note\n     - `383`: Debit Note\n   - **Invoice Subtype**:\n     - `0100000`: Standard Tax Invoice (B2B) - requires buyer VAT number and address.\n     - `0200000`: Simplified Tax Invoice (B2C) - requires TLV QR code.\n   - **Currency**: Must be `SAR` for domestic transactions.\n   - **Standard VAT Rate**: Must be `15%` unless zero-rated (`Z`), exempt (`E`), or out-of-scope (`O`).\n   - **Math Integrity**:\n     - Tax Exclusive Amount = Sum of Line Extension Amounts - Allowances + Charges.\n     - Tax Inclusive Amount = Tax Exclusive Amount + Tax Amount.\n     - Payable Amount = Tax Inclusive Amount - Prepaid Amount.\n     - QR Code Total and VAT must exactly match the Invoice Payable Amount and Tax Amount.\n\n3. **Guidance for the Assistant**:\n   - Provide responses in the user's preferred language (Arabic or English).\n   - If the user asks about tax deductibility, clarify that only Standard Invoices (B2B) addressed to the taxable person's VAT registration number can be used for input VAT deduction.\n"
}

SHA-256 of public snapshot: 80085fc53262475c6b55eda7cb9094756e615d1f309ba6d9fc137c43e489aa2a