---
title: "Create a Refund"
method: POST
path: "/v2/accounting/refunds"
tags: ["Refunds"]
---

# Create a Refund

`POST /v2/accounting/refunds`

**Supported for:**

`quickbooks` `xero` `oracleNetsuite` `myob`

## Request body

- PushRefundV2Dto
  - `connectionUuid` string, required — Unique connection identifier.
  - `data` PushRefundDataV2, required
    - `passThrough` object
    - `currencyRate` number
    - `totalAmount` number, float
    - `memo` string
    - `postedDate` string, date
    - `customerRef` CustomerRefDto
      - `id` string, required
    - `accountRef` AccountRefDto, required
      - `id` string, required
    - `currency` string
    - `lines` PushRefundLineV2[]
      - `description` string
      - `inventoryRef` InventoryRefDto
        - `id` string, required
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `amount` number, float, required
      - `unitAmount` number, float
      - `quantity` number, float
      - `discountPercentage` number, float
      - `accountRef` AccountRefDto
        - `id` string, required
      - `trackingCategoryRefs` RefundTrackingCategoryRefDto[]
        - `id` string, required
        - `type` 'class' | 'department' | 'location' | 'unknown'
      - `links` PushRefundLineLinkV2[]
        - `id` string, required

## Response `200`

- PushRefundResponseV2Dto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `pushCommunicationId` string, required
  - `requestedOn` string, date-time, required
  - `status` 'success' | 'failed' | 'pending', required
  - `data` PushRefundDataV2, required
    - `passThrough` object
    - `currencyRate` number
    - `totalAmount` number, float
    - `memo` string
    - `postedDate` string, date
    - `customerRef` CustomerRefDto
      - `id` string, required
    - `accountRef` AccountRefDto, required
      - `id` string, required
    - `currency` string
    - `lines` PushRefundLineV2[]
      - `description` string
      - `inventoryRef` InventoryRefDto
        - `id` string, required
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `amount` number, float, required
      - `unitAmount` number, float
      - `quantity` number, float
      - `discountPercentage` number, float
      - `accountRef` AccountRefDto
        - `id` string, required
      - `trackingCategoryRefs` RefundTrackingCategoryRefDto[]
        - `id` string, required
        - `type` 'class' | 'department' | 'location' | 'unknown'
      - `links` PushRefundLineLinkV2[]
        - `id` string, required

## Other responses

- `400` — Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401` — Unauthorized - Not logged in or log in expired
- `403` — Forbidden - Not enough permission
- `500` — Server Error

---

[API](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api.md) · [All operations](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/railz/fis-accounting-data-as-a-service-api/revisions/5cdfae3fa1fa/schema)
