create_invoice
Create an issued invoice in Quipu by specifying a contact with valid tax ID and at least one line item, including price, VAT, and optional retention.
Instructions
Create an issued invoice in Quipu. Requires the contact id it is billed to and at least one line item. The contact must already have a tax_id (NIF/CIF) or Quipu will reject the invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Invoice line items | |
| due_date | No | Due date (YYYY-MM-DD) | |
| contact_id | Yes | Id of the contact being invoiced | |
| issue_date | No | Issue date (YYYY-MM-DD) | |
| payment_method | No | Payment method as accepted by Quipu (e.g. "bank_transfer", "cash") |