Skip to main content
Creates a draft invoice for a time window and, optionally, a single fleet. Finalize the invoice when you are ready to lock line items and collect payment.

Parameters

string
Limit the invoice to a single fleet under the account.
string
required
End of the billing window (exclusive). RFC 3339 UTC timestamp with millisecond precision, e.g. 2026-03-03T14:05:23.789Z.
string
required
Start of the billing window (inclusive). RFC 3339 UTC timestamp with millisecond precision, e.g. 2026-03-03T14:05:23.789Z.

More parameters

string
ISO-4217 currency code.
string
Optional memo that appears on the invoice.
object
Set of key-value pairs that you can attach to an object.

Returns

Returns the created invoice.