GuideLab API

Get Invoice By Order

Look up the invoice associated with a specific order. Returns the full invoice detail including items and payments.

GET
/invoices/by-order/{orderId}

Look up the invoice associated with a specific order. Returns the full invoice detail including items and payments.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

orderId*string

The order ID to look up the invoice for

Response Body

application/json

curl -X GET "https://example.com/invoices/by-order/550e8400-e29b-41d4-a716-446655440000"
{  "id": "string",  "invoiceNumber": "string",  "property1": null,  "property2": null}
Empty