Create a preview invoice
Requires the INVOICE.PREVIEW permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
pricing_plan_subscription_id
start_at
If not set, uses 'now' as start date
invoices_per_schedule
Number of preview invoices to generate per schedule
template_pricing_plan_subscription_idDeprecated
customer_details
pricing_plan_schedule_customizations
enabled_pricingsDeprecated
Response
OK
invoice
first_invoice
invoice_infos
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error