Skip to content

Fix/Update webservice routes for AM NFCe#447

Open
Adrianordp wants to merge 2 commits intoTadaSoftware:mainfrom
Adrianordp:fix/Update-webservice-routes-for-AM-NFCe
Open

Fix/Update webservice routes for AM NFCe#447
Adrianordp wants to merge 2 commits intoTadaSoftware:mainfrom
Adrianordp:fix/Update-webservice-routes-for-AM-NFCe

Conversation

@Adrianordp
Copy link

@Adrianordp Adrianordp commented Feb 12, 2026

This pull request introduces important updates to the handling of NFC-e (Nota Fiscal de Consumidor Eletrônica) web service URLs and QR code generation logic for the state of Amazonas (AM). The changes ensure correct URL construction for both production and homologation environments and address the distinct behavior required by AM for QR code and URL generation.

Updates to web service URLs and QR code logic for AM:

Webservice URL and Protocol Updates

  • Updated the URLs for all NFC-e web services in AM from the old nfe.sefaz.am.gov.br domain to the correct nfce.sefaz.am.gov.br domain, ensuring requests are sent to the proper endpoints. Also switched the protocol from http to https for both production and homologation environments for improved security[1][2][3].
  • Added a specific QR_HOMOLOGACAO entry for the AM state to distinguish between production and homologation QR code endpoints[4].

QR Code and URL Generation Logic

  • Modified the QR code and URL generation logic in gerar_qrcode to handle AM's distinct requirements: now, the correct QR code and URL are constructed based on whether the environment is production or homologation. This ensures compliance with AM's NFC-e implementation.

@Adrianordp Adrianordp force-pushed the fix/Update-webservice-routes-for-AM-NFCe branch from 01b7938 to 1f31a50 Compare February 13, 2026 02:31
@Adrianordp Adrianordp force-pushed the fix/Update-webservice-routes-for-AM-NFCe branch from 1f31a50 to 6f8f923 Compare February 13, 2026 03:02
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.

2 participants