Skip to content

feat: expose searchable national service catalog - #93

Merged
vitormattos merged 1 commit into
mainfrom
feat/337-search-national-services
Oct 8, 2026
Merged

vitormattos merged 1 commit into
mainfrom
feat/337-search-national-services

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Adds the library API needed by LibreCodeCoop/akaunting-nfse#337 to present cTribNac as a searchable official catalog instead of a free-text field.

  • adds OfficialDomainCatalog::searchNationalServices();
  • searches by code or description;
  • preserves deterministic catalog ordering;
  • bounds result size;
  • adds unit coverage for code, description, limits, and full catalog cardinality.

This deliberately exposes only the official national-service catalog. It does not infer LC 116 -> cTribNac.

Related: LibreCodeCoop/akaunting-nfse#337

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 02f0443 into main Oct 8, 2026
11 checks passed
@vitormattos
vitormattos deleted the feat/337-search-national-services branch October 8, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant