Description and hero image for Facturawoo, the best invoicing solution for WooCommerce in Spain
8Digits Factura for Woocommerce Documentation
v1.1

8Digits Factura for Woocommerce Documentation

Everything you need to set up automatic PDF invoicing for your WooCommerce store — compliant with Spain's invoicing regulations.

Introduction

8Digits Factura for Woocommerce automatically generates legal PDF invoices for every WooCommerce order. Each invoice is assigned a sequential number, includes a full VAT (IVA) breakdown, and is attached to the customer's email — all without any manual work on your part.

🧾

Automatic Invoices

Invoices are generated the moment an order reaches the status you choose — no clicks required.

🔢

Sequential Numbering

Legally required sequential numbering per series and year, with a format like F-2025-0001.

📄

Legal PDF

Every invoice includes all mandatory fields per Real Decreto 1619/2012 — issuer, customer, NIF, IVA breakdown, totals.

📧

Email Delivery

The invoice PDF is automatically attached to WooCommerce's order confirmation email.

Requirements

ComponentMinimum version
WordPress6.0 or later
WooCommerce7.0 or later
PHP8.0 or later
MySQL / MariaDB5.6 / 10.0 or later
8Digits Factura for Woocommerce is fully compatible with WooCommerce's High-Performance Order Storage (HPOS). There is no need to keep legacy order storage enabled.

Installation

From the WordPress Plugin Directory

  1. Open Plugins → Add New in your WordPress admin.
  2. Search for "8Digits Factura for Woocommerce" and click Install Now on the result.
  3. Click Activate once the installation completes.
  4. Go to 8Digits Factura for Woocommerce → Settings and fill in your company details.

Manual Installation

  1. Download the plugin .zip file from WordPress.org or your account at 8digits.es.
  2. Go to Plugins → Add New → Upload Plugin and select the .zip.
  3. Click Install Now, then Activate Plugin.
  4. Go to 8Digits Factura for Woocommerce → Settings and fill in your company details.
Invoices will not be legally valid until you have entered your company name, NIF/CIF, and address in the settings. Complete this step before accepting real orders.

Quick Start

You can be up and running in under five minutes:

  1. Enter your company details Go to 8Digits Factura for Woocommerce → Settings → Seller Information and fill in your company name, NIF/CIF, and address. This data appears on every invoice.
  2. Set your invoice prefix Under Invoice Settings, set a prefix for your invoice numbers (e.g. F). The default is F, producing numbers like F-2025-0001.
  3. Choose the trigger status Select which WooCommerce order status should automatically generate an invoice. The default is Processing, which covers most stores.
  4. Save settings Click Save Changes. The next order that reaches your chosen status will automatically receive a PDF invoice.
  5. Test with a sample PDF Visit yoursite.com/wp-admin/?8Digits Factura for Woocommerce_test_pdf=1 to preview a sample invoice using your current settings (requires admin access).

Seller Information

These fields appear in the Issuer block on every PDF invoice. They are required for legal compliance.

FieldDescriptionRequired?
Company NameYour legal company or trading name.Yes
NIF / CIFYour Spanish tax identification number. Validated automatically.Yes
AddressStreet name and number.Yes
Postal Code5-digit Spanish postal code.Yes
CityCity name.Yes
ProvinceSelected from the full list of 52 Spanish provinces.Yes
TeléfonoContact phone number (optional — does not appear on invoice by default).No
EmailContact email (optional — does not appear on invoice by default).No
The NIF/CIF field is validated using the official Spanish algorithm (Real Decreto 338/1990). If your NIF is flagged as invalid, double-check for typos — the field accepts NIF, NIE, and CIF formats.

Invoice Settings

Invoice Prefix

The prefix appears at the start of every invoice number, followed by the year and a zero-padded sequence: PREFIX-YYYY-NNNN.

Example: a prefix of F produces F-2025-0001, F-2025-0002, and so on.

  • Only letters, numbers, and hyphens are allowed.
  • The prefix RC is reserved for credit notes.
  • Changing the prefix mid-year starts a new counter for that prefix. Previous invoices keep their original numbers.

Starting Sequence Number

If you are migrating from another invoicing system, you can set the starting number for the current year's sequence so that numbering continues from where you left off.

Set the starting number before generating your first invoice. Changing it after invoices have been issued will cause a gap or conflict in your numbering sequence.

Default VAT Rate

The default IVA rate applied when a WooCommerce tax class cannot be resolved. The default value is 21%. Common Spanish rates:

  • 21% — Standard rate (most goods and services)
  • 10% — Reduced rate (food, passenger transport, hospitality)
  • 4% — Super-reduced rate (basic foodstuffs, books, medicines)
  • 0% — Exempt operations

8Digits Factura for Woocommerce reads the tax rates configured in WooCommerce. The default rate is only used as a fallback.

Email Attachment

When enabled, 8Digits Factura for Woocommerce automatically attaches the invoice PDF to the customer-facing WooCommerce email for the order.

SettingDescription
Attach PDF to emailsToggle on/off. When on, the invoice PDF is attached to the matching WooCommerce customer email.

By default, the PDF is attached to the Processing Order y Completed Order customer emails. The attachment only goes out once the invoice has been generated.

If you only want the PDF sent on Completed orders, change your trigger status to Completed and the PDF will arrive with that specific email.

Trigger Statuses

A trigger status is the WooCommerce order status that causes 8Digits Factura for Woocommerce to automatically generate an invoice. You can enable one or more statuses.

StatusTypical use case
Processing (default)Payment received, order being fulfilled. Recommended for most stores.
CompletedOrder fully delivered. Useful for services or digital products.
On HoldAwaiting manual payment confirmation (e.g. bank transfer).
Any custom statusAny custom WooCommerce order status you have registered will appear in the list.
8Digits Factura for Woocommerce only generates one invoice per order. If an order passes through multiple trigger statuses, only the first one creates an invoice.

Invoice List

Go to 8Digits Factura for Woocommerce in the WordPress admin menu to see the full list of generated invoices.

Columns

ColumnDescription
Invoice #The full invoice number (e.g. F-2025-0042). Sortable.
OrderWooCommerce order number, links to the order. Sortable.
CustomerBilling name and email.
SeriesThe invoice series prefix.
DateInvoice generation date. Sortable.
TotalGrand total including VAT. Sortable.
IVATotal VAT amount.
StatusCurrent invoice status (Generated, Sent, Void, Rectified).
ActionsDownload PDF, regenerate, void.

Filters

Use the filter bar at the top of the list to narrow results by:

  • Search — by invoice number or order number
  • Status — Generated, Sent, Void, Rectified
  • Series — filter by invoice series prefix
  • Date range — from/to date picker

Status Indicators

StatusMeaning
GeneratedInvoice was created and PDF is available.
SentInvoice email was sent to the customer.
VoidInvoice has been manually voided. The PDF is retained for audit purposes.
RectifiedA credit note has been issued against this invoice (Pro).

Order Meta Box

When you open any WooCommerce order in the admin, a 8Digits Factura for Woocommerce panel appears on the right-hand side. It shows:

  • Invoice number and generation date
  • A button to download the PDF
  • A button to resend the invoice email to the customer
  • A button to manually generate an invoice (if one has not been generated yet)
En Resend Email button re-triggers the WooCommerce order email with the invoice PDF attached. Use this if a customer says they did not receive their invoice.

Manual Invoice Generation

For orders that were placed before the plugin was installed, or for orders that were not on a trigger status, you can generate an invoice manually.

  1. Open the order in WooCommerce → Orders.
  2. Find the 8Digits Factura for Woocommerce panel on the right side of the screen.
  3. Click "Generate Invoice". The invoice number and date will appear immediately.
Each order can only have one invoice. The Generate Invoice button will not appear if an invoice already exists for that order.

Downloading PDFs

From the Invoice List

Click the download icon in the Actions column next to any invoice. The PDF will download immediately.

From the Order Meta Box

Open the order and click Download PDF in the 8Digits Factura for Woocommerce panel.

If the PDF is Missing

If a PDF file was accidentally deleted from the server, 8Digits Factura for Woocommerce will automatically regenerate it on the next download request using the stored invoice data. You can also regenerate it manually from the invoice list using the Regenerate PDF action.

Voiding Invoices

Voiding marks an invoice as cancelled. The invoice record and PDF are retained for your accounting records — they are not deleted.

  1. Go to 8Digits Factura for Woocommerce in the admin menu.
  2. Click the Void action next to the invoice you want to cancel.
  3. Confirm the action. The status will change to Void.
Voiding is for administrative purposes only. If you need to issue a legally compliant corrective invoice to a customer, use a Credit Note instead (available in Pro).

Bulk Actions

Select multiple invoices using the checkboxes in the invoice list, then choose an action from the Bulk Actions dropdown:

ActionDescription
Download ZIPPackages all selected PDFs into a single .zip file and downloads it.
Export CSVExports invoice data (number, order, customer, date, total, IVA, status) to a spreadsheet-compatible CSV file.
Regenerate PDFsRegenerates PDF files for all selected invoices.
VoidVoids all selected invoices at once.
Resend EmailsResends the invoice email to the customer for each selected invoice.
Use the date range filter before running Export CSV to download invoices for a specific accounting period — for example, all invoices from Q1 of the current year.

Credit Notes Pro

8Digits Factura for Woocommerce Pro Feature

Credit notes (facturas rectificativas) are a Pro feature. Upgrade to unlock this and all other Pro features.

View Pro Plans →

A credit note (factura rectificativa) is a legally required corrective document when you need to cancel or modify an issued invoice. 8Digits Factura for Woocommerce Pro generates compliant credit notes per Articles 13 and 15 of Real Decreto 1619/2012.

How to Generate a Credit Note

  1. Open the WooCommerce order that has the invoice you want to rectify.
  2. Click "Generate Credit Note" in the 8Digits Factura for Woocommerce panel.
  3. Select the reason for the rectification (required by law).
  4. Choose the rectification type — Full or Partial.
  5. Confirm. The credit note is generated, a PDF is created, and a notification email is sent to the customer.

Rectification Types

TypeWhen to useHow amounts appear
Full (Sustitución)The entire original invoice is cancelled and replaced.All amounts shown as negative values.
Partial (Diferencias)Only part of the original invoice is corrected.Only the difference amounts are shown.

Rectification Reasons

Select one of the predefined legal reasons, or enter your own:

  • Error in recipient data
  • Merchandise return
  • Return of containers and packaging
  • Subsequent discount or bonus
  • Error in the applied tax rate
  • Other (free text)

Credit Note Numbering

Credit notes receive their own sequential series with the prefix RC, e.g. RC-2025-0001. This prefix is reserved and cannot be used for regular invoices.

What Is Stored

The credit note record stores a reference to the original invoice number, date, and reason — as required by law for the audit trail.

B2B Checkout Fields Pro

When enabled, 8Digits Factura for Woocommerce Pro adds two additional fields to the WooCommerce checkout billing section:

FieldDescription
Company Name (Razón social)The customer's legal company name. Optional.
NIF / CIF / NIEThe customer's Spanish tax ID. Can be made required.

NIF Validation

The NIF/CIF/NIE field is validated in real-time as the customer types, and again on the server when the order is placed. The validator supports:

  • NIF — Spanish individuals (8 digits + control letter)
  • NIE — Foreign nationals resident in Spain (X/Y/Z + digits + letter)
  • CIF — Companies and organizations (letter + digits + control)

Making NIF Required

Under 8Digits Factura for Woocommerce → Settings → B2B, toggle Require NIF at checkout. Customers will not be able to complete their order without entering a valid NIF/CIF/NIE.

Where the Data Appears

  • On the invoice PDF, in the customer billing block.
  • In the WooCommerce order billing section.
  • In the customer's My Account → Addresses for future orders.

Customer Portal Pro

8Digits Factura for Woocommerce Pro adds a My Invoices (Mis facturas) tab to the WooCommerce My Account page. Customers can view and download all their invoices without contacting you.

What Customers See

  • A table listing all their invoices: number, type, order, date, total.
  • A Download PDF button for each invoice.
  • Credit notes are clearly marked as "Rectificativa" with a link to the original invoice.
  • Pagination for customers with many invoices.

Security

Customers can only see and download invoices that belong to their own account. All download links are secured with time-limited nonces and verified against the order's customer ID.

If the portal tab is not visible after upgrading, go to Settings → Permalinks and click Save Changes to flush rewrite rules.

Multiple Invoice Series Pro

If your business has multiple revenue streams, lines of business, or sales channels, you can define separate invoice series — each with its own prefix and independent sequential counter.

Examples:

  • F — Main sales invoices
  • S — Subscription invoices
  • W — Wholesale invoices

Setting Up Series

  1. Go to 8Digits Factura for Woocommerce → Settings → Invoice Series.
  2. Click Add Series and enter a prefix, name, and starting number.
  3. Save changes.

Assigning a Series to Orders

Series assignment can be automated using the 8Digits Factura for Woocommerce_invoice_series filter. For example, you can assign a series based on the product category, shipping method, or any order property.

Invoice Design Customization Pro

8Digits Factura for Woocommerce Pro gives you full control over the visual appearance of your PDF invoices.

Logo

Upload your company logo under Settings → Design → Logo. The logo appears at the top of every invoice. Recommended format: PNG or SVG, minimum 200 px wide.

Colors

Customize 10 individual color zones on the invoice:

  • Background, header background, accent
  • Body text, muted text
  • Table header background, even/odd table row backgrounds, border
  • Total row text

Font Sizes

Adjust font sizes for 6 elements independently: body text, invoice title, invoice number, table headers, total row, and footer.

Footer

Enable or disable the invoice footer, and enter custom footer text — for example, your payment terms, bank account number, or a legal notice.

Invoice Numbering

Format

Invoice numbers follow the format: PREFIX-YYYY-NNNN

  • PREFIX — Your configured series prefix (default: F)
  • YYYY — The four-digit year the invoice was issued
  • NNNN — Zero-padded sequential number within that year and series

Examples: F-2025-0001, F-2025-0042, RC-2025-0003

Counters Reset Annually

Each series counter resets to 1 (or your configured starting number) at the beginning of each calendar year. This is standard practice in Spain — your invoices for 2026 will start at F-2026-0001 regardless of where your 2025 series ended.

Race Condition Protection

8Digits Factura for Woocommerce uses a database lock when assigning invoice numbers, ensuring that two simultaneous orders never receive the same number — even on high-traffic stores.

PDF Storage & Security

Where PDFs Are Stored

Invoice PDFs are saved in your WordPress uploads directory, organized by year and month:

wp-content/uploads/8Digits Factura for Woocommerce/
  └── 2025/
       ├── 01/  (January invoices)
       ├── 02/  (February invoices)
       └── ...

Direct Access Is Blocked

8Digits Factura for Woocommerce automatically creates an .htaccess file in the storage directory that blocks direct URL access to the PDF files. Invoices can only be downloaded through the secure download endpoint, which verifies your identity before serving the file.

Backup Recommendation

Include the uploads/8Digits Factura for Woocommerce/ folder in your regular WordPress backups. If a PDF is accidentally deleted, 8Digits Factura for Woocommerce can regenerate it from the stored invoice data — but it is good practice to keep backups regardless.

Download Links

All download links contain a time-limited security token (nonce). Links shared outside the system (e.g. by copy-pasting a URL) will expire. Always download invoices directly from the admin or from the customer portal.

Frequently Asked Questions

Are the generated invoices legally valid in Spain?
8Digits Factura for Woocommerce generates invoices that include all fields required by Real Decreto 1619/2012. Final legal validity depends on correctly filling in your company details and NIF. We recommend confirming your setup with a tax advisor (asesor fiscal) before going live.
Can I generate invoices for orders placed before installing the plugin?
Yes. Open any historical order in WooCommerce → Orders and click Generate Invoice in the 8Digits Factura for Woocommerce panel. The invoice date will be today's date, not the original order date — factor this into your accounting.
Can I change an invoice after it has been generated?
Invoices cannot be edited after generation — this is a legal requirement. If you need to correct an invoice, void it and generate a new one (if the order hasn't been sent to the customer), or issue a credit note (Pro) if the customer has already received the original.
What happens if the invoice number sequence has a gap?
Gaps in the sequence can be a problem for the Spanish Tax Agency. 8Digits Factura for Woocommerce prevents gaps by using a database lock when assigning numbers. If you believe there is a gap, check the invoice list for voided invoices — voided invoices keep their number but the number is no longer "active".
A customer did not receive their invoice. What should I do?
Open the WooCommerce order, find the 8Digits Factura for Woocommerce panel, and click Resend Email. This re-sends the order email with the invoice PDF attached. Also check the customer's spam folder.
Does 8Digits Factura for Woocommerce work with WooCommerce Blocks checkout?
Yes. The core invoice generation is fully compatible with the Blocks-based checkout. The B2B fields (Pro) currently require the classic WooCommerce checkout or a compatible extension.
Is it compatible with Veri*factu?
We are following the regulatory development of Veri*factu closely. Compatibility with the AEAT's verifiable invoicing system is on our roadmap. We will release an update when the technical specifications are finalized.
Can I customize what the PDF looks like?
In the free version, the PDF uses the default template with your company details and logo. 8Digits Factura for Woocommerce Pro gives you full control over colors, font sizes, logo, and footer text.
What currency does 8Digits Factura for Woocommerce use?
8Digits Factura for Woocommerce uses the currency configured in WooCommerce (Settings → General → Currency). For Spanish stores this is typically EUR (€).
I changed my invoice prefix. Will old invoices be affected?
No. Old invoices keep the prefix they were generated with. Changing the prefix starts a new counter for the new prefix. If you want to continue an existing numbering sequence, do not change the prefix mid-year.

Troubleshooting

Invoices are not being generated automatically

  • Check that the order status matches one of your configured trigger statuses under Settings → Invoice Settings → Trigger Statuses.
  • Check that the order does not already have an invoice (only one invoice per order is generated automatically).
  • Check your server's PHP error log for any errors from the 8Digits Factura for Woocommerce plugin.

The PDF is blank or has missing data

  • Make sure all fields under Settings → Seller Information are filled in.
  • Verify that WooCommerce tax settings are correctly configured.
  • Visit yoursite.com/wp-admin/?8Digits Factura for Woocommerce_test_pdf=1 to preview a sample invoice and identify the missing element.

The customer portal tab is not visible

  • Go to Settings → Permalinks and click Save Changes to regenerate rewrite rules.
  • Ensure the customer is logged in to their account.
  • Confirm that 8Digits Factura for Woocommerce Pro is active.

The PDF download gives a "403 Forbidden" or "File not found" error

  • The download link may have expired. Go to the invoice list and click the download button there to generate a fresh link.
  • If the PDF file was deleted, click Regenerate PDF from the invoice list first, then try downloading again.
  • Check that your web server has write permissions on the wp-content/uploads/8Digits Factura for Woocommerce/ directory.

NIF validation is rejecting a valid NIF

  • Check for a leading zero — Spanish NIFs are always 8 digits. If yours starts with a zero, make sure it is included (e.g. 01234567Z, not 1234567Z).
  • For NIEs, the first character must be X, Yo Z (uppercase).
  • For CIFs, the first character is an organization letter (AH, JN, PW).

Getting More Help

FacturaWoo - Documentation

Legal Spanish invoicing for WooCommerce. Automatically generate PDF invoices with sequential numbering, itemized IVA breakdown, and email delivery. Designed for freelancers (autónomos) and businesses operating in Spain.


Table of Contents

  1. Installation
  2. Getting Started
  3. Settings Overview
  4. How Invoices Work
  5. Admin Order Screen
  6. Test PDF Preview
  7. Pro Features
  8. Admin Language
  9. Compatibility
  10. Uninstallation
  11. FAQ
  12. Support

Installation

  1. Upload the facturawoo folder to /wp-content/plugins/, or install it directly from the WordPress plugin repository.
  2. Activate the plugin through Plugins > Installed Plugins.
  3. WooCommerce must be installed and active. If WooCommerce is not detected, FacturaWoo will display an admin notice and will not load.
  4. Navigate to FacturaWoo in the admin sidebar to configure your settings.

Getting Started

After activation, go to the FacturaWoo settings page. At minimum, fill in:

  1. Company name — your business or trade name.
  2. NIF / CIF — your Spanish tax identification number.
  3. Address, city, postal code, province — your fiscal address.
  4. Invoice prefix — the letter(s) that appear before the invoice number (default: F).

Once configured, invoices will be generated automatically when orders reach the trigger status you select (default: Processing).


Settings Overview

Issuer Details (Datos del Emisor)

These fields identify your business on every invoice PDF:

FieldDescription
Company nameYour business or trade name (Razón social).
NIF / CIFYour Spanish tax identification number.
AddressStreet address of your fiscal domicile.
Postal code5-digit Spanish postal code.
CityCity or town.
ProvinceSelect from the full list of 52 Spanish provinces + Ceuta, Melilla, and Islas Baleares.
TeléfonoContact phone number (appears on invoices).
Contact emailContact email address (appears on invoices).

Invoice Configuration (Configuración de Facturas)

FieldDescriptionDefault
Invoice prefix1-5 uppercase letters prepended to every invoice number (e.g., F, FAC).F
Series start numberThe first sequence number for new invoice series. Useful when migrating from another system.1
Default IVAThe default VAT rate displayed on invoices. Actual tax is always pulled from WooCommerce order data.21
Generate invoice on statusChoose which WooCommerce order status(es) trigger automatic invoice creation. Options: Processing, Completed, On Hold.Processing
Attach PDF to emailWhen enabled, the invoice PDF is automatically attached to WooCommerce customer emails (processing and completed order emails).Enabled

How Invoices Work

Automatic Generation

When an order transitions to one of the configured trigger statuses, FacturaWoo automatically:

  1. Generates a unique, sequential invoice number.
  2. Creates a PDF invoice with all order details and IVA breakdown.
  3. Stores the invoice record in the database (wp_facturawoo_invoices table).
  4. Adds an order note confirming the invoice was generated.

If an invoice already exists for the order, a duplicate will not be created.

Manual Generation

From the WooCommerce order edit screen, you can manually generate an invoice by clicking the “Generar factura” button in the FacturaWoo meta box on the sidebar. This is useful for orders that were placed before FacturaWoo was installed or for statuses not included in the automatic triggers.

Invoice Numbering

Invoice numbers follow the format: PREFIX-YYYY-XXXX

  • PREFIX — your configured prefix (e.g., F)
  • YYYY — the current year
  • XXXX — a zero-padded sequential number, starting from your configured series start

Examples: F-2025-0001, F-2025-0002, FAC-2026-0015 The counter resets per year automatically. Numbering uses database-level locking to prevent race conditions and guarantee sequential, gap-free numbers even under concurrent order processing.

PDF Attachment to Emails

When the “Attach PDF to email” setting is enabled, the invoice PDF is attached to:

  • Customer Processing Order emails
  • Customer Completed Order emails

You can customize which emails receive the attachment using the facturawoo_attach_to_emails filter.

Downloading Invoices

Invoice PDFs can be downloaded from:

  • Admin: The FacturaWoo meta box on the order edit screen (click “Descargar PDF”).
  • Frontend (Pro): The customer portal under My Account > Mis Facturas.

Download links are secured with WordPress nonces and permission checks. Only the order owner or a user with manage_woocommerce capability can download an invoice. If the PDF file has been deleted from the server, it will be regenerated automatically on download.


Admin Order Screen

On every WooCommerce order edit page, a “FacturaWoo — Factura” meta box appears in the sidebar. It shows:

  • Invoice number and date if an invoice has been generated.
  • A “Descargar PDF” button to download the invoice.
  • A “Reenviar por email” button to re-send the order email with the invoice attached.
  • A “Generar factura” button if no invoice exists yet for the order.

Test PDF Preview

You can preview a sample PDF invoice at any time from the settings page sidebar. Click “Previsualizar PDF de prueba” to open a test invoice in a new tab. This uses your current settings (company details, prefix, colors if Pro) so you can verify the layout before any real orders are processed.


Pro Features

Upgrade to FacturaWoo Professional to unlock the following features. Upgrade here.

Custom Logo

Upload your company logo via the WordPress Media Library. The logo appears in the header of every invoice PDF, giving your invoices a professional, branded look. Setting: Personalización del PDF > Logotipo de empresa

Brand Colors & Invoice Design

Fully customize the look and feel of your invoice PDFs with granular color and typography controls: Colors:

SettingDescription
Background colorOverall page background
Header backgroundBackground of the invoice header area
Accent colorPrimary accent used for headings and highlights
Body textMain text color
Muted textSecondary/lighter text color
Table header backgroundBackground color of the line items table header
Table row (even)Background for even rows in the items table
Table row (odd)Background for odd rows in the items table
Border colorColor for table borders and dividers
Total textColor for the total amount

Font sizes:

SettingDescription
Body font sizeBase font size for invoice text
Invoice titleSize of the “FACTURA” title
Invoice numberSize of the invoice number display
Table headerSize of text in the items table header
TotalSize of the total amount
FooterSize of footer text

Custom Footer

Add a custom footer to every invoice PDF. This is ideal for:

  • Legal disclaimers
  • Payment terms
  • Bank account details (IBAN)
  • Registration information

Settings:

  • Footer enabled — toggle the footer on or off.
  • Footer custom text — enter your custom footer content.

B2B Checkout Fields (NIF/CIF/NIE)

Add professional B2B fields to the WooCommerce checkout and My Account address forms:

  • Razón social / Empresa — company name field (always optional).
  • NIF / CIF / NIE — Spanish tax ID field with real-time validation.

Key features:

  • Server-side validation using the official control-letter algorithm for NIF, CIF, and NIE formats.
  • Client-side blur validation for instant feedback at checkout.
  • NIF can be made required or left optional (configurable in settings).
  • Fields are saved to both order meta and user meta for reuse.
  • Displayed in the admin order billing section and customer-facing order details.
  • The NIF/CIF appears on the generated invoice PDF.

Setting: Personalización del PDF > NIF/CIF obligatorio en checkout

Credit Notes (Facturas Rectificativas)

Generate legally compliant credit notes (facturas rectificativas) per Real Decreto 1619/2012, Articles 13 & 15. How it works:

  1. Open an order that already has an invoice.
  2. Click “Generar factura rectificativa” in the FacturaWoo meta box.
  3. A dialog prompts you to select:
    • Reason for rectification (mandatory per Art. 13.1.b) — choose from common reasons or enter a custom one:
      • Error in recipient data
      • Merchandise return
      • Packaging return
      • Post-sale discount or bonus
      • Tax rate error
      • Other (custom reason)
    • Rectification type (mandatory):
      • Full replacement (por sustitución) — cancels the original invoice entirely with negative amounts.
      • Partial/differential (por diferencias) — corrects only the difference.
  4. The credit note is generated with:
    • A separate RC-YYYY-XXXX numbering series.
    • A reference to the original invoice number and date.
    • The rectification reason and type stored in the database.
  5. The original invoice is automatically marked as rectificada.
  6. An order note is added with full details.
  7. A credit note email notification is sent to the customer.

Safeguards:

  • Cannot generate a credit note without an original invoice.
  • Cannot generate a duplicate credit note for the same order (unless the previous one was voided).

Customer Portal (“Mis Facturas”)

A dedicated “Mis facturas” tab is added to the WooCommerce My Account page, giving your customers self-service access to all their invoices. Features:

  • Lists all invoices for the logged-in customer.
  • Shows invoice number, type (Invoice or Credit Note), linked order, date, and total.
  • Secure PDF download links for each invoice.
  • Paginated table (10 invoices per page) with WooCommerce-styled UI.
  • Responsive design that works on mobile devices.

On the free plan, the tab appears with a “Pro” badge and displays an upgrade prompt.


Admin Language

FacturaWoo supports multiple languages for its admin interface:

  • Site default — inherits your WordPress site language.
  • Español (es_ES) — Spanish interface.
  • English (en_US) — English interface.

This setting only affects the FacturaWoo admin panel. Invoice PDFs and frontend text follow the site language as usual. Setting: Datos del Emisor > Idioma del panel de FacturaWoo


Compatibility

  • WooCommerce HPOS: Fully compatible with WooCommerce High-Performance Order Storage (Custom Order Tables).
  • WordPress Multisite: Standard single-site support.
  • PHP: Requires PHP 8.0 or higher.
  • PDF Engine: Uses mPDF for PDF generation (bundled via Composer).

Uninstallation

When you uninstall FacturaWoo (via the WordPress plugin management screen), the plugin performs a complete cleanup:

  • Drops the wp_facturawoo_invoices database table.
  • Deletes all plugin options from the wp_options table.
  • Removes the wp-content/uploads/facturawoo/ directory and all generated PDF files.

Note: Deactivating the plugin does not delete any data. Your invoices and settings are preserved until you explicitly uninstall.


FAQ

Q: Do I need to configure WooCommerce tax settings for FacturaWoo to work? A: FacturaWoo reads the tax totals directly from each WooCommerce order. Make sure your WooCommerce tax settings are configured correctly for Spanish IVA rates (typically 21%, 10%, or 4%). Q: What happens if I change the invoice prefix after some invoices have been generated? A: New invoices will use the updated prefix. Existing invoices keep their original numbers. Invoice numbering is sequential within each prefix-year combination. Q: Can I regenerate a PDF for an existing invoice? A: If the PDF file is missing from the server, it will be regenerated automatically when you download it. The invoice number and date remain unchanged. Q: How do I migrate from another invoicing system? A: Set the “Series start number” to the next number after your last invoice in the previous system. For example, if your last invoice was #150, set the start to 151. Q: Is FacturaWoo compliant with Spanish invoicing law? A: FacturaWoo is designed to meet the requirements of Real Decreto 1619/2012 for standard invoices, including sequential numbering, issuer identification, IVA breakdown, and (in Pro) credit notes with mandatory rectification reasons. Always consult your tax advisor for compliance specific to your situation. Q: Where are the PDF files stored? A: Generated PDFs are saved in wp-content/uploads/facturawoo/. This directory is created automatically. Q: Can customers download their own invoices? A: On the free plan, customers receive invoices as email attachments. With FacturaWoo Pro, customers also get a self-service “Mis facturas” portal in their WooCommerce My Account area.


Support

Póngase en contacto con nosotros

¿Tiene alguna pregunta o está listo para empezar su próximo proyecto? Póngase en contacto con nosotros. Nuestro equipo está aquí para ayudarle con todas sus necesidades digitales.

Póngase en contacto con nosotros

El éxito radica en los detalles, y nosotros prestamos especial atención a cada aspecto para ofrecer soluciones personalizadas y precisas que le ayuden a alcanzar sus objetivos: comparta su información con nosotros para empezar.

Conectémonos

Envíanos un mensaje

By delivering superior digital solutions, we continuously surpass our clients' expectations. Get in touch with us and we'll get back to you as soon as we can!

El éxito radica en los detalles, y nosotros prestamos especial atención a cada aspecto para ofrecer soluciones personalizadas y precisas que le ayuden a alcanzar sus objetivos: comparta su información con nosotros para empezar.

es_ESEspañol

Programemos esa reunión