---
title: "Re-send the receipt email"
method: POST
path: "/gateway/invoices/{invoiceId}/send-receipt"
tags: ["Invoices"]
---

# Re-send the receipt email

`POST /gateway/invoices/{invoiceId}/send-receipt`

## Request

- Base URL: `https://api.agentaos.ai/api/v1`
- URL: `https://api.agentaos.ai/api/v1/gateway/invoices/{invoiceId}/send-receipt`
- Auth: API key in header `x-api-key`

Sends the paid receipt to the buyer email on file. Only works for a `paid` invoice with a `buyer_email`: returns `400` otherwise.

## Path parameters

- `invoiceId` string, uuid, required

## Response `200`

The receipt email was sent.

- SendReceiptResponse
  - `ok` true, required
  - `sentTo` string, email, required

## Other responses

- `400`: A required field is missing, out of range, or the wrong type. `ValidationPipe` also rejects any field not in the documented schema.
- `401`: Missing or invalid `x-api-key`.
- `403`: The key is valid but the resource belongs to a different organization.
- `404`: Resource not found (or not visible to your key; the two are not distinguished).

---

[API](https://skmtc.dev/agentaos/apis/agentaos-gateway-api.md) · [All operations](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/revisions/3a8ad3c6b965?raw)
