name: odoo-invoice-creator description: Creates invoices in Odoo accounting system with proper approval workflow.
Overview
This skill connects to Odoo via JSON-RPC API to create customer invoices, with required approval workflow.
When to Use
- When a client requests an invoice
- When converting a quote to invoice
- When recording billable work in accounting system
Parameters
- customer_id: Odoo customer/partner ID
- invoice_lines: Array of invoice line items
- due_date: Payment due date
- reference: Invoice reference number
Process
- Verify customer exists in Odoo or create new partner
- Prepare invoice lines with descriptions and amounts
- Create draft invoice in Odoo
- Submit for approval before posting
- After approval, post the invoice to finalize
- Log the action in audit trail