WP Manifestindependent plugin directory
manifest / ecommerce / wc-fiskaly-verifactur

WC Fiskaly Verifactur

๐Ÿงพ Electronic invoicing (Verifactu) for WooCommerce via Fiskaly SIGN ES API โ€” AEAT compliant

โ˜… 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/gonbellido/wc-fiskaly-verifactur/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard โ†’ Updates. Install new releases yourself, or let Git Updater track the repository.

Electronic invoicing (Verifactu) for WooCommerce via Fiskaly SIGN ES API. AEAT compliant, digital signature, QR code, and legal text on every invoice.

โœจ Features

  • ๐Ÿ›๏ธ AEAT Verifactu Compliant โ€” Generates legally valid electronic invoices
  • โœ๏ธ Digital Signature โ€” Fiskaly SIGN ES API cryptographic signature
  • ๐Ÿ“ฎ Automatic Submission โ€” Sends invoices to AEAT on order completion
  • ๐Ÿ”ฒ QR Code โ€” Verifactu QR on every invoice for verification
  • ๐Ÿ“ฑ Email Integration โ€” Attaches invoice PDF to WooCommerce order emails
  • ๐Ÿ“Š Bulk Operations โ€” Sync all completed orders or date range
  • ๐Ÿ”„ Status Dashboard โ€” Track registered/pending/cancelled invoices
  • ๐Ÿ“ Legal Text โ€” Mandatory Spanish legal footer on every invoice

๐Ÿš€ Quick Start

  1. Get API credentials from Fiskaly Dashboard
  2. Install via WordPress Admin โ†’ Plugins โ†’ Add New โ†’ Upload
  3. Go to WooCommerce โ†’ Settings โ†’ Fiskaly Verifactur
  4. Enter API Key, API Secret, and TAC (Test/Live toggle)
  5. Orders auto-generate invoices on "Completed" status

๐Ÿ›  Tech Stack

  • PHP 7.4+ โ€” OOP with strict typing
  • Fiskaly SIGN ES REST API (POST /api/v1/sign)
  • HPOS Compatible (High-Performance Order Storage)
  • PDF Generation via HTML/CSS template
  • WooCommerce Action Scheduler for async sync jobs
  • GPL v2 licensed

๐Ÿ“ Structure

wc-fiskaly-verifactur/
โ”œโ”€โ”€ wc-fiskaly-verifactur.php       # Plugin bootstrap (HPOS + WC hooks)
โ”œโ”€โ”€ includes/
โ”‚   โ”œโ”€โ”€ class-fiskaly-api.php       # Fiskaly REST API client + auth
โ”‚   โ”œโ”€โ”€ class-fiskaly-invoice.php   # Invoice data builder (XML + PDF payload)
โ”‚   โ”œโ”€โ”€ class-fiskaly-pdf.php       # HTML โ†’ PDF converter
โ”‚   โ”œโ”€โ”€ class-fiskaly-sync.php      # Bulk sync via Action Scheduler
โ”‚   โ”œโ”€โ”€ class-fiskaly-admin.php     # Settings page (API keys, TAC, mode)
โ”‚   โ”œโ”€โ”€ class-fiskaly-ajax.php      # AJAX handlers (bulk, test, stats)
โ”‚   โ”œโ”€โ”€ class-fiskaly-order-meta.php # Order metabox (status, download, QR)
โ”‚   โ””โ”€โ”€ class-fiskaly-webhook.php   # AEAT callback webhook handler
โ””โ”€โ”€ assets/
    โ”œโ”€โ”€ css/admin.css               # Admin panel styles
    โ””โ”€โ”€ js/admin.js                 # Dashboard interactivity

๐Ÿ‘ค Author

Gonzalo Bellido โ€” Fullstack Developer & WordPress Specialist