Documentation
Find the guide you need to integrate Factuarea
Practical guides, API reference and official SDKs. Find what you need to connect your business to Factuarea and test your integration in the sandbox.
- In Spanish, English and Catalan
- Sandbox with a fact_test_ key
- guides90opens docs.factuarea.com in a new tab
- reference pages736opens docs.factuarea.com in a new tab
- error codes733opens docs.factuarea.com in a new tab
- SDKs, MCP, CLI and help107opens docs.factuarea.com in a new tab
API reference · Invoices
Create an invoice
/v1/companies/{company}/invoicesinvoices:writeGuides by goal
Start with what you want to build
You do not need to read hundreds of pages. Pick the outcome and open the first guide in that route.
- Stripe paymentStripe ConnectInvoice issued and sentSentVeriFactu recordPayment noted
Make the shop invoice itself
You charge with Stripe and want the invoice issued untouched.
/payments/stripe-autoinvoicingopens docs.factuarea.com in a new tab clients.csvPreviewColumn mappingexternal_idContacts importedNo duplicatesBring the data from another program
You have years of clients and invoices somewhere else.
/guides/migration-from-holdedopens docs.factuarea.com in a new tabsearch_contactscontacts:readcreate_invoiceinvoices:writeDraft ready to reviewDraftConnect an agent
You want a model to issue and query without writing an HTTP client.
/mcp/connectopens docs.factuarea.com in a new tab- Clock in09:00Break13:00Clock out18:00
Ship time tracking
You need the working-time register, kept by your own system.
/guides/workforce-overviewopens docs.factuarea.com in a new tab B12345674Your accountB87654321Shared accessB76543210Managed accountHandle your clients' tax IDs
You are an accounting firm and you work with your own account, the access you are granted and the accounts you manage, all from your system.
/guides/companiesopens docs.factuarea.com in a new tab
When it fails
The error carries its own address
There is nothing to look up. Every error response carries a doc_url with the exact page for that code; and if you ask for application/problem+json, the type field IS that address, with the code as its only variable segment.
- resource_already_existsopens docs.factuarea.com in a new tab
- insufficient_scopeopens docs.factuarea.com in a new tab
- rate_limit_exceededopens docs.factuarea.com in a new tab
- api_key_revokedopens docs.factuarea.com in a new tab
The catalog holds 733 codes, each with its own page. The address is built from the code, so you can assemble it from your own error log.
Error handling →opens docs.factuarea.com in a new tab{ "name": "Estudio Ribera", "kind": "company", "roles": ["customer"], "tax_id": "B12345674"}{ "error": { "type": "conflict_error", "code": "resource_already_exists", "message": "Ya existe un cliente con ese NIF.", "request_id": "req_01HKQS5NKW1C6W9T4G5HAIBZVM", "doc_url": "https://docs.factuarea.com/guides/errors#resource_already_exists" }}docs.factuarea.com › errors › resource_already_exists
resource_already_existsThat tax ID is already registered as a contact in the company.
Look the contact up by its tax ID and use it instead of creating it again.
Documentation for agents
The same documentation. Your way.
Read the guides on the web or give your assistant a resource index and the complete documentation in Markdown. Choose the format that fits your work.
curl https://docs.factuarea.com/llms.txt# Factuarea API## Getting Started- [Authentication](https://docs.factuarea.com/guides/authentication)## Core concepts- [Pagination](https://docs.factuarea.com/guides/pagination)- [Idempotency](https://docs.factuarea.com/guides/idempotency)…docs.factuarea.comTo read it1,666PagesThe site, with search, and a button on every page that copies it as Markdown.
docs.factuarea.comopens docs.factuarea.com in a new tabllms.txtTo find things4,998LinksThe curated index of the llms.txt convention: every link with one line of what is inside.
llms.txtopens docs.factuarea.com in a new tabllms-full.txtAll documentation in one file3,526PagesEvery page concatenated as clean Markdown, no components and no layout, each one carrying its canonical URL so it can be cited.
llms-full.txtopens docs.factuarea.com in a new tabMCPFor agents686toolsFactuarea's MCP server: the API as tools for Claude, ChatGPT, Cursor and Gemini CLI.
MCP
Doubts
Before you open the documentation
Still have a question?
A person on the team answers, on any plan. Write to us the way you would to a colleague.
Monday to Friday, 9:00 to 18:00
In full in Spanish, English and Catalan: not a translated index, the very same documentation pages. Same address with the prefix in front, /es/guides/quickstart or /ca/guides/quickstart. The only thing that does not change language is the code of an error.
A more connected business
Now you know where to start
The first guide on the route ends with an invoice issued and sent. Against the sandbox, without spending a single number of your real numbering.
No card requiredA real person helps you