POST
/
invoices

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
required

The total amount of the invoice

billingCycle
object
required

The billing cycle of the invoice, consists of a start and end date

customerId
string
required

The id of the customer that the invoice is associated with

lineItems
object[]
required
name
string
required

The name of the invoice, usually a description of the billing period

Minimum length: 1
contractId
string

The id of the contract that the invoice is associated with

Response

200 - application/json
invoice
object
required