Skip to main content

API · Python · Apify Actors

Developers & Automation Hub

Clean separation between the static frontend, shared Python gic_core engine, local FastAPI adapter, and Apify Actors—zero browser secrets.

Local FastAPI v1 Endpoints

  • GET/health
  • GET/v1/capabilities
  • GET/v1/rules?standard=zatca
  • POST/v1/validate/zatca
  • POST/v1/validate/zatca/upload
  • POST/v1/decode/qr
  • POST/v1/validate/jofotara
  • POST/v1/build/jofotara
  • POST/v1/validate/batch
Read full API documentation
curl · Local FastAPIbash
curl -X POST http://127.0.0.1:8000/v1/decode/qr \
  -H "Content-Type: application/json" \
  -d '{
    "qr_base64": "ASJTeW50aGV0aWMgUml5YWRoIENsb3VkIFRyYWRpbmcgTExDAg8zMTAxMjIzOTM1MDAwMDMDFDIwMjYtMDYtMDZUMTE6MzA6MDBaBAcxMTUwLjAwBQYxNTAuMDA="
  }'
actors/zatca-invoice-validator

Batch ZATCA UBL 2.1 XML preflight with deduplication & budget guard.

PPE Event: invoice-validated

actors/zatca-qr-checker

Batch Base64 TLV decoder (Tags 1–9) with optional XML cross-check.

PPE Event: qr-checked

actors/jofotara-invoice-toolkit

Dual-mode JoFotara UBL validator and deterministic XML builder.

PPE Event: invoice-validated / invoice-built