freeagent_create_invoice
Creates a new invoice in FreeAgent with specified contact, date, payment terms, and line items.
Instructions
Create a new invoice in FreeAgent
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact | Yes | Contact URL (e.g. https://api.freeagent.com/v2/contacts/123) | |
| dated_on | Yes | Invoice date (YYYY-MM-DD) | |
| payment_terms_in_days | Yes | Payment terms in days (e.g. 30) | |
| reference | No | Invoice reference | |
| currency | No | Currency code (e.g. GBP, USD) | |
| exchange_rate | No | Exchange rate | |
| payment_methods | No | Payment methods | |
| comments | No | Comments to appear on the invoice | |
| ec_status | No | EC status for EU VAT | |
| invoice_items | No | JSON string of array of invoice items. Each item has fields: item_type (Hours/Days/Weeks/Months/Years/Products/Comment/Rebilling), quantity (string), price (string), description (string) |