odoo_list_invoices
Pack: odoo · Endpoint: https://gateway.pipeworx.io/odoo/mcp
List Odoo customer invoices (account.move where move_type=out_invoice). Returns name, partner_id, amount_total, amount_residual, state (draft/posted/cancel), payment_state, and invoice_date. Use for “unpaid invoices” or “recent customer invoices”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | Filter by invoice state: draft, posted, or cancel. Omit for all. |
limit | number | no | Max records (default 20). |
Example call
Arguments
{
"state": "posted",
"limit": 20,
"_odooUrl": "https://your-instance.odoo.com",
"_odooDb": "your_database",
"_odooUid": "your_user_id",
"_odooPassword": "your-odoo-password"
}
curl
curl -X POST https://gateway.pipeworx.io/odoo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"odoo_list_invoices","arguments":{"state":"posted","limit":20,"_odooUrl":"https://your-instance.odoo.com","_odooDb":"your_database","_odooUid":"your_user_id","_odooPassword":"your-odoo-password"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('odoo_list_invoices', {
"state": "posted",
"limit": 20,
"_odooUrl": "https://your-instance.odoo.com",
"_odooDb": "your_database",
"_odooUid": "your_user_id",
"_odooPassword": "your-odoo-password"
});
More examples
{
"state": "draft",
"_odooUrl": "https://your-instance.odoo.com",
"_odooDb": "your_database",
"_odooUid": "your_user_id",
"_odooPassword": "your-odoo-password"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"odoo": {
"url": "https://gateway.pipeworx.io/odoo/mcp"
}
}
}
See Getting Started for client-specific install steps.