API Explorer
You are viewing an old version of the API

Create invoice

Creates a draft invoice for an order created using the Orders API.

Open in API Reference

Sign In

Body

Invoice
string
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
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'
Response
// No response received yet.

Share feedback

Thanks for visiting the Square API documentation. What's on your mind?