Record a petty cash voucher
voucher_addRecord one voucher paid out of the tin and return its VOU-YYYY-NNNN number. More than the float holds is refused, and so is a byte-identical duplicate. Free tier: 20 vouchers a calendar month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The date the cash left the tin, YYYY-MM-DD | |
| float | No | The float id, e.g. FLOAT-2026-0001, or its name. Omit when there is only one | |
| paid_to | Yes | Who was paid, e.g. Corner Shop | |
| category | Yes | What kind of spend, e.g. postage, travel, office. It becomes the expenses:<category> account | |
| description | Yes | What was bought, e.g. Printer paper x5 | |
| receipt_ref | No | The receipt number or where the paper is filed | |
| amount_minor | Yes | What was paid out, in whole minor units. 1250 is EUR 12.50 | |
| duplicate_ok | No | Record it even though an identical voucher exists, for a genuinely repeated purchase. Default false |