REST API v1 · OpenAPI 3
Integrate your software with Billora
Create and issue VeriFactu invoices, sync customers, expenses and payments, and receive signed webhooks whenever something changes in your organization.
- Base URL
https://api.billora.app/api/v1- Authentication
Authorization: Bearer blr_…
Your first request
curl https://api.billora.app/api/v1/invoices/?page_size=5 \
-H "Authorization: Bearer $BILLORA_API_KEY"bash
const res = await fetch("https://api.billora.app/api/v1/invoices/?page_size=5", {
headers: { Authorization: `Bearer ${process.env.BILLORA_API_KEY}` },
});
const { count, results } = await res.json();JavaScript
import os, requests
res = requests.get(
"https://api.billora.app/api/v1/invoices/",
params={"page_size": 5},
headers={"Authorization": f"Bearer {os.environ['BILLORA_API_KEY']}"},
timeout=30,
)
invoices = res.json()["results"]Python
$ch = curl_init("https://api.billora.app/api/v1/invoices/?page_size=5");
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("BILLORA_API_KEY")],
CURLOPT_RETURNTRANSFER => true,
]);
$invoices = json_decode(curl_exec($ch), true)["results"];PHP
Start here
Everything you need to ship your first production integration.
Resource guides
How the main API resources fit together.
- Invoicing and VeriFactuDrafts, issuing, series, taxes, corrective invoices, PDF and Facturae.
- Contacts and productsCustomers, suppliers, contact people and catalog.
- PaymentsInvoice payments, expense payments and outstanding balances.
- Expenses and suppliersReceived invoices, VAT breakdown, confirmation and attachments.
- CasesCases, actions and multipart file uploads.
- PurchasesPurchase orders, vendor bills and their payments.
- CRM and agendaLeads, opportunities, pipelines, activities and bookings.
- HREmployees, contracts, absences, time tracking and payroll.
- ClinicPatients, episodes, medical records and consents (GDPR).
- Digital signatureSignature requests by email or SMS, status, signed PDF and evidence.
- ImportsBulk loads from Excel: templates, upfront validation and per-row results.
- Settings and templatesOrganization details, series, tax settings, layouts and templates.
- VeriFactu recordsInvoice records, AEAT submission status and retries.
- Accounting and reportsChart of accounts, journal entries, VAT books, tax forms and KPIs.
- Treasury and bank reconciliationBank accounts, statements (Norma 43, CSV, XLSX), automatic matching and opening entry.
- Revolut BusinessTransaction and balance sync, webhook, reconciliation and payment drafts.
- Account, usage and auditPlan, modules, usage against limits, members, audit log and SMS.
Key concepts
- Organization
- Every API key belongs to one organization and only sees its data.
- Documents and statuses
- Documents start as drafts; issuing assigns a number and cannot be undone.
- VeriFactu
- When you issue, Billora creates the record and submits it to the Spanish Tax Agency if enabled.
- Environments
- There is no sandbox: use a separate test organization while developing.
More resources
Ready to start?
Create an API key in Settings → API (Pro and Business plans).
