create_invoice
Create an invoice with customizable lines, charges, and tax details. Requires user confirmation before generating.
Instructions
⚠️ Crea una factura. Confirmar con usuario antes de ejecutar.
invoice_lines: [{quantity, concept, amount, discount, tax, retention, sell_type, tax_regime, tax_subjection_code}] charges: [{amount, payment_method, destination_account(id), paid, date?}] sell_type: "service"|"product"|"supplied_cost" tax: 0,4,10,12,21 (IVA) o 0,3,7,9.5,13.5,20 (IGIC) tax_regime: "01"|"02"|"08"|"11"|"17"|"18"|"20" tax_subjection_code: "S1"–"S2"|"N1"–"N2"|"E1"–"E6" payment_method: "cash"|"receipt"|"wire_transfer"|"card"|"promissory_note"|"other"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issued | Yes | ||
| invoice_lines | Yes | ||
| charges | Yes | ||
| customer | No | ||
| description | No | ||
| annotations | No | ||
| date | No | ||
| serie | No | ||
| tags | No | ||
| number | No | ||
| footer | No | ||
| irm | No | ||
| rectified_id | No | ||
| rectification_cause | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||