Create quotes, proformas and fees notes and send them to your clients.
InvoiceXpress API (3.1.0)
The InvoiceXpress v3 API: invoicing documents (invoices, guides, estimates) and their series, clients, items, taxes, schedules and favorites; account, user, AT-communication and payment-service settings; batch CSV imports of invoices, products and clients; dashboard KPIs, reports, SAF-T export, digital signatures, EDI (CIUS-PT), Social Security declarations, and reference lists (currencies, tax countries, phone calling codes).
What changed between versions of this reference is listed under Changelog, at the end of the navigation.
Request
Generates the SAF-T file for a specific period. The operation is asynchronous — the first response returns 202 while the file is being generated; keep requesting until you receive 200 with the download URL. If there are no documents to export in the selected period, returns 200 with a message instead of a url.
The period for which to generate the SAF-T.
The year for which to generate the SAF-T, from 2015 to the current year (otherwise 422). Defaults to the current year.
The month for which to generate the SAF-T, 1 to 12 (otherwise 422). Defaults to the current month.
Required when period is week or day; ignored for year and month. With period=day it is the exact day. With period=week it can be any day of the wanted week (Monday to Sunday); the week is cut at the month boundaries of year/month. Omitting it with week or day returns 500 (after the company-data check).
- Production Serverhttps://api-v3.app.invoicexpress.com/api/v3/saft/export.json
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X GET "https://api-v3.app.invoicexpress.com/api/v3/saft/export.json?api_key=YOUR_API_KEY&period=month&year=2026&month=6"{ "url": "https://some.url", "message": "There aren't any documents to export on the selected period." }
Changelog
Changes to the documented contract of the InvoiceXpress API v3: endpoints, fields, enum values, status codes and behaviour you can observe as an integrator. The newest version is at the top.
The version number is the one shown at the top of this reference, and it follows these rules:
- Minor (
3.1.0): something was added, such as a new endpoint, field or enum value. Existing integrations keep working. - Patch (
3.0.1): the documentation was corrected and now describes what the API already did. No behaviour changed. - The major version stays at
3. A change that would break existing integrations is released as a new API version, not as4.0.0of this one.
Social SecurityCopy for LLM Copy page as Markdown for LLMs View as Markdown Open this page as Markdown Open in ChatGPT Get insights from ChatGPT Open in Claude Get insights from Claude Connect to Cursor Install MCP server on Cursor Connect to VS Code Install MCP server on VS Code
Helps self-employed accounts (trabalhadores independentes and ENI) fill in the quarterly income declaration for Segurança Social. InvoiceXpress calculates the quarter's totals from your invoices and an estimate of the monthly contribution; you record what you reported.
This feature submits nothing to Segurança Social. You type the figures into Segurança Social Direta yourself. It only calculates and records.
Authentication is
api_keyonly, and every endpoint is JSON only. The declaration endpoints are served under/services/v1/social_security/...and the settings and report endpoints under/api/v3/accounts/..., all on the v3 host.