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
Endpoint for creating a new invoice (POST /v1/invoices).
Endpoint for deleting an invoice (DELETE /v1/invoices/{invoiceId}).
Endpoint for retrieving a paginated, optionally filtered list of invoices (GET /v1/invoices).
Endpoint for retrieving a single invoice by identifier (GET /v1/invoices/{invoiceId}).
Endpoint for issuing a draft invoice to the customer (POST /v1/invoices/{invoiceId}/issue).
Endpoint for updating an existing invoice (PATCH /v1/invoices/{invoiceId}).
Properties
Optional extra HTTP headers to attach to the request (e.g. Accept: application/json). Defaults to empty. Applied after the standard Frame Authorization/User-Agent headers but before Content-Type (set on POST/PATCH), so an entry may override the former but not the latter. Prefer supplemental headers like Accept; don't rely on this to set auth headers.
The URL path for this endpoint.
The HTTP method for this endpoint.
The query parameters to append to the request URL, or null if none apply.