Description
Factova brings VeriFactu to your WooCommerce shop. It issues the invoice of every order when it is paid (or when it is completed, if you prefer), adds the tax QR code and sends the billing record to the AEAT (Agencia Tributaria, the Spanish Tax Agency, “Hacienda”), as the VERI*FACTU system requires.
Step-by-step manual with real screenshots, in Spanish: https://factova.es/manual/
It is free and complete: there is no limit on the number of invoices or orders, and it does on its own everything VeriFactu requires. Your shop talks directly to the AEAT with your own electronic certificate: there is no intermediary service and no fee per invoice.
What VeriFactu means for your shop
VeriFactu is the mode of the Spanish billing systems regulation (Royal Decree 1007/2023) in which the invoicing software sends every billing record to the AEAT when the invoice is issued. For a WooCommerce shop this means:
- every invoice creates a billing record with a fingerprint chained to the previous one;
- the record is sent to the AEAT automatically;
- the invoice carries the tax QR code and the “VERI*FACTU” legend, so your customer can check it on the AEAT website;
- mistakes are corrected with corrective invoices or corrections, never by editing or deleting an invoice.
Factova does all of this inside WooCommerce, from the order to the PDF your customer receives.
What Factova does
- Invoices from orders: complete invoice (F1) when the customer gives a tax ID or the law requires it; simplified invoice (F2) up to 400 € (3,000 € for retail sales); invoice that replaces simplified invoices (F3).
- Corrective invoices: R1 and R5 prepared from WooCommerce refunds, which you issue with one click from the order or from Pending; R2, R3, R4 and corrections by substitution, one by one.
- Manual invoices without an order.
- Chained billing record (SHA-256 fingerprint), stored so that it cannot be edited or deleted. Corrections and cancellations create new records and never change the previous ones.
- Automatic submission to the AEAT through the VeriFactu web service with your electronic certificate (your own, a representative’s or a company seal), following the waiting times of the AEAT and retrying after an outage.
- PDF with QR code (verifiable on the AEAT website), two templates with your logo and your colour, attached to the WooCommerce emails, in My Account and on the order confirmation (“Order invoice” block).
- No extra checkout plugin needed: Factova adds the complete-invoice checkbox and the tax ID field (Spanish NIF/NIE/CIF or EU VAT number) to the block checkout (with the Additional Checkout Fields API of WooCommerce) and to the classic checkout. The tax ID is validated before the order is placed and is required above the simplified invoice limit, and a short help under the field asks for the name or company name exactly as registered with the tax agency.
- Optional VIES check of EU VAT numbers and, if you enable it, removal of the Spanish VAT from intra-Community supplies before payment.
- Exports and exempt operations, with their tax mapping.
- Setup wizard with express consent before any connection with the AEAT, and a connection test.
- Email alerts (rejections, certificate about to expire, paused submissions), daily chain verification and detection of copies of the site (staging) and of restored backups.
- Exports: billing records in XML, invoices and tax lines in CSV, and PDFs in ZIP.
- Read-only WP-CLI:
wp factova status|verify|invoices|doctor. - Compatible with HPOS (high-performance order storage) and with the classic order storage.
- In the language of your WordPress: the screens follow the language of each user, and the invoice PDF the language of the site.
Who it is for
Factova is for one taxpayer (a company or a self-employed person) with its tax domicile in the Spanish common territory, that sells with VAT (IVA) in a WooCommerce shop and wants to comply with VeriFactu without leaving WordPress. It works only in the VERI*FACTU mode.
How it works
- Install Factova and open Factova – VERIFACTU* in the admin menu (next to WooCommerce).
- The wizard asks for your tax data, your electronic certificate and your VAT configuration, and asks for your consent before connecting to the AEAT.
- Before you start selling (or on a staging copy of your shop), try it in the AEAT test environment with test orders and check the invoices with your adviser.
- Switch to production before your first real sale. From then on, every order gets its invoice when it is paid (or when it is completed, if you chose that), its billing record is sent to the AEAT and the customer receives the PDF with the QR code.
- When you refund an invoiced order, Factova prepares its corrective invoice and you issue it with one click from the order or from Pending; for a cancelled order, Factova proposes the corrective invoice in Pending. The Overview screen tells you if anything needs your attention.
Who it is not for
Factova is not for:
- taxpayers under the SII (Suministro Inmediato de Información), who are outside VeriFactu;
- businesses with their tax domicile in the Basque Country or Navarre (TicketBAI and regional systems);
- sales with IGIC or IPSI (Canary Islands, Ceuta and Melilla): they will arrive in version 1.1.
The setup wizard asks about these three cases and does not let you continue in them.
Factova does not calculate the equivalence surcharge (recargo de equivalencia) either. If you sell to retailers under the surcharge, the setup wizard tells you so, and Factova holds those orders in Pending, with an explanation, instead of issuing a wrong invoice.
Responsibility and warranty
Factova is distributed without any warranty, under the GPL. The correct issuing of your invoices and your tax configuration (VAT rates, exemptions, regimes) are your responsibility: review them with your tax adviser. The plugin proposes a mapping for the usual rates, but it cannot know whether a given operation is exempt or taxed.
Factova does not replace your adviser nor your obligation to keep your invoices. Keep it updated and do not edit its database tables.
Responsible declaration
Every version includes its responsible declaration of the billing system (art. 13 of Royal Decree 1007/2023 and art. 15 of Order HAC/1177/2024), in Factova – VERIFACTU > About* and as a PDF inside the plugin. Public copy: https://factova.es/factova/declaraciones/
Factova is not approved or certified by the AEAT: VeriFactu has no approval process; the producer declares compliance.
No advertising, no tracking
Factova sends no data to the plugin author. It shows no advertising on the Dashboard, in orders or in notices. Everything that needs your attention is listed in its Overview; outside its own screens it only shows a notice on the WooCommerce order screens when issuing is stopped, and you can hide it. The PDFs and the emails to your customers carry no advertising.
Factova Pro
Factova is complete and compliant without the Pro version. Factova Pro is a paid extension, installed separately, with features for shops with more volume, several companies and accounting firms:
- Several companies and shops: several tax IDs in the same shop, series by channel or by rules, and a network panel in multisite.
- Peace of mind: an “all-square” check with the AEAT (Factova Pro asks the AEAT which invoices it has on record and confirms that they match the ones in your shop, and warns you if something does not match), alerts through Slack and webhook, and a copy of the alerts to your accounting firm.
- Accounting firms and bookkeeping: VAT invoice ledger (XLSX), export to A3, Contasol and Holded, VAT and OSS reports, scheduled sending to the accounting firm and read-only access for it.
- Volume: corrective invoices of refunds issued automatically, invoicing of earlier periods and corrective invoices in batches, correction by lines, F3 from My Account, customer tax ID kept in WooCommerce Subscriptions renewals and invoice attached to WooCommerce Point of Sale receipts (Factova already invoices those orders).
- Equivalence surcharge: per-customer flag and automatic by role, with the surcharge rates in WooCommerce.
- Design: PDF template editor, WPML and Polylang.
Plans from 99 €/year, with a 14-day trial without a card. More information at https://factova.es/pro/
External services
Factova connects to two external services, both run by public administrations: the AEAT (Spanish Tax Agency), because the VERI*FACTU system requires that every billing record is sent to it, and, only if the administrator enables it, VIES of the European Commission. Factova connects to the AEAT only after the administrator gives express consent in the setup wizard (the connection test of the wizard comes after that consent), and to VIES only if the administrator enables it in the settings. Until then, nothing leaves the site.
Factova does not connect to the plugin author, to factova.es, to any account, sales or payment service, or to any other server. There is no tracking, no telemetry and no remote content. The links to factova.es and wordpress.org inside the plugin are plain links that the administrator may open; Factova never requests them.
1. AEAT (Agencia Estatal de Administración Tributaria): VERI*FACTU web service
The Spanish Tax Agency runs the VERI*FACTU web service, where invoicing software sends the billing records of the invoices it issues (Royal Decree 1007/2023 and Order HAC/1177/2024). This is the legal purpose of the plugin and it cannot work without it.
- What it is used for: to send to the AEAT the billing record of every invoice, corrective invoice, correction (subsanación) and cancellation (anulación) the shop issues, and to receive its answer (accepted, accepted with errors or rejected).
- Data sent: tax ID (NIF) and name of the issuer; series, number and date of the invoice; invoice type; tax ID (NIF), EU VAT number or foreign identification, and name of the customer (complete invoices only); description of the operation; tax bases, rates and amounts, equivalence surcharge and exemptions; totals; references to the corrected or replaced invoices; the fingerprint (huella) of the record and the one of the previous record; the date and time the record was generated; and the identification of the software (name, version and installation number). The connection is authenticated with mutual TLS using the electronic certificate (.p12/.pfx) uploaded by the merchant: its public part is presented to the AEAT server; the private key never leaves the site.
- When: automatically after issuing every invoice, corrective invoice, correction or cancellation, following the waiting time set by the AEAT, and in the automatic retries after an outage. In the setup wizard, after the consent, the connection test opens a connection with the certificate and reads the service description (
?wsdl), without sending any invoice data. Nothing is sent before that consent, nor from a site detected as a copy of the shop. - Endpoints: production
https://www1.agenciatributaria.gob.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/VerifactuSOAP(https://www10.agenciatributaria.gob.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/VerifactuSOAPwith an electronic seal certificate); test environmenthttps://prewww1.aeat.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/VerifactuSOAP(https://prewww10.aeat.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/VerifactuSOAPwith a seal). The addresses are fixed in the code and cannot be changed by a filter. - QR code (not a connection of the plugin): the PDF of each invoice carries the tax QR code that the regulation requires. It contains an address of the AEAT checking service with the tax ID of the issuer, the number, the date and the total of the invoice: production
https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR, testhttps://prewww2.aeat.es/wlpl/TIKE-CONT/ValidarQR. The plugin only prints it and never calls it; the customer who scans the code opens it. - About the service: https://sede.agenciatributaria.gob.es/Sede/iva/sistemas-informaticos-facturacion-verifactu.html
- Terms of use (legal notice) of the AEAT e-office: https://sede.agenciatributaria.gob.es/Sede/condiciones-uso-sede-electronica/aviso-legal.html (general conditions: https://sede.agenciatributaria.gob.es/Sede/condiciones-uso-sede-electronica.html)
- Privacy policy (data protection) of the AEAT: https://sede.agenciatributaria.gob.es/Sede/condiciones-uso-sede-electronica/datos-personales.html
2. VIES (VAT Information Exchange System) of the European Commission
VIES is the service of the European Commission that tells whether a VAT number of another EU country is registered for intra-Community operations. It is optional and disabled by default.
- What it is used for: to check the EU VAT number that a customer from another EU country types at checkout, so that the invoice and, if the merchant enables it, the removal of the Spanish VAT from an intra-Community supply rely on a valid number.
- Data sent: the country code and the VAT number the customer typed. Only if the merchant also enables “request identifier”, the merchant’s own VAT number (ES + NIF), so that VIES returns a consultation number that proves the check. No name, address, email, order or amount is sent.
- When: only if the merchant enabled the VIES check in Factova – VERIFACTU > Settings*, when a customer with a VAT number of another EU country places an order (block and classic checkout) and, if the merchant also enabled the removal of the Spanish VAT for intra-Community supplies, when that customer updates the checkout before paying. A definitive answer (valid or not valid) is kept for 24 hours, so the same number is not checked twice in that time. VIES being down never blocks the checkout.
- Endpoint:
https://ec.europa.eu/taxation_customs/vies/rest-api/check-vat-number(the same in test and in production). - About the service: https://ec.europa.eu/taxation_customs/vies/
- Legal notice of the European Commission: https://commission.europa.eu/legal-notice_en
- Privacy policy of the European Commission: https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en
Screenshots










Blocks
This plugin provides 1 block.
- Order invoice (VERI*FACTU) Shows the invoice download link in the order confirmation, or tells the customer that the invoice will arrive by email.
Installation
- Install and activate WooCommerce 9.9 or later.
- Install Factova from Plugins > Add Plugin and activate it.
- Open Factova – VERIFACTU* in the admin menu and follow the wizard: requirements, scope, issuer data, electronic certificate (.p12 or .pfx), environment (test or production), tax configuration, consent and connection test.
- Start in the AEAT test environment with test orders, before you open your shop or on a staging copy. When you have reviewed everything with your adviser, and always before your first real sale, switch to production: test invoices have no tax validity and do not replace real invoices. Once in production you cannot go back to test.
Until you finish the wizard, Factova does not connect to any external service and issues no invoices: orders stay pending and can be invoiced later.
Video walkthrough of the installation and the wizard (in Spanish):
FAQ
-
What is VeriFactu (VERI*FACTU)?
-
It is the mode of the Spanish billing systems regulation (Royal Decree 1007/2023, often called the “ley antifraude”, the anti-fraud law) in which the software sends every billing record to the AEAT when the invoice is issued. It is also written “veri factu” or “sistema verifactu”.
-
Is VeriFactu mandatory?
-
The regulation applies to companies and self-employed people in the Spanish common territory who issue invoices with software, with exceptions such as the taxpayers under the SII. Their software must meet the requirements of the regulation in one of two modes: VERIFACTU, which sends every record to the AEAT, or NO VERIFACTU, which keeps signed records and an event log. Whether and from when it applies to you is something to confirm with your tax adviser.
-
When does it apply? Has it been postponed?
-
The dates are set by Royal Decree 1007/2023 and have already been changed more than once. We do not write them here because they can change again: check the website of the AEAT or our page with the current status, which we update when the Official State Gazette (BOE) publishes changes: https://factova.es/plazos-verifactu/
-
Is Factova free?
-
Yes. Factova is free software under the GPL and has no limit on invoices, orders or customers. It does not need any external account or paid service: it sends the records directly to the AEAT with your certificate.
-
Does Factova support the NO VERI*FACTU mode?
-
No. Factova works only in the VERI*FACTU mode: every record is sent to the AEAT when the invoice is issued.
-
Not yet if you sell from the Canary Islands, Ceuta or Melilla with IGIC or IPSI: that will arrive in version 1.1. If your shop is in the peninsula or the Balearic Islands and ships goods to the Canary Islands, Ceuta or Melilla, Factova invoices those orders as exports, without VAT; the tax configuration step explains how to set the rates. Businesses with their tax domicile in the Basque Country or Navarre use TicketBAI and other regional systems, which Factova does not cover. The setup wizard asks about this before you start.
-
Is it the same as electronic invoicing (factura electrónica)?
-
No. VeriFactu is about the records that billing software sends to the AEAT. Mandatory electronic invoicing between businesses is a different obligation, with its own rules and dates. Factova issues PDF invoices with the VeriFactu QR code; it does not create structured e-invoices (such as Facturae) nor send them to e-invoicing platforms.
-
Does the AEAT offer a free invoicing application?
-
Yes, the AEAT offers a free application to issue invoices by hand, one by one. It is not connected to your WooCommerce orders. Factova creates the invoice from each order, with the customer and tax data of the order.
-
Can I use it if I am self-employed (autónomo)?
-
Yes. Factova works for one taxpayer, a company or a self-employed person, with its tax domicile in the Spanish common territory and with VAT.
-
Does it work with the WooCommerce block checkout?
-
Yes. The tax ID field is added with the additional fields API of the block checkout, and it also works in the classic checkout.
-
Do I need another plugin to ask for the tax ID (NIF) at checkout?
-
No extra checkout plugin needed. Factova adds the “I need a complete invoice” checkbox and the tax ID field itself: in the block checkout with the Additional Checkout Fields API of WooCommerce, and in the classic checkout as billing fields. It checks the tax ID before the order is placed, asks for it above the simplified invoice limit and, under the field, reminds the customer to type the name or company name exactly as registered with the tax agency, because the AEAT rejects a complete invoice whose tax ID and name do not match its records. Factova only reads its own field: if another plugin also asks for the tax ID, remove that field so the customer is not asked twice.
If you sell to companies, show the Company field of the checkout so that they can type their company name: WooCommerce 11 hides it by default in the block checkout. Edit the Checkout page (or Appearance > Editor > Templates > Page: Checkout), select the Checkout block and turn on Company under its fields; in the classic checkout, use Appearance > Customize > WooCommerce > Checkout. While the field is hidden, Factova reminds you in its Settings screen.
-
Does it issue simplified invoices?
-
Yes. If the customer gives no tax ID and the amount is within the limit (400 €, or 3,000 € for retail sales), a simplified invoice (F2) is issued. Above it, the checkout asks for the tax ID. If the customer later asks for a complete invoice, you can issue an invoice that replaces the simplified one (F3).
-
Does it invoice subscription renewals and point of sale orders?
-
Yes. Renewals of WooCommerce Subscriptions and orders from WooCommerce Point of Sale are WooCommerce orders, and Factova invoices them like any other order. As with any order, a renewal without the customer’s tax ID gets a simplified invoice, or waits in Pending if it is above the simplified invoice limit.
-
What is FACTOVA_SECRET? Do I need it?
-
No, you do not need it, and the wizard does not ask for it. Factova encrypts your certificate and signs its internal records with a key that, by default, comes from the security keys of WordPress (the salts of wp-config.php). If someone changes those keys (some security plugins and hosting migrations do it), Factova pauses issuing, you confirm it in Factova – VERIFACTU > Tools* with your WordPress password and you upload your certificate again: no invoice is lost.
FACTOVA_SECRET is an optional, advanced line for wp-config.php, for developers, agencies and shops that move between servers, so that the key does not depend on the WordPress security keys. Factova – VERIFACTU > Tools* explains it in a folded block and gives you the line. If you add it before the first invoice, Factova adopts it on its own. If your shop already has invoices, Factova pauses issuing until you confirm the new key in Factova – VERIFACTU > Tools*. Normally your certificate is kept; only if the check with the previous key fails, or the previous key is gone, Tools tells you to upload it again. If the security keys of wp-config.php are missing or are the sample ones, Factova cannot protect anything and does not issue until FACTOVA_SECRET exists.
-
Do I need an electronic certificate?
-
Yes, to send the records to the AEAT: your own, your representative’s (for example, your accounting firm) or an electronic seal. It is stored encrypted and is never shown or exported.
-
How do I get the .p12 or .pfx file of my certificate?
-
If the certificate is installed in your browser, export it with its private key as a .p12 or .pfx file: on Windows, from Internet Options > Content > Certificates > Export; on Mac, from Keychain Access. When you export it you choose a password, which is the one Factova asks for. If your accounting firm files your taxes, ask it for the file.
-
How do I switch from test to production?
-
In Factova – VERI*FACTU > Overview, press “Go to production…”, review the checklist and type PRODUCTION to confirm. Then give the consent for production and repeat the connection test. You cannot go back to test.
-
Can I try it without sending real invoices to the AEAT?
-
Yes, with test orders: the AEAT test environment has no tax validity. Test invoices carry a watermark, are never sent to your customers and do not replace real invoices. Use it before you open your shop or on a staging copy, and switch to production as soon as you sell for real.
-
Can I test Factova on my live shop?
-
Yes, before you open it: make test orders in the AEAT test environment and check their invoices. A real sale is never invoiced in test: while Factova is in the test environment, an order that looks like a real sale (paid by a customer in the shop) waits in Pending until you switch to production, and then it gets its real invoice. If it was a test order, you confirm it in Pending and it is invoiced in test. On a staging or local copy of your shop you can tell Factova that the site is a test copy, so it invoices every order in test.
-
What happens if the AEAT service is down?
-
The invoice is issued anyway, because issuing happens in your shop and the submission comes afterwards: in production, the customer receives it with the order email and in My Account. Factova keeps the record, follows the waiting time of the AEAT and sends it again automatically when the service is back. With the email alerts on (the default), you receive an alert when the AEAT cannot be reached, and another one if records are still waiting after 24 hours.
-
What happens if I change an invoice or an order?
-
Invoices and records cannot be changed. A mistake is corrected with a correction of the record, a corrective invoice or, if the invoice should never have been issued, a cancellation. Factova warns you if the order changes after it was invoiced.
-
What happens if an invoiced order is cancelled?
-
The invoice is never deleted nor cancelled at the AEAT. The order moves to Factova – VERIFACTU > Pending* as “cancelled with invoice” and Factova proposes a corrective invoice (R1, or R5 if it was simplified) for the outstanding amount, which you issue with one click. Refunds already made are deducted. The same happens if an invoiced order goes back to failed or pending payment. If you prefer to invoice only completed orders (useful with many cancellations or with cash on delivery), choose it in the wizard or in Settings.
-
What happens when I refund an invoiced order?
-
Factova prepares the corrective invoice by differences (R1, or R5 if the invoice was simplified) with the lines of the refund and leaves it in Factova – VERIFACTU > Pending* and in the “VERI*FACTU invoice” box of the order, with the “Issue corrective invoice” button. Nothing is issued without your click: issue it as soon as you make the refund. Each partial refund gets its own corrective invoice, and never more than what is left of the invoice is corrected. The customer receives the PDF by email.
-
Does Factova handle the equivalence surcharge?
-
No. Factova does not calculate the equivalence surcharge (recargo de equivalencia). If an order carries it (or the customer was marked under the surcharge in an earlier version), Factova holds it in Pending with an explanation instead of issuing a wrong invoice. If the customer is not under the surcharge, remove the surcharge from the order in WooCommerce if it carries it, and confirm it in Pending with “This customer is not under the surcharge…”: the invoice is then issued without surcharge. Invoices that already carried the surcharge can still be corrected.
-
Can I keep another invoice plugin?
-
Turn off its invoices: two systems invoicing the same orders produce duplicate numbering and invoices outside VERI*FACTU. Its packing slips can stay. Factova warns you if it detects another invoicing system, but it never blocks or deactivates anything.
-
What happens if I clone the shop to a staging site?
-
Factova detects the copy and stops issuing and sending in it, so a copy never duplicates invoice numbers nor sends to the AEAT.
-
What happens if I deactivate or uninstall the plugin?
-
Deactivating it deletes nothing, but while it is deactivated orders get no invoice. Uninstalling it does not delete the invoices nor the billing records: the law requires you to keep them. It does delete the stored certificate, the temporary state and the capabilities. You can export everything from Factova – VERIFACTU > Tools*. Deleting the tables when the legal retention period ends is up to you.
-
Is Factova approved by the AEAT?
-
VeriFactu has no approval process. The producer of the software signs a responsible declaration for every version, which you can read in Factova – VERIFACTU > About* and at https://factova.es/factova/declaraciones/
-
In which language is Factova shown?
-
In the language of your WordPress: the screens in the language of each user’s profile; the customer emails, the PDF and My Account in the language of the site. WordPress downloads the translations automatically from translate.wordpress.org.
-
Why does Factova use cURL directly?
-
Sending the records to the AEAT needs a connection with a client certificate (mutual TLS). Factova sends the request through the WordPress HTTP API (
wp_remote_request) and only adds, with thehttp_api_curlfilter, the cURL options for the certificate of the issuer, which is decrypted in memory. The WordPress HTTP API has no option for a client certificate; if the server does not support certificates in memory, a private temporary file (permissions 0600) is used, overwritten and deleted at the end. -
Where is the source code of the JavaScript?
-
In the plugin itself:
assets/src/contains the source code of all the scripts and styles inbuild/. To build it:npm installandnpm run build(with@wordpress/scripts, seepackage.jsonandwebpack.config.js). -
What should I do before and after restoring a backup?
-
A restored backup takes the database back to an earlier moment, but the AEAT already has the invoices that were sent afterwards. If Factova used those numbers again, the AEAT would answer “duplicate record”.
- Before restoring: if you can, put the shop in maintenance mode and write down the last number of each series (in Invoices or in the AEAT e-office).
- After restoring: do not issue invoices. Go to Factova – VERIFACTU > Tools*, section “The database looks restored from an older backup”. Factova proposes the last number of each series from what the AEAT answered. Check it in the AEAT e-office, confirm it with your WordPress password, and Factova continues each series after that number, with a new chain. Orders that arrived in the meantime wait in Pending.
- If you did not notice: Factova detects it through the mark it keeps outside the database or, if the hosting also restored the files, through the first “duplicate” answer of the AEAT. From then on it pauses issuing for that issuer in that environment and takes you to Tools.
- Installation number: the recovery gives a new installation number to the whole shop. If the restore only affected the test environment but you already invoice in production, your production invoices also continue in a new chain (numbers and series do not change); Tools warns you before you confirm.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Factova – VeriFactu: AEAT invoices for WooCommerce” is open source software. The following people have contributed to this plugin.
Contributors“Factova – VeriFactu: AEAT invoices for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Factova – VeriFactu: AEAT invoices for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.3.5
- Changed: a site resolved as a copy of the shop also holds the orders that look like real sales: real sales are invoiced by the real shop. On a copy, Pending explains it and does not offer to go to production. Test orders are still confirmed in Pending, ticking the box with the sentence of responsibility.
- Changed: the confirmation «It is a test order» ends with «If I confirm a real sale as a test, the responsibility is mine.». Orders already confirmed keep their confirmation.
- Added: the Overview of Factova warns when billing records should have been sent to the AEAT more than 15 minutes ago. It explains that WP-Cron depends on the visits and gives the line of a real cron of the server (with wget or curl), and a WP-CLI alternative, ready to copy; only administrators see the lines, a shop manager is told to ask the administrator. Tools has the same lines as an optional recommendation for shops with few visits.
- Fixed: an order paid while its payment gateway was in live mode is no longer invoiced in test because the gateway was switched to test mode afterwards, also when it was waiting in Pending for another reason. The mode of the gateway at the time of payment is kept, and neither it nor the reason why an order waits in Pending can be changed through the WooCommerce REST API.
- Fixed: «It is a test order» is refused if the text to confirm changed after Pending was loaded; reload and confirm again.
0.3.4
- Added: while Factova is in the test environment, an order that looks like a real sale (paid by a customer in the shop) is not invoiced in test. It waits in Pending with two ways out: go to production, and it gets its real invoice, or confirm that it is a test order (one by one or several at once), and it is invoiced in test. The confirmation is recorded.
- Added: when you go to production, Factova tells you how many orders wait in Pending and offers a real invoice for the paid orders that only have a test invoice.
- Added: on a staging, development or local copy of the shop, a setting to invoice every order in test.
- Changed: the texts of the test environment say what it is for: test orders before you sell, or a copy of the shop. As soon as you sell for real, switch to production.
- Changed: WooCommerce 9.9 or later is enough (it was 10.0).
- Fixed: the notice shown when WordPress is older than required now says which version is needed.
- Fixed: in the block checkout with WooCommerce 10.0, the tax ID field did not show when the box was ticked or when the order was above 400 € (3,000 € for retail), so those orders could not be placed. It now shows, also with WooCommerce 9.9.
- Fixed: two clicks in a row on «Cancel this invoice» could send the cancellation of the same invoice to the AEAT twice; now only one is sent.
- Fixed: when a cancellation was sent again and the AEAT already had it, Factova could stop sending invoices; now it is taken as accepted.
- Fixed: when you go to production, the list of paid orders that only have a test invoice is no longer cut at 200: all of them are counted and get their real invoice if you ask for it, and the dialog says when it only lists the first ones.
- Fixed: if the real invoices made when you go to production are interrupted (for example by a time limit), the orders that are left are invoiced afterwards instead of being forgotten.
- Fixed: only the «It is a test order» button of Factova can release an order that looks like a real sale while you are in the test environment; data written by other tools or imports no longer counts.
0.3.3
- Added: after 10 invoices accepted in production and two weeks of use, the Overview of Factova shows a small card, once per administrator, with a link to leave an opinion on WordPress.org and another to the support forum. It can be hidden for good with one click.
0.3.2
- Added: a short help under the tax ID field of the checkout (block and classic) asks for the name or company name exactly as registered with the tax agency, so that the tax ID and the name match the records of the AEAT.
- Added: an informative notice in the Settings screen of Factova when the Company field of the checkout is hidden, with how to show it.
- Changed: the tax breakdown of the invoice PDF only shows the “Equivalence surcharge” column when the invoice carries the surcharge; otherwise the other columns use its width. Only the layout changes: no tax data changes, and invoices already issued are drawn the same way.
- Changed: the description says clearly that no extra checkout plugin is needed for the tax ID field.
0.3.1
- Changed: Factova has its own menu, “Factova – VERI*FACTU”, next to WooCommerce, with one entry per screen (Overview, Invoices, Pending, Settings, Certificate, Tools, About). It is no longer under WooCommerce > Invoices; the old addresses keep working.
- Added: a number next to the menu with the orders waiting in Pending, the corrective invoices to issue and the other invoice plugins found.
- Added: the Overview explains at the top which other active plugins also make invoices or corrective invoices, the risk of each one and what to do, with a link to Plugins. Factova never deactivates them.
- Changed: the “Settings” link of the plugin row opens the Settings screen.
0.3.0
- Changed: refunds of invoiced orders wait in Pending with their corrective invoice (R1 or R5, by differences) already prepared, which you issue with one click from the order or from Pending.
- Removed: the equivalence surcharge. Factova holds those orders in Pending and explains why, instead of issuing a wrong invoice. On update, it removes from WooCommerce the surcharge rates it had created; invoices already issued do not change.
- Fixed: the refund email of WooCommerce no longer attaches the corrective invoice of another refund.
0.2.10
- The setup wizard no longer asks for FACTOVA_SECRET: it is an optional, advanced setting explained in Invoices > Tools.
- Adding FACTOVA_SECRET before the first invoice no longer pauses issuing; with invoices, the confirmation in Tools normally keeps the certificate.
- The confirmation of a key change no longer deletes a certificate that any available key can still read, and the orders and refunds that were waiting are invoiced on their own.
- Notices only on the WooCommerce order screens and only when issuing is stopped; the rest is in the Overview of Factova.
- Every request that changes data checks its nonce before reading anything else.
- The External services section describes every connection in detail.
0.2.9
- First public release: VeriFactu invoices for orders, issued automatically when they are paid; corrective invoices for refunds and cancellations; manual invoices; automatic submission to the AEAT; PDF with QR code; setup wizard with express consent; email alerts; exports and read-only WP-CLI.
