Create invoice

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Create a new invoice for a customer. Invoices can be created manually for one-time charges or custom billing scenarios outside of the normal subscription cycle.

Example: Create a manual invoice for a customer who requested additional services not covered by their subscription.


Conditional Requirements

ConditionRequired Fields
Alwayscustomer_id OR customer_old_provider_id (at least one)
Alwayscurrency
No line_items providedtotal
line_items providedline_items.*.unit_price, line_items.*.quantity
line_items.*.tax_name is setline_items.*.tax_rate
line_items.*.tax_rate is setline_items.*.tax_name
Both customer_id AND customer_old_provider_id are setMust reference the same customer
Both subscription_id AND subscription_old_provider_id are setMust reference the same subscription
Query Params
int32
required
Body Params
string
required
line_items
array of objects
required
line_items*
int32
int32
string
date-time
date-time
date-time
string
enum
Allowed:
string
enum
Allowed:
int32
string
customer_address
object
int32
customer_shipping
object
int32
boolean
Defaults to false
metadata
object
string
int32
string
Headers
string
required
Defaults to Bearer eyJ***
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json