Invoice Endpoints
Defines the API endpoints available for invoice operations.
Each case maps to a specific URL path, HTTP method, and optional query parameters used by the networking layer to construct requests.
Inheritors
Types
Link copied to clipboard
Endpoint for creating a new invoice (POST /v1/invoices).
Link copied to clipboard
Endpoint for deleting an invoice (DELETE /v1/invoices/{invoiceId}).
Link copied to clipboard
data class GetInvoices(val perPage: Int? = null, val page: Int? = null, val customer: String? = null, val account: String? = null, val status: InvoiceStatus? = null) : InvoiceEndpoints
Endpoint for retrieving a paginated, optionally filtered list of invoices (GET /v1/invoices).
Link copied to clipboard
Endpoint for retrieving a single invoice by identifier (GET /v1/invoices/{invoiceId}).
Link copied to clipboard
Endpoint for issuing a draft invoice to the customer (POST /v1/invoices/{invoiceId}/issue).
Link copied to clipboard
Endpoint for updating an existing invoice (PATCH /v1/invoices/{invoiceId}).