MYOB: Create invoice
myob_create_invoiceMYOB: Create a sales invoice for a customer with one or more lines. Creates an open sales invoice and returns its number, tax, total and balance due. Layout service takes free-text lines, item takes item codes from your Items List and professional also records the dates the work was done. Due date follows the customer terms unless you pass due_date. The invoice is not emailed until you call send_invoice. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Invoice date. Default: today. | |
| lines | Yes | Objects with description or item_code, quantity, unit_price and tax_code, e.g. GST. | |
| layout | No | service, item or professional. Default: service. | |
| comment | No | Text shown on the invoice. | |
| due_date | No | Due date. Default: from the customer payment terms. | |
| customer_id | Yes | Customer card ID from list_customers, e.g. CUS000012. | |
| tax_inclusive | No | true if unit prices include tax. Default: false. |