get_voucher
Read one bookkeeping voucher by id or document number to retrieve booked amounts, tax type, line posting categories, contact, and version.
Instructions
Read one bookkeeping voucher, by id or by its document number.
One API call. Returns the booked amounts, tax type, the posting
category of every line, the contact and the version.
Prefer the id. A number is unique only by convention, and
search_vouchers finds one across every document type.
For whether it has been paid, use get_payments with the same id.
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": "get_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voucher_id | No | The voucher's Lexware id, from search_vouchers. Give this or voucher_number, not both. | |
| voucher_number | No | The number printed on the document, for example 'RE-2026-014'. Use this when that is all you have. |