Spedy integration (invoices)
How to connect Spedy to ggCheckout to issue NF-e and NFS-e automatically after every approved sale
Issuing invoices with Spedy:
With Spedy connected, ggCheckout issues the invoice (NF-e for physical products, NFS-e for services) in your Spedy account as soon as the sale is approved. Your CNPJ remains the official issuer, with the digital certificate and tax regime registered in Spedy.
Requirements
In the Spedy dashboard (spedy.com.br):
- Create your Spedy account
- Register the company's A1 digital certificate
- Complete the company data: tax regime (CRT), state registration (required for NF-e) and municipal registration (required for NFS-e)
- Configure product taxation: NF-e requires NCM, CFOP and unit of measure; NFS-e requires a service code (federal LC 116/03 or municipal)
- Copy your API Key
Step 1: Connect Spedy
In the ggCheckout dashboard:
- Go to "Tools" → "ERP System"
- On the Spedy card, click "Install"
- Paste the key into the "API Key" field
- Under "Environment", choose "Production" (use "Sandbox" only for testing)
- Click "Connect"
ggCheckout validates the key and registers the webhooks in Spedy automatically. When done, the status shows as "Connected", with the company's CNPJ and legal name.
If you see the warning "Configure your company in Spedy before enabling issuance", fill in the listed fields in the Spedy dashboard and refresh the page.
Step 2: Link your products
On the Spedy card, under "Tools" → "ERP System", click "Configure". Each ggCheckout product must be linked to a Spedy product.
Choose one of the options:
- Import from Spedy: on the "Import products from Spedy" card, click "Import" and select the products. They are created in ggCheckout already linked
- Link an existing product: in the product list, click "Link with Spedy" and pick the matching product
- Create it in Spedy from ggCheckout: if the product does not exist in Spedy yet, click "Create this product in Spedy". It is created with the ggCheckout name, price and type, and you complete the taxation in Spedy afterwards
Step 3: Enable issuance
In the product list:
- Turn on "Emit invoice" for each product (or use "Enable emission for all")
- Keep "Issue automatically when payment is received" on so the invoice goes out by itself on every approved sale
- Click "Save changes"
The issuance toggle is blocked when the product is not linked or has no taxation in Spedy. Hover over the warning to see what is missing.
NF-e and NFS-e
Product or service invoice, according to the Spedy registration
Automatic
Issued right after the sale is approved
API Key
Connection with your Spedy account key
Sync
Name and price checked between ggCheckout and Spedy
Important information:
Invalid key
If you see "Invalid API key", copy the API Key again from the Spedy dashboard and check that the environment (Production or Sandbox) matches the key.
Divergent data
If a product shows "Data differs from Spedy", click "Sync now" to align name and price.
Disconnecting
After disconnecting, new sales no longer issue invoices. Invoices already issued remain in Spedy.
Contact
Questions about the integration: reach ggCheckout support at suporte@ggcheckout.com.