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
Creates a new treasury movement for a client.
A Payment settles the client's open documents up to value and issues a receipt for each. A Reimbursement is spread over the client's settled documents (or only document_id when sent).
Send an Idempotency-Key header to make retries safe: a repeated request with the same key and payload replays the first answer instead of creating a second movement.
Any other value is rejected with HTTP 422.
For Payment, must not exceed the client's open balance (with VAT). For Reimbursement, must not exceed the settled balance that can be reimbursed (of document_id when sent, otherwise of all the client's documents).
Required — omitting it fails with HTTP 500. A value that cannot be parsed as a date is replaced by today's date.
Reimbursement only: restrict the reimbursement to this settled document.
Payment only: passed to the receipts issued for the paid documents. Not stored on the movement.
- Production Serverhttps://api-v3.app.invoicexpress.com/api/v3/clients/{client_id}/treasury_movements
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X POST "https://api-v3.app.invoicexpress.com/api/v3/clients/12345/treasury_movements?api_key=YOUR_API_KEY" -H "Content-Type: application/json" --data '{}'{ "treasury_movement": { "id": 123456, "value": 123.45, "movement_type": "Reimbursement", "payment_method": "MB", "date": "2023-04-28" } }
- Production Serverhttps://api-v3.app.invoicexpress.com/api/v3/clients/{client_id}/treasury_movements/{id}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X DELETE "https://api-v3.app.invoicexpress.com/api/v3/clients/12345/treasury_movements/1?api_key=YOUR_API_KEY"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.