create_bill
Records a vendor bill payable in GnuCash, specifying vendor, date, currency, and optional notes, terms, bill number, or job.
Instructions
Create a vendor bill.
Args: vendor_id: Vendor 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 vendor's currency, falling back to the book's default. Pass explicitly to override. term: Billterm name (e.g., "Net 30"). Optional. bill_id: Custom bill number (e.g., "BILL-2026-001"). If omitted, auto-generates from the book's bill counter. job_id: Optional Job ID. When set, groups the bill under the named job. The job must belong to the same vendor and be a vendor-job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | ||
| notes | No | ||
| job_id | No | ||
| bill_id | No | ||
| currency | No | ||
| vendor_id | Yes | ||
| date_opened | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |