Recompute Regulatory Transaction Fee (POST)

Recompute, dispute, or cancel Regulatory Transaction Fees (RTFs). Adjustments can be positive or negative. The API creates a new RTF against the original RTF and a corresponding invoice for the adjusted amount. The original RTF is always set as the parent of the new RTF record.
Resource
1/connect/rtf/{rtfId}/recompute-refund
Resource example
1https://yourInstance.salesforce.com/services/data/vXX.X/connect/rtf/0kxxx00000008DhAAI/recompute-refund
Available version
66.0
Requires Chatter
No
HTTP methods
POST
Request body for POST

The request body specifies the adjustment amount and the due date for the new records.

Format
JSON
JSON example
1{
2  "adjustmentAmount": -5.1,
3  "dueDate": "2025-12-25"
4}
Properties
Name Type Description Required or Optional Available Version
adjustmentAmount Double The amount used for adjustment. Use a positive value to add fees or a negative value to process a refund. Required 66.0
dueDate Date The due date of the newly created Regulatory Transaction Fee and the related invoice. Required 66.0
Response body for POST
Regulatory Transaction Fee Recompute Output

Functional logic

The API handles two types of adjustments:

  • Positive adjustments occur when the adjustmentAmount is positive. The system creates a new RTF and a new invoice for the additional fee.
  • Negative adjustments occur when the adjustmentAmount is negative. The system creates a new negative RTF and invoice, automatically generates a credit memo against the original invoice, adjusts payments, and processes the refund.