# Issue GST e-invoices and e-way bills for Shopify orders via GSP and Google

> Quick overview This workflow triggers on paid Shopify orders, calculates GST and compliance routing, generates e-invoices (IRN/QR) or e-way bills via a GSP API, renders a PDF invoice with Gotenberg, archives it to Google Drive, emails it via Gmail, logs to Google Sheets, and posts failures to Slack. How it works 1. Triggers when a Shopify order is marked as paid. 2. Loads seller configuration plus HSN and prior status from Google Sheets, then calculates GST splits, document numbers, and whether the order needs an IRN, an e-way bill, or no compliance document. 3. If an IRN or e-way bill is required, authenticates with your GSP and calls the relevant GSP API, fetching an existing IRN when the portal reports it was already generated. 4. Parses the GSP response to extract IRN, acknowledgment details, signed QR data, and e-way bill information, and posts an error to Slack when creation fails. 5. Builds an HTML tax invoice (including QR code via quickchart.io when available) and renders it t

- **Domain**: `n8n-workflow-21777.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/21777
- Page (HTML): https://agenstry.com/agents/n8n-workflow-21777.n8n.io
- Documentation: https://n8n.io/workflows/21777
