create_voucher
Create an employee expense voucher to reimburse out-of-pocket business expenses, recording the obligation and enabling payment from cash.
Instructions
Create an employee expense voucher.
A voucher is the document an employee submits for reimbursement of out-of-pocket business expenses. It behaves like a vendor bill: post creates the obligation (debit expense accounts, credit A/P), pay settles it from a cash account.
Args: employee_id: Employee ID (e.g., "000001"). date_opened: Date in ISO format (YYYY-MM-DD). Defaults to today. notes: Optional notes. currency: ISO currency code. Defaults to the employee's currency, falling back to the book's default. term: Billterm name (e.g., "Net 30"). Optional — vouchers rarely use payment terms. voucher_id: Custom voucher number. If omitted, auto-generates from the book's voucher counter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | ||
| notes | No | ||
| currency | No | ||
| voucher_id | No | ||
| date_opened | No | ||
| employee_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |