Create invoice
hiveage_create_invoiceWRITE: create an invoice (starts as a draft; nothing is emailed) for a connection. statement_no must be unique. connection_id is the numeric id from hiveage_list_connections. Hiveage: POST /invs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Invoice date, YYYY-MM-DD. | |
| note | No | ||
| items | No | Item lines (description, price, quantity). | |
| tasks | No | Time task lines. | |
| taxes | No | Taxes added to the sub total. | |
| trips | No | Mileage lines. | |
| summary | No | ||
| due_date | Yes | Due date, YYYY-MM-DD. | |
| expenses | No | Expense lines. | |
| discounts | No | Discounts applied to the sub total. | |
| po_number | No | ||
| statement_no | Yes | Unique invoice number, for example IN-001. | |
| connection_id | Yes | The numeric id (not the hash_key) of the connection to bill. | |
| send_reminders | No | ||
| payment_options | No | Accepted payment methods. | |
| shipping_amounts | No | Shipping charges. | |
| allow_partial_payments | No | ||
| send_receipts_automatically | No |