openintegration200+ connectors

Update refund in Sage Intacct REST

Accounting API · write, waits for approval · 100% field coverage

Your agent can update refund in Sage Intacct REST through Apideck's Accounting API, the same call it makes for every Accounting app. It changes data in the customer's Sage Intacct REST account, so it stops with the exact request until a person approves it. Apideck adds the customer's Sage Intacct REST credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

PATCH https://unify.apideck.com/accounting/refunds/{id}

Headers: x-apideck-service-id: sage-intacct-rest, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-refunds-update. Agent operation id: unified.accounting.refundsUpdate.

ParameterInDescription
id · requiredpathID of the record you are acting upon.

Body fields

FieldTypeDescription
numberstringReference number for the refund.
customerobjectThe customer this entity is linked to.
company_idstringThe company ID the transaction belongs to
currencystringIndicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/
currency_ratenumberCurrency Exchange Rate at the time entity was recorded/generated.
tax_inclusivebooleanAmounts are including tax
sub_totalnumberSubtotal amount, normally before tax.
total_amount · requirednumberThe total amount of the transaction or record
total_taxnumberTotal tax amount applied to this transaction.
refund_datestringThe date of the refund - YYYY-MM-DDThh:mm:ss.sTZD
statusstringStatus of refund. Maps to: QBO (limited status), NetSuite CashRefund status, Sage Intacct state (draft/posted/voided), Z
typestringType of refund. `refund_receipt` for itemized refunds with product/service lines and payment (QBO RefundReceipt; also Ne
payment_methodstringPayment method used for the transaction, such as cash, credit card, bank transfer, or check
payment_method_referencestringOptional reference message returned by payment method on processing
payment_method_idstringA unique identifier for an object.
accountobject
line_itemsarrayLine items for itemized refunds (type: refund_receipt or sale_refund). Used when the refund includes product/service det
allocationsarrayAllocations linking refund to existing documents (invoices, credit notes, overpayments). Used for credit_note_refund and
tax_codestringApplicable tax id/code override if tax is not supplied on a line item basis.
discount_percentagenumberDiscount percentage applied to this refund.
discount_amountnumberDiscount amount applied to this refund.
notestringOptional note to be associated with the refund.
customer_memostringCustomer memo
referencestringOptional reference message for the refund.
billing_addressobject
shipping_addressobject
departmentobject
locationobject
tracking_categoriesarrayA list of linked tracking categories.
custom_fieldsarray
row_versionstringA binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is m

More for refunds in Sage Intacct REST

list_refundscreate_refundget_refunddelete_refund

Update refund in other Accounting apps

The same call works for each of these; only the service id changes.

NetSuiteQuickBooks