Skip to main content
GET
This endpoint is not currently used in the PayPulse app. It is available for direct API access and future use.

Authentication

All requests to this endpoint must include a valid JWT in the Authorization header.

Path parameters

string
required
The invoice type. Must be rental for this endpoint.
string
required
The unique identifier of the rental invoice to retrieve.

Response

string
A human-readable confirmation message. Example: "Invoice details retrieved successfully!"
number
HTTP status code. 200 on success, 204 when the invoice does not exist.
object | null
The full invoice item as stored in DynamoDB. null when status is 204. Fields present depend on what was parsed from the invoice PDF. Common fields include:

Error responses

Error responses follow this structure: