# Bank barcode generator > How do you make the bank barcode for an invoice? Turn an IBAN, amount, reference and due date into the 54-digit virtual barcode and its image. Make the Finnish bank barcode for an invoice from IBAN, amount, reference number and due date. Copy the 54-digit virtual barcode or download the image. A preset of [Barcode generator](https://how.box/barcode/). - Page: https://how.box/bank-barcode/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/bank-barcode/?f={f}&v={v}&iban={iban}&r={r}&sum={sum}&due={due}&vc={vc}&t={t}&x={x} - `f` (ean13, ean8, upca, code128 or fi-bank): Barcode format: ean13, ean8, upca, code128 or fi-bank. Example: `ean13`. - `v` (text): The digits or text to encode (not used by fi-bank). Example: `400638133393`. - `iban` (text): fi-bank: payee IBAN; personal, left out of links by default. Example: `FI7944052020036082`. - `r` (text): fi-bank: Finnish or RF reference; personal. Example: `868516259619897`. - `sum` (number 0 to 999999.99): fi-bank: amount in euros; personal. Example: `4883.15`. - `due` (text): fi-bank: due date YYYY-MM-DD; personal. Example: `2026-06-12`. - `vc` (text): fi-bank: a 54-digit virtual bank barcode; personal. Example: `479440520200360820048831500000000868516259619897100612`. - `t` (boolean): Print the digits under the bars (1) or not (0). Example: `true`. - `x` (number 0.25 to 1): Narrowest bar width in mm (0.25–1). Example: `0.33`. Example answer: https://how.box/bank-barcode/?f=ean13&v=400638133393&iban=FI7944052020036082&r=868516259619897&sum=4883.15&due=2026-06-12&vc=479440520200360820048831500000000868516259619897100612&t=1&x=0.33 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `barcode_make`: Make a linear barcode and show it on the page, ready to download. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"barcode_make","arguments":{"format":"ean13","value":"400638133393","iban":"FI7944052020036082","reference":"868516259619897","amount":4883.15,"due":"2026-06-12","virtual_code":"479440520200360820048831500000000868516259619897100612","digits":true,"module_mm":0.33}}}` - GET: https://how.box/mcp/run/barcode_make?format=ean13&value=400638133393&iban=FI7944052020036082&reference=868516259619897&amount=4883.15&due=2026-06-12&virtual_code=479440520200360820048831500000000868516259619897100612&digits=true&module_mm=0.33 ## How it works Finnish invoices carry a bank barcode so that the payer doesn't have to type the payment details. The same details are printed as a 54-digit virtual barcode, which can be pasted into online banking instead of scanned. The 54 digits are fixed fields one after another: a version digit (4 for a Finnish reference, 5 for an RF reference), the 16 digits of the IBAN after FI, the amount in euros and cents, the reference padded with zeros, and the due date as YYMMDD. The image is the same digits drawn as Code 128 (Finance Finland, Pankkiviivakoodi-opas). The tool checks the IBAN's and the reference's check digits, but it can't know whose account it is. Scan the printed code with a banking app before sending invoices. The amount field has eight digits, six for euros and two for cents, so a virtual barcode can hold at most 999,999.99 euros. The due date is six digits, YYMMDD: 15 March 2027 is written 270315, and six zeros mean no due date. Only Finnish accounts fit, because the IBAN part is exactly the 16 digits after FI. ## FAQ **What is the virtual barcode on a Finnish invoice?** A 54-digit number that holds the payee's IBAN, the amount, the reference and the due date. Pasted into online banking, it fills in the whole payment at once. **Should the reference be a Finnish or an RF reference?** Either works. A Finnish reference makes a version 4 barcode, an RF creditor reference with digits only a version 5 barcode. **Can the barcode be made without an amount or due date?** Yes. Leave them empty and the barcode carries zeros there; the payer then types the amount or date in the bank. **Can I make a virtual barcode for a non-Finnish account?** No. The bank barcode has room for the 16 digits that follow FI in a Finnish IBAN, so it works only for Finnish accounts. **What is the largest amount a bank barcode can carry?** 999,999.99 euros: six digits for euros and two for cents. A bigger payment has to be typed into the bank by hand. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)