Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Invoice Generator Pro: IVA, IRPF & Numbering (ES/EU)

    1

    Generate Spanish and EU-compliant PDF invoices with automatic IRPF, IVA, and correlative numbering.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Invoice Generator Pro: IVA, IRPF & Numbering (ES/EU)

    Invoice Generator Pro: IVA, IRPF & Numbering (ES/EU)

    Example session with this skill installed

    Make an invoice for Client 'Acme Corp' (NIF B12345678, Madrid). Service: 10 hours of consulting at 80/hr. Apply 15% IRPF. Use series A and Spanish language.

    • Read your context and instructions
    • Compiled the invoice generator pro
    • Generated the data export

    I have prepared the invoice data for Acme Corp. I calculated the base at 800.00 EUR, applied 21% IVA (168.00 EUR), and subtracted 15% IRPF (120.00 EUR) for a final total of 848.00 EUR. The invoice has been recorded in the ledger as A2025-0042.

    Invoice Data (A2025-0042.pdf)

    FieldValue
    Series/NumberA2025-0042
    Issuer[Your Name/Company]
    ClientAcme Corp (B12345678)
    Issue Date2025-05-20
    Base Imponible800.00 EUR
    IVA (21%)+168.00 EUR
    IRPF (15%)-120.00 EUR
    Total Factura848.00 EUR
    {
      "series": "A",
      "number": "A2025-0042",
      "lang": "es",
      "client": {
        "name": "Acme Corp",
        "nif": "B12345678",
        "address": "Calle Falsa 123, Madrid, Spain"
      },
      "items": [
        {
          "description": "Consultoría profesional (10 horas)",
          "quantity": 10,
          "price": 80,
          "vat_rate": 0.21
        }
      ],
      "irpf_rate": 0.15
    }
    

    Next steps

    1. Run python scripts/invoice.py data.json --lang es to generate the PDF.
    2. Verify the entry in invoices.csv matches your bank deposit.
    3. Use the generated email draft to send the PDF to the client.

    A2025-0042.pdf

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Generating compliant invoices and quotes for Spanish freelancers and EU businesses is a manual, error-prone task. This skill automates the creation of professional PDF invoices while handling complex tax logic like IRPF withholding, Recargo de Equivalencia, and EU reverse charges.

    What it does

    • Tax Automation: Calculates Spanish VAT (IVA) at 21%, 10%, or 4%, along with IRPF withholding (15% or 7%) and Recargo de Equivalencia.
    • EU Compliance: Automatically applies reverse charge logic (0% VAT) for B2B transactions with valid VAT IDs and adds the required legal mentions.
    • Correlative Numbering: Manages invoice series and numbering (e.g., A2026-0001) via a CSV ledger to ensure no gaps or duplicates occur across fiscal years.
    • Multi-language Output: Generates documents in Spanish, English, or Catalan to suit international or local clients.
    • Ledger Management: Records every generated invoice in invoices.csv for easy tracking of totals, taxes, and client history.

    How it works

    1. Data Collection: Provide client details, issuer info, and line items. The skill identifies missing tax context like NIF/CIF or country-specific requirements.
    2. Configuration: Set flags for special regimes like reverse_charge or recargo_equivalencia in a JSON input.
    3. Execution: Run the Python script to generate the PDF and update the local CSV ledger.
    4. Validation: The skill recomputes totals and verifies Spanish NIF/CIF formats before finalizing the document.

    Frameworks & tools

    This skill uses a Python-based engine relying on reportlab for PDF generation and pdftoppm for visual verification.

    Why this beats prompting it yourself

    Generic LLMs often hallucinate tax calculations or fail to maintain strict correlative numbering across different sessions. This skill uses a deterministic Python script and a persistent CSV ledger to ensure your accounting remains technically sound and audit-ready.

    Use cases

    • Generate monthly retainer invoices for Spanish clients with IRPF withholding.
    • Issue EU B2B quotes with automatic reverse charge legal text.
    • Create a quarterly summary of IVA and IRPF for Modelo 303 and 130 prep.
    • Batch generate invoices from a CSV list of recurring service subscribers.

    Known limitations

    This is not a certified VeriFactu or TicketBAI system and does not generate mandatory QR codes for those regimes. It provides informational tax summaries rather than official tax filings.

    Requires Python and reportlab. Not compliant with VeriFactu or TicketBAI certified systems. Does not generate mandatory QR codes for specific regional Spanish tax laws.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Requires

    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    The skill uses a local CSV ledger to track every transaction, ensuring that every new invoice follows a strict sequence (e.g., A2024-001) without gaps or duplicates, even across different sessions.

    Yes, you can configure the skill to handle various Spanish tax scenarios, including 15% or 7% IRPF withholdings, multiple IVA rates, and the Recargo de Equivalencia for specific retail regimes.

    While it generates professional, compliant PDFs for Spain and the EU, it is not a certified TicketBAI or VeriFactu solution and does not generate the mandatory QR codes required in those specific jurisdictions.

    You receive a complete automation package including the Python-based PDF engine, a pre-configured CSV ledger template, and the integration logic needed for your AI agent to trigger invoice generation.

    The skill automatically detects EU VAT IDs; if a valid B2B transaction is identified outside of Spain but within the EU, it applies 0% VAT and inserts the required 'Reverse Charge' legal text into the PDF.

    You will need a Python environment with the `reportlab` library installed; the skill is designed to work with any AI agent capable of executing Python scripts and managing local file storage.

    New in Finance & Accounting