Save a Invoice to the Finished Order

Save a Invoice to the Finished Order

flavio_ns
Excursionist
16 0 2

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?

Replies 4 (4)

Promer
Shopify Partner
312 16 92

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.

- Was my answer helpful? Please hit Like or Mark it as solution!
- Promer AI: AI-powered CRO Agents audit stores, uncover conversion blockers & bulk-generate high-impact content.
- Start your FREE trial today!
flavio_ns
Excursionist
16 0 2

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?

Promer
Shopify Partner
312 16 92

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.

- Was my answer helpful? Please hit Like or Mark it as solution!
- Promer AI: AI-powered CRO Agents audit stores, uncover conversion blockers & bulk-generate high-impact content.
- Start your FREE trial today!
flavio_ns
Excursionist
16 0 2

I'll try, thanks!