Update Credit Memo
Accounts Receivable
Update Credit Memo
Performs a complete update of an existing accounting credit memo using PUT semantics.
This endpoint allows full replacement of credit memo data including:
- Complete credit memo metadata update (dates, amounts, client, entity, currency)
- Full line item replacement with new products, accounts, amounts, and departmental allocations
- Journal entry recalculation and update with new accounting transactions
- Exchange rate updates for multi-currency credit memos
- Contract and reference number association updates
- Custom field updates and modifications
Important Notes:
- This is a full replacement operation - all credit memo data will be updated
- Missing fields in the request will be set to null or default values
- Existing line items will be completely replaced with the new line items
- Journal entries will be updated to reflect all changes
PUT
Update Credit Memo
Authorizations
Token-based authentication with required prefix "Token"
Path Parameters
Body
credit_memo- Credit Memooverpayment- Overpayment
Available options:
credit_memo, overpayment Maximum string length:
120open- Openpartially_used- Partially Usedused- Usedvoided- Voided
Available options:
open, partially_used, used, voided Maximum string length:
3Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000ID of the negation transaction in Anrok for this credit memo
Maximum string length:
255Maximum string length:
250Maximum string length:
250Sum of all line item amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Sum of all non-voided payment amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-2147483648 <= x <= 2147483647Response
200 - application/json
Calculate amount remaining from database fields
Combines account number and name in the format "number - name"
credit_memo- Credit Memooverpayment- Overpayment
Available options:
credit_memo, overpayment Maximum string length:
120open- Openpartially_used- Partially Usedused- Usedvoided- Voided
Available options:
open, partially_used, used, voided Maximum string length:
3Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000ID of the negation transaction in Anrok for this credit memo
Maximum string length:
255Maximum string length:
250Maximum string length:
250Sum of all line item amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Sum of all non-voided payment amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-2147483648 <= x <= 2147483647