Odoo: Create a credit note
odoo_create_credit_noteOdoo: Reverse a posted invoice with a credit note. Uses the Credit Note window of the invoice. In reverse mode the credit note is a draft prefilled from the original invoice. In reverse_and_new mode it is validated, reconciled with the original and a new draft invoice is opened. If money goes back to the customer, register that payment afterwards. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | reverse: a draft credit note you can adjust; reverse_and_new: a validated credit note plus a new draft invoice. Default: reverse. | |
| reason | Yes | Reason shown on the credit note. | |
| invoice_id | Yes | Invoice ID from list_invoices or create_draft_invoice. |