add_bill_entry
Add a line item to a vendor bill, specifying account, description, quantity, price, and tax options. Use for unpaid bills.
Instructions
Add a line item to a vendor bill.
The bill must not be posted yet. Entries represent individual goods or services being billed.
Args:
bill_id: Bill ID (e.g., "000001").
account: Expense account path (e.g., "Expenses:Office Supplies").
description: Line item description.
quantity: Quantity as decimal string (e.g., "1", "2.5").
price: Unit price as decimal string (e.g., "50.00").
taxtable: Optional taxtable name. For vendor bills, the
tax component typically routes to an ASSET account
(input-tax credit receivable) per the taxtable's
entries.
tax_included: If true, price is gross; pretax extracted
at posting. If false (default), tax adds on top.
notes: Optional per-line notes (max 4096 bytes).
action: Optional line-type label (GnuCash convention:
"Hours", "Material", "Project").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| price | Yes | ||
| action | No | ||
| account | Yes | ||
| bill_id | Yes | ||
| quantity | Yes | ||
| taxtable | No | ||
| description | Yes | ||
| tax_included | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |