From 30c309e15d3211e7d0e8a8a2752c3e9afa0a0638 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sat, 19 Sep 2026 12:53:03 +0200 Subject: attachments: list every link when filtering by voucher --- docs/PROTOCOL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 20617db..8ee1b2c 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -369,7 +369,8 @@ vouchers at posting time (`attachment_ids`) or afterwards via rows, and `attachment.unlink` removes one (an unlinked attachment returns to the inbox). One attachment may be linked to several vouchers (the link key is the voucher/attachment pair); linking the same pair twice is a -`CONFLICT`. +`CONFLICT`. `attachment.list` with `voucher_id` returns every attachment +linked to that voucher and each item carries that `voucher_id`. ### 7.6 Reports -- cgit v1.3