Payment QR for an invoice
invoice_payment_qrGenerate a SEPA payment QR code from an amount and reference using your shared business profile, or pass an invoice ID to read the amount from an invoice.
Instructions
Call this tool for a SEPA payment QR from just an amount and reference: IBAN and name are read from the shared business profile, never asked for; pass invoice_id instead to take the amount from an invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | Override the IBAN in the shared business profile | |
| name | No | Override the beneficiary name in the shared business profile | |
| size | No | PNG width in pixels, 32 to 4000 (default 300). SVG scales without it | |
| amount | No | Amount in EUR. Overrides the invoice total; required when there is no invoice to read | |
| format | No | svg (default, free) or png (Pro) | |
| margin | No | Quiet zone in modules, default 4, which is what the QR standard requires | |
| out_path | No | Where to write the file. SVG is returned inline when this is left out; PNG always needs it | |
| overwrite | No | Replace out_path if it already exists (default false) | |
| reference | No | Payment text, up to 140 characters. Defaults to the invoice number | |
| invoice_id | No | Invoice number, for example INV-2026-0007. Read from the invoice server's store if it is present | |
| error_correction | No | L 7%, M 15% (default), Q 25%, H 30% of the code recoverable when damaged |