uses
GNREClientX_TLB;
var
GNRE: TspdGNREClientX;
begin
GNRE := TspdGNREClientX.Create(nil);
try
GNRE.ConfigurarSoftwareHouse('29062609000177', '{seu-token}');
GNRE.Ambiente := 2; // 1=Production, 2=Staging
GNRE.CpfCnpjEmpregador := '29062609000177';
GNRE.NomeCertificado := 'CN=EMPRESA TESTE';
GNRE.Arquivo := 'gnre.tx2'; // TX2 generated from NF-e XML
GNRE.EmitirGNRE; // generates XML + sends to state WebService
GNRE.ConsultarGNRE; // receipt + authorization status
GNRE.ImprimirGNRE; // print-ready PDF
finally
GNRE.Free;
end;
end;
Designed to provide a smooth implementation in various development environments.
Ongoing maintenance to ensure compliance with frequent changes in legislation.
Error responses are clearly decoded, speeding up precise corrections.
Developer-to-developer technical support to guide your integration and assist with Brazilian tax authority rules.
GNR-e (Guia Nacional de Recolhimento de Tributos Estaduais) is a digital tax payment voucher used to collect state taxes (such as ICMS DIFAL and Tax Substitution/ST) in interstate sales across Brazil, ensuring goods pass through state checkpoints smoothly.
Yes. TecnoSpeed generates the GNR-e directly from the NF-e or CT-e XML file. Simply pass the file to the component and call the issuance method: it automatically identifies the document type, extracts the necessary data, and generates the corresponding tax slip for the destination state.
Yes, if your ERP issues NF-e or CT-e for interstate transactions. GNR-e is mandatory whenever ICMS must be paid by the recipient, and it is up to either the issuer's or recipient's system to generate and transmit the tax slip. Offering this feature natively prevents your clients from having to access state portals manually, adding direct value to your product.
Free content produced by those who live and breathe the fiscal world day to day.
Tax and fiscal legislation, and everything a developer needs to follow to keep software compliant — explained by experts.
Prepare your software now. Practical content for IT managers and developers to navigate the changes of the biggest tax reform in decades.