> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Invoice

> Fetch details for a single invoice by its ID.

### Authentication

Requires `X-API-KEY` header.

### Path Parameters

**id** `uuid` *required*

The unique ID of the invoice.

### Response

**id** `uuid`

The unique identifier for the invoice.

**invoice\_number** `string`

Auto-generated invoice number.

**reference\_id** `string | null`

Your own id for this invoice, as you sent it when you created the invoice. `null` if none was set.

**title** `string`

The invoice title.

**description** `string`

Optional description.

**amount** `integer`

The invoiced amount in cents (smallest currency unit).

**currency** `string`

3-letter ISO currency code.

**customer\_name** `string`

The customer's full name.

**customer\_email** `string`

The customer's email address.

**customer\_phone** `string`

The customer's phone number.

**checkout\_url** `string`

The payment URL to send to the customer.

**redirect\_url** `string`

Post-payment redirect URL.

**is\_paid** `boolean`

Whether the invoice has been paid.

**is\_expired** `boolean`

Whether the invoice has passed its expiry date. It turns `true` once the calendar day of `expires_at` has ended (India Standard Time).

**paid\_at** `datetime`

Timestamp when the invoice was paid. `null` if unpaid.

**expires\_at** `datetime`

Expiry deadline. `null` if no expiry was set.

**payment\_method\_configuration** `object | null`

The saved payment method setting, for example `{"enabled": ["card"]}`. `null` means the usual methods. See [Payment Methods](/api-reference/payment-methods.md).

**created\_at** `datetime`

Timestamp when the invoice was created.

```bash cURL
curl https://api.playto.so/v1/invoices/c3d4e5f6-a7b8-9012-cdef-123456789012/ \
  -H "X-API-KEY: sk_live_your_api_key_here"
```

```json 200
{
  "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
  "invoice_number": "INV-20240501-C3D4E5",
  "reference_id": "booking_88213",
  "title": "Website Redesign - Phase 1",
  "description": "Wireframes and initial mockups.",
  "amount": 120000,
  "currency": "USD",
  "customer_name": "Jane Smith",
  "customer_email": "jane@acme.com",
  "customer_phone": "+1 555 000 1234",
  "checkout_url": "https://app.playto.so/pay/checkout?paymentLinkId=c3d4e5f6-a7b8-9012-cdef-123456789012",
  "redirect_url": "https://yoursite.com/thank-you",
  "is_paid": false,
  "is_expired": false,
  "paid_at": null,
  "expires_at": "2027-12-31T23:59:59Z",
  "payment_method_configuration": null,
  "created_at": "2024-05-01T10:00:00Z"
}
```

```json 404
{
  "error": {
    "type": "not_found_error",
    "code": "resource_not_found",
    "message": "Invoice not found."
  }
}
```
