Types
ContractNextInvoiceDTO
A preview of a contract’s next (upcoming) invoice, resolved live from the connected billing provider.
object
ContractNextInvoiceDTOFields
amount
Total amount due on the next invoice
dueDate
DateTime
Due date for payment of the next invoice (ISO 8601)
invoiceId
String
The billing provider's ID of the draft invoice this preview describes; the same ID the customer's invoice list reports, so the full breakdown can be resolved from it
periodEnd
DateTime
The next invoice's billing period end date (ISO 8601)
periodStart
DateTime
The next invoice's billing period start date (ISO 8601)