Integrations: connect your online shop, ERP or POS with Verifactu

If you sell through an online shop, your invoices fall under Verifactu like those of any other channel: what changes is how they connect. Verifacti does not publish plugins: each page in this section explains, with code, how to connect a platform (Shopify, WooCommerce, PrestaShop, Stripe, Odoo, SAP…) with the Verifactu API, the TicketBAI API or the SII API. Which obligation you have depends on your case: see the criteria in who Verifactu applies to.

Other platforms

Amazon, ERPNext, QuickBooks, Square, Xero, Invoice Ninja, Perfex CRM, WHMCS, OpenCart, Bitrix24 and n8n connect the same way: a platform event (an order, a charge or an invoice) reaches your code, which calls the API. If you sell on Amazon, you issue the invoice from your own invoicing system, and that system is the one that sends it.

How these integrations work

They all follow the same three-step pattern:

  1. Platform event. A paid order, a charge, a validated invoice or a sale closed at the POS.
  2. Your code. It receives the event (webhook, hook or trigger), turns the data into the invoice JSON and calls the API with the NIF's API key.
  3. The Verifacti API. The Verifactu API returns the QR straight away and sends the invoicing record to the Spanish Tax Agency (AEAT); the TicketBAI API does the same with the foral treasury, and the SII API sends the invoice to the SII (Immediate Supply of Information).

Underneath is the common layer: you integrate the NIF management API once (NIF registration, representation form and webhooks) and each regulation adds its own submission integration.

Questions about Verifactu in online shops

Does an online shop have to comply with Verifactu?

An online shop's invoices fall under Verifactu like those of any other channel. Which obligation each business has depends on its case: see the criteria in who Verifactu applies to.

Are there Verifacti plugins?

No. Verifacti is an API: each page in this section explains, with code, how to connect a platform to it.

I sell on Amazon: how do I comply with Verifactu?

Your invoicing system sends the invoices you issue. If you connect it to the Verifactu API, the invoices for your Amazon sales are registered like the rest.

My platform is not on the list: what do I do?

It connects the same way: a platform event reaches your code, which calls the API. Start with the Verifactu API documentation.

Does it work for TicketBAI too?

Yes. If the NIF is taxed in Álava, Bizkaia or Gipuzkoa, the flow is the same with the TicketBAI API.

Connect your platform in the test environment

Create your free account and try it with a test NIF before going to production.

Test environment and test NIF includedRead the documentation