Add CUIT label for Argentine tax IDs#104
Merged
methodofaction merged 1 commit intomainfrom Apr 27, 2026
Merged
Conversation
Argentine parties were rendering with the generic "TIN" fallback label. Add an "AR" case to taxIDLabel so they display "CUIT" instead, matching the local convention. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds an Argentina-specific tax ID label so Argentine parties no longer fall back to the generic “TIN” label, aligning rendered documents with local convention (“CUIT”).
Changes:
- Add
ARhandling intaxIDLabelto returnCUIT. - Regenerate
party_templ.gofromparty.templ. - Update the three Argentina (ARCA) HTML example snapshots to reflect the new label.
Reviewed changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| examples/out/ar-arca-liquido-producto.html | Snapshot update: “TIN” → “CUIT” for AR tax IDs. |
| examples/out/ar-arca-invoice.html | Snapshot update: “TIN” → “CUIT” for AR tax IDs. |
| examples/out/ar-arca-invoice-logo.html | Snapshot update: “TIN” → “CUIT” for AR tax IDs. |
| components/org/party_templ.go | Generated output updated to include the new AR → CUIT switch case. |
| components/org/party.templ | Source template updated: add AR → CUIT tax ID label. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes APP-471
Summary
taxIDLabel. Added anARcase so they display CUIT, matching local convention.party_templ.goviatempl generateand updated the threear-arca-*example snapshots accordingly.Note: the linked Linear issue also mentions IIBB and a missing state — this PR only addresses the CUIT label. Those remain to be tackled.
Test plan
go build ./...go test ./...🤖 Generated with Claude Code