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.
E-commerce
ERP
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:
- Platform event. A paid order, a charge, a validated invoice or a sale closed at the POS.
- 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.
- 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.
The APIs
Each integration uses the submission API of the NIF's obligation, on top of the NIF management API.
Questions about Verifactu in online shops
Does an online shop have to comply with Verifactu?
Are there Verifacti plugins?
I sell on Amazon: how do I comply with Verifactu?
My platform is not on the list: what do I do?
Does it work for TicketBAI too?
Connect your platform in the test environment
Create your free account and try it with a test NIF before going to production.