Create an expense
invoiceninja_create_expenseLog an expense, optionally tied to a vendor, client or project and flagged to be re-invoiced. Invoice Ninja: POST /api/v1/expenses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Expense date, YYYY-MM-DD. | |
| amount | Yes | Expense amount. | |
| client_id | No | Client to re-bill (hashed id). | |
| tax_name1 | No | ||
| tax_rate1 | No | ||
| vendor_id | No | Vendor (hashed id). | |
| project_id | No | Project (hashed id). | |
| category_id | No | Expense category (hashed id). | |
| currency_id | No | Currency id as a string, e.g. "1" (USD). Omit for the company default. | |
| payment_date | No | Date it was paid, YYYY-MM-DD. | |
| public_notes | No | Description. | |
| private_notes | No | ||
| should_be_invoiced | No | Flag the expense to be billed to the client. | |
| transaction_reference | No | Receipt / transaction reference. |