Invoices

Create invoice

Creates a new invoice and sends it to the customer via email

post/invoices

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/invoices
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

customer_namestring nullable
email_addressstring nullable
descriptionstring nullable
customerstring nullable

Customer ID

price_variantstring nullable

Price variant ID

due_atstring date-time

Response

Invoice created

idstring required
objectstring required
status'open' | 'paid' | 'past_due' | 'void' required
numberstring required
descriptionstring nullable required
customer_namestring nullable required
email_addressstring nullable required
collection_method'send_invoice' | 'charge_automatically' required
due_atstring date-time required
created_atstring date-time required
updated_atstring date-time required
checkout_urlstring nullable required
amountnumber nullable required
currencystring nullable required
paid_atstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.