App reviews, troubleshooting, and recommendations
Hey, good day,
Good day, I have a question about how Shopify works (mainly with regard to requisitions and GraphQL). After finalizing an order, I create a system to generate invoices for the order. Does Shopify generate the invoice automatically? If it doesn't, how can I send the invoice JSON for the specific order via GraphQL?
Hi @flavio_ns
Shopify doesn’t generate invoices automatically for completed orders unless you’re using Shopify Plus with custom automation. However, you can generate invoices using the Draft Orders API or a third-party invoicing app like Sufio or Order Printer Pro.
Yeah but, i already got a Invoice generation here that creates it (XML and etcetera), how i can set the Order to the Invoice i got?
Hmm, you can link your generated invoice to the order using Shopify's Order Metafields or Order Notes. With the GraphQL Admin API, you can store your invoice data (JSON, XML, or a URL) inside a metafield attached to the order. This way, the invoice stays linked and accessible. If you need the invoice to be visible to customers, you can also send it via the Order Email using a custom app or automation.
I'll try, thanks!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025