MYOB: Create bill
myob_create_billMYOB: Enter a supplier invoice as a bill with its lines and tax. Creates an open bill and returns its number, tax, total and balance due. Pass the supplier's own invoice number so a later call to list_bills can spot a duplicate. Layout service takes free-text lines and item takes item codes. The bill changes your books and your payables, so it asks first. 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 | Bill date. Default: today. | |
| lines | Yes | Objects with description or item_code, amount and tax_code, e.g. GST. | |
| layout | No | service or item. Default: service. | |
| due_date | No | Due date. Default: from the supplier terms. | |
| supplier_id | Yes | Supplier card ID, e.g. SUP000004. | |
| tax_inclusive | No | true if amounts include tax. Default: false. | |
| supplier_invoice_number | No | The number on the supplier's own invoice. |