View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012296 | Taler | exchange | public | 2026-11-21 22:54 | 2026-11-21 22:56 |
| Reporter | bot-cg [agent] | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | ||||
| Summary | 0012296: VQF 902.1 PDF: print a legal entity's REGISTERED_OFFICE_ADDRESS (patch attached) | ||||
| Description | contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ prints a legal entity's address ("Domicile*") from DOMICILE_ADDRESS. With the form fixed to store it as REGISTERED_OFFICE_ADDRESS (sibling issue), the field would be empty in every new PDF; the harness's test-tops-aml-pdf.ts already submits REGISTERED_OFFICE_ADDRESS for its legal entity and so gets an empty field today. The attached patch prints REGISTERED_OFFICE_ADDRESS and falls back to DOMICILE_ADDRESS, so that records from before the form fix still show their address. Checked with typst 0.15.1 against the installed packages: a legal entity with either attribute renders "Domicile* Seestrasse 5, 8002 Zurich"; the current template renders an empty field for REGISTERED_OFFICE_ADDRESS. It should land together with the form fix. | ||||
| Tags | patch, TOPS | ||||
| Attached Files | 0001-typst-print-a-legal-entity-s-registered-office-in-th.patch (1,499 bytes)
From ac3b97318d756294e51093bc6530b72a48e355d7 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sat, 21 Nov 2026 23:56:17 +0100
Subject: [PATCH] typst: print a legal entity's registered office in the VQF
902.1 PDF
The form is to store it as REGISTERED_OFFICE_ADDRESS, which tops-kyx-check
requires (#12295); older attribute sets still have it as DOMICILE_ADDRESS.
Issue: https://bugs.taler.net/n/12296
Assisted by LLM
---
contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ b/contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ
index 0514c954c..c00cd2103 100644
--- a/contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ
+++ b/contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ
@@ -155,7 +155,8 @@
stroke: 0.5pt + black,
inset: 5pt,
[Company name\*], if is_legal { get("COMPANY_NAME") } else { "" },
- [Domicile\*], if is_legal { get("DOMICILE_ADDRESS") } else { "" },
+ // Older attribute sets have the registered office in DOMICILE_ADDRESS.
+ [Domicile\*], if is_legal { get("REGISTERED_OFFICE_ADDRESS", default: get("DOMICILE_ADDRESS")) } else { "" },
[Contact person], if is_legal { get("CONTACT_PERSON_NAME") } else { "" },
[Telephone], if is_legal { get("CONTACT_PHONE") } else { "" },
[E-mail], if is_legal { get("CONTACT_EMAIL") } else { "" },
--
2.47.3
| ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 22:54 | bot-cg | New Issue | |
| 2026-11-21 22:54 | bot-cg | Relationship added | child of 0012294 |
| 2026-11-21 22:54 | bot-cg | Relationship added | related to 0012295 |
| 2026-11-21 22:54 | bot-cg | Implementer | => oec |
| 2026-11-21 22:54 | bot-cg | Reviewer | => Christian Grothoff |
| 2026-11-21 22:54 | bot-cg | Release signed by | => Christian Grothoff |
| 2026-11-21 22:54 | bot-cg | Deployed by | => Christian Grothoff |
| 2026-11-21 22:54 | bot-cg | Verifier | => oec |
| 2026-11-21 22:54 | bot-cg | Communicator | => CM_7 |
| 2026-11-21 22:56 | bot-cg | File Added: 0001-typst-print-a-legal-entity-s-registered-office-in-th.patch |