Refunds

The Refund object

From the Refunds endpoint, you can retrieve a list of all refunds for a specified business.

FieldTypeDescription
id
sortable, filterable
string Identifier for the refund, unique for the business in the accounting service.
customerRefReference TypesReference to the customer that was refunded.
bankAccountRefReference TypesReference to the account from which payment money is refunded. Query the Chart of Accounts endpoint to determine the appropriate Account object for this reference, where isBankAccount is true.
postedDate
sortable, filterable
string
See Date
Date on which the refund was posted to the accounting service, and had an impact on the general ledger. This may be different from the creation date.
currency stringISO-4217 currency code of the refund.
currencyRate decimalRate to convert the total amount of the transaction into the base currency for the business at the time of the transaction.
lines arrayAn array of refund line items.
totalDiscount
sortable, filterable
decimalTotal amount of discounts applied to the refund.
discountPercentage
sortable, filterable
decimalDiscount percentage applied to the refund.
subTotal
sortable, filterable
decimalAmount of the refund, inclusive of discounts but exclusive of tax.
taxAmount
sortable, filterable
decimalAmount of tax on the refund.
totalAmount
sortable, filterable
decimalTotal amount of the refund, inclusive of tax.
memo stringAny additional information or business notes about the refund.
sourceModifiedDate
sortable, filterable
string
See Date
The date on which this record was last modified in the accounting service.

Lines

FieldTypeDescription
descriptionstringDescription of the line item.
unitAmount
sortable, filterable
decimalLine item unit amount.
quantity
sortable, filterable
integerLine item quantity.
discountAmount
sortable, filterable
decimalLine item discount amount.
discountPercentage
sortable, filterable
decimalLine item discount percentage.
taxAmount
sortable, filterable
decimalLine item tax amount.
amount
sortable, filterable
decimalLine item total amount, inclusive of discounts & tax.
links
sortable, filterable
stringRefunds linked invoices.
accountRefReference TypesReference to the account the line item is linked to.
taxRateRefReference TypesReference to the tax rate the line item is linked to.
inventoryRefReference TypesReference to the product or inventory the line item is linked to.
trackingCategoryRefsReference TypesReference to the tracking categories associated with this line item, e.g. classes or departments.

Links

FieldTypeDescription
id
sortable, filterable
stringUnique identifier of the invoice represented by the link.