home / mcp / invoiceexpress mcp server
Provides Portuguese invoice management with SAF-T compliance, AT integration, and 60+ tools for invoices, clients, and treasury.
Configuration
View docs{
"mcpServers": {
"andreagroferreira-invoiceexpress-mcp": {
"command": "npx",
"args": [
"-y",
"@wizardingcode/invoiceexpress-mcp@latest"
],
"env": {
"INVOICEEXPRESS_API_KEY": "YOUR_API_KEY",
"INVOICEEXPRESS_ACCOUNT_NAME": "YOUR_ACCOUNT_NAME"
}
}
}
}InvoiceExpress MCP is a modular server that helps you manage Portuguese invoices end-to-end with automatic tax compliance, SAF-T generation, and AT integration. It provides a wide set of tools to handle invoices, clients, estimates, treasury, and regulatory requirements with Portuguese date formats and regional tax rules, all orchestrated through MCP clients.
Use this MCP server with your MCP client to access 60+ specialized tools for Portuguese invoice management. You run the MCP server locally or remotely and connect your client to it using the standard MCP connection, then start issuing tool calls like creating an invoice, generating SAF-T files, or updating client balances. You can combine multiple tools in a single prompt to automate complex workflows such as generating an invoice, producing a PDF, and sending it by email, all while ensuring Portuguese tax compliance.
Prerequisites: ensure Node.js is installed (v18.0.0 or newer) and you have an InvoiceExpress account with API access. You also need a compatible MCP client such as Cursor, Claude Desktop, VS Code, or Windsurf.
Install options shown below are ready-to-use MCP configurations. Pick the one that matches your environment and paste the configuration into your MCP client as-is.
# Common npm/npx-based approach (example placeholder; use the exact snippets below in your client)
npm install -g @wizardingcode/invoiceexpress-mcp
# or run directly via npx in your MCP client
npx -y @wizardingcode/invoiceexpress-mcp@latest
```}]} ,{Required environment variables you must provide to run the server are listed below. Set these in your MCP client configuration or in your environment before starting the server.
INVOICEEXPRESS_API_KEY=your-api-key-here
INVOICEEXPRESS_ACCOUNT_NAME=your-account-name
```}]} ,{If you encounter authentication or module errors, verify your API key and account name, and ensure your API access is enabled. If you see module-not-found issues, try using an alternative package runner provided in your MCP configuration.
Keep API keys secure. Do not commit credentials to source control. Use short-lived keys when possible and rotate credentials periodically. Restrict API keys to the minimum necessary permissions for your invoicing workflows.
When upgrading, review changes to tax rules and SAF-T formats that might affect your workflows. Revalidate your SAF-T generation and AT integration after every upgrade to ensure continued compliance.
List invoices with advanced filtering by status, date, client, and amount.
Create invoices with Portuguese tax compliance, including itemized services and products.
Get detailed invoice information including line items and totals.
Update existing invoices and adjust states or items.
Send invoices via email with customizable messages and templates.
Generate PDF versions of invoices and related documents.
Change invoice states such as draft, sent, final, or canceled.
Fetch related documents like credit notes and receipts.
Generate payment references for various methods (MB, card, etc.).
Cancel existing payment references.
Generate QR codes for digital payments.
List clients with pagination and filtering including Portuguese fiscal data.
Create new clients with fiscal information and contact details.
Get detailed client information.
Update client data and settings.
Search clients by name or partial match.
Find clients by unique internal code.
List all invoices for a specific client.
List estimates, quotes, proformas, and fee notes.
Create professional estimates and quotes.
Get detailed estimate information.
Update existing estimates.
Send estimates via email.
Generate PDFs for estimates.
Manage estimate workflow states.
List shipping guides and related transport documents.
Create shipping and transport documentation.
Get detailed guide information.
Update transport documentation.
Send guides via email.
Generate PDFs for transport documents.
Manage guide workflow states.
Generate QR codes for tracking.
List products and services with filtering.
Create new items with tax information.
Get detailed item information.
Update product or service information.
Remove items from catalog.
List all document numbering sequences.
Get detailed sequence information.
Create new document sequences.
Set default document sequence.
Register sequences with the Portuguese AT.
List all configured tax rates.
Create new tax rates including VAT and regional taxes.
Get detailed tax information.
Update tax rate configurations.
Remove unused tax rates.
Get account information and settings.
Create new InvoiceExpress accounts.
Update account settings.
Create additional accounts for existing users.
Configure AT communications.
Export monthly SAF-T files for AT submission.
Get client balance and status.
Set or update a client initial balance.
List financial regularizations.
Create balance regularizations.
Remove regularizations.
Record payments and reimbursements.
Remove treasury movements.