Order paid, invoice issued
Integrate the BeeL. API into your B2B store and every paid order produces a Verifactu invoice, delivered to the customer within seconds. No manual work, no support tickets.
7 days free · no card · Unlimited sandbox · Compatible with Shopify, WooCommerce and custom
The invoice is part of the product
When you sell to businesses, a compliant invoice isn't optional. It's part of the buying experience — and it has to be issued in seconds.
Immediate legal compliance
Your business customers need the invoice to deduct VAT and justify the expense. No valid invoice, no sale. BeeL. emits Verifactu-compliant invoices on every order.
Issue speed
From payment to invoice in seconds. Eliminate waits, support tickets and follow-up emails. Your customer gets the PDF the moment the payment clears.
Verifactu and Spanish compliance
Every invoice includes a chained hash, the official QR, sequential numbering and a correct VAT breakdown. All registered with the AEAT automatically per RD 1007/2023.
Scale without headcount
10 orders or 10,000 a day, the operational cost of invoicing doesn't change. The API handles volume without degrading performance or requiring more admin.
Automatic credit notes
Returns, cancellations and adjustments are solved with one API call. BeeL. links back to the original invoice automatically and keeps the fiscal chain intact.
Structured data for your ERP
All invoices are available via GET /invoices with filters by date, customer and status. Export JSON ready to integrate with Sage, A3, Holded or your accounting stack.
One call from your payment webhook
In the handler that listens to Stripe, Redsys or your gateway, create the invoice with the order data. BeeL. responds with the ID and the ready-to-send PDF.
Sandbox examples use the beel_sk_test_ prefix. Same code in production — just swap the key.
How it integrates into your B2B store
A direct flow between your ecommerce platform and your payment gateway. You can ship it to production in an afternoon.
- 1
Customer checks out with tax data
Your store captures legal name, NIF/CIF and address at checkout. Optionally call /nif/validate before saving to reject malformed tax IDs client-side.
- 2
The gateway confirms the payment
Stripe, Redsys or your processor fires the successful payment webhook. Your backend receives payment_id + order_id and marks the order as paid.
- 3
Your backend calls POST /invoices
Send customer_id, order line items and use order_id as Idempotency-Key. BeeL. generates the invoice, registers it with Verifactu and returns invoice_id.
Node.js - 4
Verify the response with BeeL.'s webhook
Subscribe to verifactu.status.updated to update the order when the AEAT confirms registration. Constant-time HMAC verification is included in the SDK.
Node.js - 5
Ship the order and query via API
The customer already has the PDF. Your logistics ships the order and your dashboard queries GET /invoices to show history, reports and reconciliation.
