odoo_find_pending_invoices
Retrieve unpaid or partially paid invoices and bills in Odoo 18 for a specific partner or all partners, filtered by invoice type.
Instructions
Find invoices/bills pending payment for a partner. Uses correct Odoo 18 domains: state='posted' AND payment_state in ('not_paid','partial'). DO NOT use state='open' - that is Odoo 13 and does NOT exist in Odoo 18. Omit partner_id to get ALL pending invoices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes |