---
title: "Refund an invoice"
method: POST
path: "/{companyDomain}/customers/{customerUniqueId}/refunds"
---

# Refund an invoice

`POST /{companyDomain}/customers/{customerUniqueId}/refunds`

## Path parameters

- `companyDomain` string, required
- `customerUniqueId` string, required

## Request body

- object
  - `invoiceNumber` string, required — The invoice number associated with the invoice you want to refund
  - `amount` integer, required — The amount you would like to refund (can be partial). Amounts are unformatted so if you're using a decimal currency, you'll need to put 100 to refund $1, for example.

## Response `200`

200

---

[API](https://skmtc.net/billsby/apis/billsby-api.md) · [All operations](https://skmtc.net/billsby/apis/billsby-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/billsby/billsby-api/revisions/adcb2fd4c52f/schema)
