invoices_create
Create a new invoice in SyncroMSP. After creation, add line items using the invoices_add_line_item tool.
Instructions
Create a new invoice. Note: line_items in the create body are IGNORED by the API -- add line items via invoices_add_line_item after creation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Customer ID (required) | |
| date | No | Invoice date | |
| due_date | No | Due date | |
| number | No | Invoice number | |
| ticket_id | No | Associated ticket ID | |
| location_id | No | Location ID | |
| po_number | No | PO number | |
| contact_id | No | Contact ID | |
| note | No | Invoice note | |
| hardwarecost | No | Hardware cost | |
| line_items | No | Array of line item objects |