Creates a draft invoice
for an order created using the Orders API.
Open in API Reference
The invoice to create.
A unique string that identifies the CreateInvoice request. If you do not
provide idempotency_key (or provide an empty string as the value), the endpoint
treats each request as independent.
For more information, see Idempotency.
curl https://connect.squareupsandbox.com/v2/invoices \
-X POST \
-H 'Square-Version: 2021-07-21' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json'
// No response received yet.
Thanks for visiting the Square API documentation. What's on your mind?