WordPress maintenance & support in Málaga

What Spain's mandatory B2B e-invoicing under the Crea y Crece law means for a WooCommerce shop in Malaga: the dates in force, the formats, invoice status reporting and what maintenance has to test.

WordPress maintenance & support

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.
  • Local WordPress meetup: WordPress Málaga

My WordPress.org profile

#When a WooCommerce invoice stops being a PDF

I am Mariusz Szatkowski, one developer in Gdynia, working remotely and in writing, with WordPress since 2006. For Malaga companies I run WordPress and WooCommerce maintenance. The question a shop owner who sells to other businesses should ask now is a narrow one: from which date must the invoices leaving my shop be structured electronic messages, and who has to be able to produce them?

Spain answered with a law, a royal decree and a ministerial order. All three are published, so the dates can be calculated. Below is what they say and what they leave to the tax agency.

Technology park west of Malaga seen from the air

Photo: Bj.schoenmakers, CC0, Wikimedia Commons.

#What article 12 of the Crea y Crece law says

Article 12 of Ley 18/2022, the law on the creation and growth of companies, rewrites article 2 bis of Ley 56/2007. Its first paragraph states that all businesses and professionals must issue, send and receive electronic invoices in their commercial dealings with other businesses and professionals, and that issuer and recipient must provide information on the status of the invoice.

The other paragraphs set the frame for software:

  • Technology solutions and platforms offered by e-invoicing providers must guarantee free interconnection and interoperability.
  • The recipient may not force an issuer to use a predetermined solution, platform or provider.
  • For four years after issue, recipients can ask for a copy of an electronic invoice without extra charge.
  • Invoicing systems and programs that manage billing and keep e-invoices must respect article 29.2.j of the General Tax Law and its implementing rules.

The effect on the website side is indirect. A WooCommerce shop is the place where the order and the buyer’s data are created, so the shop decides whether the invoicing tool downstream receives complete data.

#The dates: three texts, one clock

TextPublishedIn forceWhat it does
Ley 18/202229 September 2022 (law dated 28 September 2022)Article 12 takes effect one year after the regulation for businesses above 8 million euros, two years after for the restSets the duty and the deadlines
Real Decreto 238/2026 of 25 March 2026BOE no. 79, 31 March 202620 April 2026, with effective application deferredSets the technical and information requirements
Orden HAC/1028/2026 of 2 October 2026BOE no. 247, 5 October 20266 October 2026Regulates the public solution and starts the clock

The Real Decreto, in its final provision four, defers application until after the order. Twelve months after the order enters into force, the duty applies to businesses and professionals whose volume of operations, calculated under article 121 of the VAT law, exceeded 8 million euros in the previous calendar year. Twenty-four months after, it applies to everyone else. The order’s final provision confirms that its entry into force starts the periods in the law and the decree.

Counting from 6 October 2026, twelve months ends on 6 October 2027 and twenty-four months on 6 October 2028. Those two dates are my arithmetic from the published texts, so a shop should confirm its own category with its tax adviser.

The Real Decreto also requires the public solution to be available at least two months before the first date of application, so that businesses can test. It names the Agencia Tributaria as the body that develops and runs it, and it says use of the public solution is free.

#What counts as an electronic invoice

Article 7.1 of the Real Decreto says the invoice must be a structured computer message on the EN 16931 semantic data model, in one of four syntaxes: CII, UBL (with adaptations for business to business use), EDIFACT or Facturae. The preamble adds that Peppol BIS messages are accepted on private platforms because they use UBL and the European standard.

Two rules matter for a shop that sends invoices through a platform and not through the public solution:

  • Invoices issued through private platforms must carry an advanced electronic signature (article 7.3).
  • A business that does not use the public solution to issue invoices must send a faithful electronic copy of each invoice in UBL to it, at the moment of issue (article 6.2).

A recipient that has not agreed to receive its invoices through a private platform is deemed to have chosen the public solution without any statement (article 6.1). A recipient that does use a platform must publish its entry point for e-invoices in its communications with other businesses and on its website, if it has one (article 6.3).

#Who is in scope

Article 3 of the Real Decreto applies the duty to invoices from businesses and professionals to a recipient business or professional who has its seat of economic activity, a permanent establishment or, failing those, its residence in Spain. Article 4 exempts operations documented by simplified invoices under article 4 of the invoicing regulation, Real Decreto 1619/2012, unless they are qualified simplified invoices under article 7.2 of that regulation. The Ministry of Economy may exclude further operations by order.

A shop that sells only to consumers is therefore outside the duty as the decree defines it. A shop that sells to companies, freelancers and professionals is inside it for those orders. Most WooCommerce shops that serve both have to tell the two groups apart at checkout, and that is the first technical consequence.

#Status reporting after delivery

Article 10 requires the recipient of an electronic invoice to inform the issuer of two statuses: commercial acceptance or rejection with its date, and full payment with the effective payment date. The information goes out within four calendar days, not counting weekends and national holidays, from the date of the event (article 10.3). Further statuses may be reported voluntarily, such as partial payment or assignment of the invoice.

The purpose is stated in the text: the tax agency uses the copies and the payment information to calculate and monitor payment periods. For a shop that issues invoices to business customers, this means the invoicing tool needs an inbound path as well as an outbound one, and somebody must watch the statuses that arrive.

#Transitional rules for large issuers

Transitional provision two of the Real Decreto covers businesses above 8 million euros in operations volume. For twelve months from the date the decree takes effect for them, they must accompany each electronic invoice with a PDF that ensures readability, unless the recipient voluntarily and expressly agrees to receive the original format only. The PDF goes to the recipient and not to the public solution.

Transitional provision three treats individuals below that threshold, and entities attributing income under personal income tax: the status reporting is voluntary for them until twelve months after the decree takes effect for the 24-month group.

#What that means for a WooCommerce shop

Maintenance cannot decide the legal route. The company and its tax adviser choose between a private platform, the public solution or both. Maintenance can make sure the shop supports whichever is chosen:

  1. Checkout data. Business buyers need company name, address and tax number captured as required fields, validated, and stored with the order. The public solution admits an invoice only when the tax numbers of issuer and recipient are stated correctly (article 11.3).
  2. Business and consumer separation. A visible choice at checkout that sets the buyer type and drives which invoice flow runs.
  3. Invoicing plugin or ERP. Find out which of the four syntaxes it can produce and whether it can transmit to a platform or send the UBL copy to the public solution. A plugin that renders a PDF from a template does not do this.
  4. Numbering and credit notes. Corrective invoices must also be electronic under article 10.6, so refunds in WooCommerce must produce a matching credit document.
  5. Status feedback. Where payment status or rejection arrives from a platform, map it onto the WooCommerce order so staff can see it.
  6. Retention. Keep the invoices and their copies retrievable. Recipients may ask for a copy for four years.
  7. Updates. An update of WooCommerce, of the invoicing plugin or of a payment gateway can change totals, tax lines or document numbers. Updates therefore run on staging first with a set of test orders, a refund and a credit note.

Whether a company counts as a business or professional for VAT purposes, and which side of the threshold it sits on, is for the shop owner and the tax adviser to decide. I take the result as a configuration input.

#What I check after each update

  • Test order as a business buyer: tax number, address and company name reach the invoice.
  • Test order as a consumer: the flow does not change.
  • Credit note after a refund: produced, numbered and linked to the original.
  • Totals and tax lines against the order, including shipping.
  • Structured output where the tool already produces it: opens and validates in the tool’s own check.
  • Email to the buyer with the invoice attached or linked arrives and is readable.
  • Backup of invoices and the restore of one invoice on staging.

#How maintenance with me runs

You send the site URL, the host, the invoicing tool and the plugin list. A written reply reaches you within 24 hours on working days. I check the points above, return the findings in writing and send you a scope with my assumptions. Each update is tried on a staging copy before the live shop sees it, and a copy of the backups lives away from the hosting account. A short report follows every month, and hours do not roll over into the next one. If you need a new business checkout layout, I design it or implement yours.

What I need from you: admin access, the name of the invoicing tool and its vendor documentation, and the person who confirms your deadline category.

The general maintenance offer is described on the WordPress maintenance and support page.

#Send me the shop and the invoicing setup

If you run a WooCommerce shop in Malaga that invoices other businesses and want the checkout and invoicing flow tested after every update, write to me through the contact page. Send the site URL, who your business customers are, the invoicing tool and your plugin list. I send the first written estimate free of charge and answer in writing within 24 hours on working days.

Need this service: WordPress maintenance & support in Málaga?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest WordPress maintenance & support articles

Dec 4, 2022

WordPress update failed? How to restore your site

Comprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.

Jun 28, 2026

WordPress.org update delay cut to six hours

WordPress.org has cut the mandatory update cooldown from 24 hours to six, with work underway to skip it entirely when the Gandalf AI review finds no issues. What changed, and what agencies maintaining B2B sites should do about it.

Explore other WordPress services and knowledge base