Update Transaction Amortization
Updates amortization or accretion details for a transaction.
REST Resource
PATCH /arm/rest/rc/v1/transactions/{transactionId}/amortization
Required Roles
- Service Administrator, which inherits Profiles and Reconciliations - Manage
- Power User with Profiles and Reconciliations - Manage and security access to the reconciliation
- User with Reconciliation - Preparer access to the target reconciliation
- Reconciliation Owner when the current workflow allows the operation
Additional access requirements:
The reconciliation must be available for update. If work is assigned to a team, the user may need to claim it first.
Request
Supported Media Types: application/json
The following table summarizes the client request parameters specific to this API.
Table 4-142 Update Transaction Amortization Request Parameters
| Name | Description | Type | Required |
|---|---|---|---|
transactionId |
Unique transaction identifier. | Path | Yes |
amortizationMode |
Amortization mode: N (None), A
(Amortization), or C (Accretion).
|
Payload | No |
method |
Amortization method. | Payload | No |
startingPeriod |
Starting period identifier. | Payload | No |
numPeriods |
Number of periods. | Payload | No |
halfMonth |
Indicates whether the half-month convention applies. | Payload | No |
startDate |
Start date. | Payload | No |
endDate |
End date. | Payload | No |
originalAmounts |
Array of original amount bucket values. | Payload | No |
schedule |
Array of schedule rows. The amortizedAmount
field is writable.
|
Payload | No |
The following properties are read-only and cannot be updated:
remainingPeriodsendingAmountsperiodId,days,beginningAmount, andendingAmountwithin schedule rows
Example request:
PATCH /arm/rest/rc/v1/transactions/100000006161313/amortization
Example of a request body:
{
"amortizationMode": "A",
"method": "STRAIGHT_LINE",
"startingPeriod": 100000000002228,
"numPeriods": 3,
"halfMonth": false,
"startDate": 1686767400000,
"endDate": 1690848000000,
"originalAmounts": [
{
"currencyBucketId": 100002,
"amount": 3000.00,
"currency": "USD"
}
],
"schedule": [
{
"periodNum": 1,
"periodName": "June 2023",
"currencyBucketId": 100002,
"currency": "USD",
"amortizedAmount": 1000.00
}
]
}
Example of a request body for Custom Amortization:
{
"amortizationMode": "A",
"method": "C",
"startingPeriod": 100000000002228,
"halfMonth": false,
"originalAmounts": [
{
"amount": 2000.00,
"currencyBucketId": 100002
}
],
"schedule": [
{
"periodNum": 1,
"currencyBucketId": 100002,
"amortizedAmount": 200.00
},
{
"periodNum": 2,
"currencyBucketId": 100002,
"amortizedAmount": 250.00
},
{
"periodNum": 3,
"currencyBucketId": 100002,
"amortizedAmount": 300.00
},
{
"periodNum": 4,
"currencyBucketId": 100002,
"amortizedAmount": 350.00
},
{
"periodNum": 5,
"currencyBucketId": 100002,
"amortizedAmount": 400.00
},
{
"periodNum": 6,
"currencyBucketId": 100002,
"amortizedAmount": 500.00
}
]
}
Response
The following table summarizes the response properties.
Table 4-143 Update Transaction Amortization Response Parameters
| Name | Description |
|---|---|
amortizationMode |
Amortization mode: N (None), A
(Amortization), or C (Accretion).
|
method |
Amortization method. |
startingPeriod |
Starting period identifier. |
numPeriods |
Number of periods. |
remainingPeriods |
Remaining periods. |
halfMonth |
Indicates whether the half-month convention applies. |
startDate |
Start date. |
endDate |
End date. |
originalAmounts |
Array of original amount bucket values. |
endingAmounts |
Array of ending amount bucket values. |
schedule |
Array of amortization schedule rows. |
Example of response body:
{
"amortizationMode": "A",
"method": "S",
"startingPeriod": 100000000002228,
"numPeriods": 6,
"halfMonth": false,
"startDate": 1685557800000,
"endDate": 1701282600000,
"originalAmounts": [
{
"amount": 2000.00,
"currencyBucketId": 100002
}
]
}