From 52ec1689908fa581fcee067257be22459e3d1980 Mon Sep 17 00:00:00 2001 From: Senad Date: Tue, 28 Apr 2026 22:43:36 +0200 Subject: [PATCH] Add VAT ID and Bosnia and Herzegovina country line to supplier block Co-Authored-By: Claude Opus 4.7 (1M context) --- invoicer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invoicer.py b/invoicer.py index 609515d..ba4a4e2 100644 --- a/invoicer.py +++ b/invoicer.py @@ -17,8 +17,9 @@ from reportlab.pdfgen import canvas SUPPLIER = { "name": "Kompanija Broj 4 D.O.O.", - "address_lines": ["Hakije Turajlica 2", "71000 Sarajevo"], + "address_lines": ["Hakije Turajlica 2", "71000 Sarajevo", "Bosnia and Herzegovina"], "tax_id": "4202962240000", + "vat_id": "202962240000", } CUSTOMER = { @@ -205,6 +206,8 @@ def render_pdf(inv: InvoiceInputs, output_path: Path) -> None: c.drawString(margin_l, y, line) y -= 12 c.drawString(margin_l, y, f"TAX ID: {SUPPLIER['tax_id']}") + y -= 12 + c.drawString(margin_l, y, f"VAT ID: {SUPPLIER['vat_id']}") y -= 24 bill_top = y