create_purchase_invoice
Creates a purchase invoice and posts its general ledger entry directly, bypassing approval; use when you need immediate recording of vendor bills.
Instructions
Create a purchase invoice (creates document + GL entry, bypasses approval flow — prefer create_purchase_invoice_for_approval). Body: Vendor {Name, RegNo, CountryCode, ...}, BillNo, DocDate, DueDate, InvoiceRow[], TaxAmount[], TotalAmount; optional Attachment (same forms as create_purchase_invoice_for_approval).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_purchase_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||