MCP Server for QuickBooks Online

Build 25.0.9440

RefundReceipts

Represents customer refund receipts at the header level, including customer information, refund method, and total amount refunded.

Table Specific Information

RefundReceipts may be inserted, queried, or updated via the RefundReceipts or RefundReceiptLineItems tables. RefundReceipts may be deleted by using the RefundReceipts table.

Select

All filterable columns support the following operators:

  • =
  • !=
  • >=
  • <=
  • >
  • <
  • IN
  • LIKE
  • CONTAINS

Insert

To add a RefundReceipt, specify a Customer, DepositToAccount and at least one Line Item. The LineAggregate column may be used to specify an XML aggregate of Line Item data. Each _ denotes hierarchy. Use <Line> at the base level. The contents of LineAggregate will be sent to the API as is. All values for each field in the aggregate should adhere to the API's specifications (e.g. for dates in format yyyy-MM-dd, for date times in format yyyy-MM-dd'T'HH:mm:sszzz). The columns that may be used in the aggregates begin with the prefix 'Line_' to indicate they are part of the line item. Use the Line_ column along with the DocNumber to indicate which lines go with which RefundReceipt. For example:

INSERT INTO RefundReceipts (CustomerRef, DepositToAccountRef, LineAggregate) 
VALUES ('15', '35',
<Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>2</ItemRef></SalesItemLineDetail></Line>
<Line><Amount>0.02</Amount><DetailType>SalesItemLineDetail</DetailType><SalesItemLineDetail><ItemRef>3</ItemRef></SalesItemLineDetail></Line>
')

Columns

Name Type ReadOnly References Filterable Sortable Description
Id [KEY] String True True True

The unique identifier (Id) that is assigned by QuickBooks Online to this refund-receipt transaction. It is used to retrieve or reference the refund receipt programmatically and is required for updates or deletions.

SyncToken String True False False

The version control token for this refund-receipt transaction that is used to prevent conflicting updates. QuickBooks Online increments this token each time the transaction is modified, and only the latest token is accepted for edits.

MetaData_CreateTime Datetime True True True

The date and time stamp (Coordinated Universal Time) when QuickBooks Online created this refund-receipt record.

MetaData_LastUpdatedTime Datetime True True True

The date and time stamp (Coordinated Universal Time) when this refund-receipt record was last modified in QuickBooks Online.

CustomFieldAggregate String False False False

An XML aggregate that is serialized into a single string containing all custom field information that is defined for this refund receipt. This collection can include multiple CustomField elements with Name, Type, StringValue, and other sub-elements.

DocNumber String False True True

The reference number that is assigned to the refund-receipt transaction. If no number is provided, QuickBooks Online assigns the next number in sequence according to the company's numbering preferences.

TxnDate Date False True True

The posting date that is entered by the user when this refund-receipt transaction occurred. This date determines the accounting period and can differ from the creation date.

PrivateNote String False False False

An internal note recorded on this refund-receipt transaction that is intended for internal use and does not appear on customer-facing forms by default.

LinkedTxnAggregate String False False False

An XML aggregate that is serialized into a single string representing all transactions that are linked to this refund receipt. Each LinkedTxn element typically includes the Id, Type, and an optional sequence number of the related transaction such as an Invoice or Payment. This collection enables you to view or maintain the cross-references that are used by QuickBooks Online to apply the refund receipt to one or more other transactions.

LineAggregate String False False False

An XML aggregate that is serialized into a single string representing all line items that are associated with this refund-receipt transaction. Each line element typically includes Line/Id, Line/LineNum, Line/Amount, Line/DetailType, and Line/Description, as well as nested detail elements such as SalesItemLineDetail.

TxnTaxDetail_TxnTaxCodeRef String False

TaxCodes.Id

False False

The unique Id of the overall tax code that is applied to the refund-receipt transaction.

TxnTaxDetail_TotalTax String False False False

The total tax amount that QuickBooks Online calculates for the refund-receipt transaction, excluding any tax lines that are manually inserted into the transaction line list.

TxnTaxDetail_TaxLineAggregate String False False False

An XML aggregate that is serialized into a single string representing all tax line items that QuickBooks Online calculates or applies to this refund-receipt transaction.

CustomerRef String False

Customers.Id

True False

The unique Id of the customer that is linked to this refund-receipt transaction.

CustomerRef_Name String True

Customers.DisplayName

False False

The display name of the customer that is linked to this refund-receipt transaction.

CustomerMemo String False False False

The message that is entered for the customer and that appears on the refund receipt and in the printed or emailed copy.

BillAddr_Id String False False False

The unique Id of the billing-address entity that is assigned by QuickBooks Online and that is used when modifying the address.

BillAddr_Line1 String False False False

The first line of the billing address that is entered for the customer.

BillAddr_Line2 String False False False

The second line of the billing address that is entered for the customer.

BillAddr_Line3 String False False False

The third line of the billing address that is entered for the customer.

BillAddr_Line4 String False False False

The fourth line of the billing address that is entered for the customer.

BillAddr_Line5 String False False False

The fifth line of the billing address that is entered for the customer.

BillAddr_City String False False False

The city name that is entered for the billing address.

BillAddr_Country String False False False

The country name that is entered for the billing address.

BillAddr_CountrySubDivisionCode String False False False

The region within the country for the billing address. For example, this value is the state name for the USA and the province name for Canada.

BillAddr_PostalCode String False False False

The postal code that is entered for the billing address. For example, this value is the ZIP code for the USA and the postal code for Canada.

BillAddr_Lat String False False False

The latitude coordinate that is associated with the geocoded billing address when location data is available.

BillAddr_Long String False False False

The longitude coordinate that is associated with the geocoded billing address when location data is available.

ShipAddr_Id String False False False

The unique Id of the shipping address entity that is assigned by QuickBooks Online and that is used when modifying the address.

ShipAddr_Line1 String False False False

The first line of the shipping address that is entered for the customer.

ShipAddr_Line2 String False False False

The second line of the shipping address that is entered for the customer.

ShipAddr_Line3 String False False False

The third line of the shipping address that is entered for the customer.

ShipAddr_Line4 String False False False

The fourth line of the shipping address that is entered for the customer.

ShipAddr_Line5 String False False False

The fifth line of the shipping address that is entered for the customer.

ShipAddr_City String False False False

The city name that is entered for the shipping address.

ShipAddr_Country String False False False

The country name that is entered for the shipping address.

ShipAddr_CountrySubDivisionCode String False False False

The region within the country for the shipping address. For example, this value is the state name for the USA and the province name for Canada.

ShipAddr_PostalCode String False False False

The postal code that is entered for the shipping address. For example, this value is the ZIP code for the USA and the postal code for Canada.

ShipAddr_Lat String False False False

The latitude coordinate that is associated with the geocoded shipping address when location data is available.

ShipAddr_Long String False False False

The longitude coordinate that is associated with the geocoded shipping address when location data is available.

ClassRef String False

Class.Id

False False

The unique Id of the class that is associated with this refund-receipt transaction for class tracking and reporting.

ClassRef_Name String True

Class.FullyQualifiedName

False False

The display name of the class that is associated with this refund-receipt transaction.

CheckPayment_CheckNum String True False False

The check number that is printed on the check and that is stored with this refund-receipt transaction.

CheckPayment_Status String False False False

The status of the check payment that is determined by QuickBooks Online service or business logic (for example, Authorized, Voided).

CheckPayment_NameOnAccount String False False False

The name of the person or entity that is holding the account, as printed on the check.

CheckPayment_AcctNum String False False False

The checking account number that is printed on the check and that is recorded with this refund-receipt transaction.

CheckPayment_BankName String True False False

The name of the bank on which the check was drawn.

CreditCardPayment_CreditChargeInfo_Type String False False False

The type of credit card that is used for this payment transaction (for example, Visa, MasterCard, Amex).

CreditCardPayment_CreditChargeInfo_NameOnAcct String False False False

The name of the account holder that is printed on the card.

CreditCardPayment_CreditChargeInfo_CcExpiryMonth Integer False False False

The expiration month of the credit card as printed on the card.

CreditCardPayment_CreditChargeInfo_CcExpiryYear Integer False False False

The four-digit expiration year of the credit card as printed on the card.

CreditCardPayment_CreditChargeInfo_BillAddrStreet String False False False

The street line of the billing address of the credit-card holder that is used to validate or process the transaction.

CreditCardPayment_CreditChargeInfo_PostalCode String False False False

The postal code of the billing address of the credit-card holder. For example, this value is the ZIP code for the USA and the postal code for Canada.

CreditCardPayment_CreditChargeInfo_Amount Decimal False False False

The amount that is processed using the credit card for this refund-receipt transaction.

CreditCardPayment_CreditChargeInfo_ProcessPayment Boolean False False False

Indicates whether QuickBooks Online is to store only the credit card information (false or no value) or to store the credit card payment transaction information in the CreditChargeResponse aggregate (true).

CreditCardPayment_CreditChargeResponse_Status String False False False

Indicates the status of the payment transaction that is returned from the processor. Possible values include Completed and Unknown.

ShipDate Date False False False

The date that is entered for the delivery of goods or services associated with this refund-receipt transaction.

TotalAmt Decimal True True True

The total amount of the refund-receipt transaction. This amount includes the total of all charges, allowances, and taxes applied within the transaction.

ApplyTaxAfterDiscount Boolean False False False

Indicates whether QuickBooks Online applies discounts before or after calculating tax on this refund-receipt transaction.

DepartmentRef String False

Departments.Id

False False

The unique Id of the department that is linked to this refund-receipt transaction when location tracking is enabled in QuickBooks Online.

DepartmentRef_Name String True

Departments.Name

False False

The display name of the department that is linked to this refund-receipt transaction when location tracking is enabled in QuickBooks Online.

PrintStatus String False False False

The print status of the refund-receipt transaction (for example, NotSet, NeedToPrint, PrintComplete).

The allowed values are NotSet, NeedToPrint, PrintComplete.

BillEmail_Address String False False False

The email address where the refund receipt is sent. If the value of the EmailStatus attribute is NeedToSend, the billing email address is required.

Balance Decimal False False False

The remaining balance that is associated with this refund-receipt transaction. This field can indicate whether the transaction is a finance charge when applicable.

PaymentMethodRef String False

PaymentMethods.Id

False False

The unique Id of the payment method that is associated with this refund-receipt transaction.

PaymentMethodRef_Name String True

PaymentMethods.Name

False False

The display name of the payment method that is associated with this refund-receipt transaction.

PaymentRefNum String False False False

The reference number that is provided for the payment received on this refund-receipt transaction.

PaymentType String False False False

The type of payment that is used for the refund-receipt transaction (for example, Cash, Check, CreditCard).

The allowed values are Cash, Check, CreditCard, Other.

DepositToAccountRef String False

Accounts.Id

False False

The unique Id of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account.

DepositToAccountRef_Name String True

Accounts.Name

False False

The display name of the asset account where the payment money is deposited. If you do not specify this account, QuickBooks Online uses the Undeposited Funds account.

CurrencyRef String False False False

The unique Id of the currency that is used in the refund-receipt transaction.

CurrencyRef_Name String True False False

The display name of the currency that is used in the refund-receipt transaction.

ExchangeRate Decimal False False False

The currency exchange rate that QuickBooks Online applies to convert this refund-receipt transaction amount to the home currency. This field is valid only if the company file is set up to use the multicurrency feature. In QuickBooks Online, exchange rates are always recorded as the number of home currency units it takes to equal one foreign currency unit. This field is available for the UK, AU, and CA editions.

GlobalTaxCalculation String False False False

The method by which QuickBooks Online applies sales tax to this refund-receipt transaction. This field is valid in the UK, AU, and CA editions.

The allowed values are TaxExcluded, TaxInclusive, NotApplicable.

HomeTotalAmt Decimal True False False

The total amount of the refund-receipt transaction in the home currency. This amount includes the total of all charges, allowances, and taxes applied within the transaction. This field is valid in the UK, AU, and CA editions.

TransactionLocationType String False False False

The account location type that is used in this refund-receipt transaction. This field is valid only in the FR editions.

The allowed values are WithinFrance, FranceOverseas, OutsideFranceWithEU, OutsideEU.

ProjectRef String False True False

The unique Id of the project that is associated with this refund-receipt transaction.

RecurDataRef String True False False

The unique Id of the reference to the recurring transaction template from which this refund receipt was created. This Id captures from which recurring transaction template the refund receipt originated.

TaxExemptionRef String True False False

The unique Id of the tax-exemption certificate for the customer that is associated with this refund-receipt transaction. This Id is typically issued by the state or tax authority.

TxnSource String True False False

The field that is used internally by QuickBooks Online to specify the originating source of a credit-card transaction.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440