curl --request PUT \
--url https://api.meetcampfire.com/coa/api/v1/credit-memo/{id} \
--header 'Content-Type: application/json' \
--data '
{
"lines": [
{
"tags": [
{
"id": "7736",
"name": "Other"
}
],
"product": "3679",
"product_name": "Annual Subscription",
"account": "169208",
"account_name": "Subscription fees",
"department": "35",
"department_name": "Engineering",
"description": "Updated credit for subscription overpayment",
"amount": 1250.5
},
{
"tags": [],
"product": "3680",
"product_name": "Professional Services",
"account": "169209",
"account_name": "Service Revenue",
"department": "36",
"department_name": "Sales",
"description": "Additional credit for services",
"amount": 500
}
],
"entity": "54",
"entity_name": "Top Level",
"entity_currency": "USD",
"currency": "USD",
"client": "33973",
"client_name": "Client A",
"credit_memo_date": "2025-07-01",
"exchange_rate_book": 1,
"exchange_rate": 1,
"credit_account": "41905",
"credit_account_name": "5230 - Cloud Credits",
"message_on_credit_memo": "Updated credit memo for subscription overpayment and additional services. Thank you for your business.",
"ref_number": "REF-2025-0087-UPDATED"
}
'import requests
url = "https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}"
payload = {
"lines": [
{
"tags": [
{
"id": "7736",
"name": "Other"
}
],
"product": "3679",
"product_name": "Annual Subscription",
"account": "169208",
"account_name": "Subscription fees",
"department": "35",
"department_name": "Engineering",
"description": "Updated credit for subscription overpayment",
"amount": 1250.5
},
{
"tags": [],
"product": "3680",
"product_name": "Professional Services",
"account": "169209",
"account_name": "Service Revenue",
"department": "36",
"department_name": "Sales",
"description": "Additional credit for services",
"amount": 500
}
],
"entity": "54",
"entity_name": "Top Level",
"entity_currency": "USD",
"currency": "USD",
"client": "33973",
"client_name": "Client A",
"credit_memo_date": "2025-07-01",
"exchange_rate_book": 1,
"exchange_rate": 1,
"credit_account": "41905",
"credit_account_name": "5230 - Cloud Credits",
"message_on_credit_memo": "Updated credit memo for subscription overpayment and additional services. Thank you for your business.",
"ref_number": "REF-2025-0087-UPDATED"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
lines: [
{
tags: [{id: '7736', name: 'Other'}],
product: '3679',
product_name: 'Annual Subscription',
account: '169208',
account_name: 'Subscription fees',
department: '35',
department_name: 'Engineering',
description: 'Updated credit for subscription overpayment',
amount: 1250.5
},
{
tags: [],
product: '3680',
product_name: 'Professional Services',
account: '169209',
account_name: 'Service Revenue',
department: '36',
department_name: 'Sales',
description: 'Additional credit for services',
amount: 500
}
],
entity: '54',
entity_name: 'Top Level',
entity_currency: 'USD',
currency: 'USD',
client: '33973',
client_name: 'Client A',
credit_memo_date: '2025-07-01',
exchange_rate_book: 1,
exchange_rate: 1,
credit_account: '41905',
credit_account_name: '5230 - Cloud Credits',
message_on_credit_memo: 'Updated credit memo for subscription overpayment and additional services. Thank you for your business.',
ref_number: 'REF-2025-0087-UPDATED'
})
};
fetch('https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'lines' => [
[
'tags' => [
[
'id' => '7736',
'name' => 'Other'
]
],
'product' => '3679',
'product_name' => 'Annual Subscription',
'account' => '169208',
'account_name' => 'Subscription fees',
'department' => '35',
'department_name' => 'Engineering',
'description' => 'Updated credit for subscription overpayment',
'amount' => 1250.5
],
[
'tags' => [
],
'product' => '3680',
'product_name' => 'Professional Services',
'account' => '169209',
'account_name' => 'Service Revenue',
'department' => '36',
'department_name' => 'Sales',
'description' => 'Additional credit for services',
'amount' => 500
]
],
'entity' => '54',
'entity_name' => 'Top Level',
'entity_currency' => 'USD',
'currency' => 'USD',
'client' => '33973',
'client_name' => 'Client A',
'credit_memo_date' => '2025-07-01',
'exchange_rate_book' => 1,
'exchange_rate' => 1,
'credit_account' => '41905',
'credit_account_name' => '5230 - Cloud Credits',
'message_on_credit_memo' => 'Updated credit memo for subscription overpayment and additional services. Thank you for your business.',
'ref_number' => 'REF-2025-0087-UPDATED'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}"
payload := strings.NewReader("{\n \"lines\": [\n {\n \"tags\": [\n {\n \"id\": \"7736\",\n \"name\": \"Other\"\n }\n ],\n \"product\": \"3679\",\n \"product_name\": \"Annual Subscription\",\n \"account\": \"169208\",\n \"account_name\": \"Subscription fees\",\n \"department\": \"35\",\n \"department_name\": \"Engineering\",\n \"description\": \"Updated credit for subscription overpayment\",\n \"amount\": 1250.5\n },\n {\n \"tags\": [],\n \"product\": \"3680\",\n \"product_name\": \"Professional Services\",\n \"account\": \"169209\",\n \"account_name\": \"Service Revenue\",\n \"department\": \"36\",\n \"department_name\": \"Sales\",\n \"description\": \"Additional credit for services\",\n \"amount\": 500\n }\n ],\n \"entity\": \"54\",\n \"entity_name\": \"Top Level\",\n \"entity_currency\": \"USD\",\n \"currency\": \"USD\",\n \"client\": \"33973\",\n \"client_name\": \"Client A\",\n \"credit_memo_date\": \"2025-07-01\",\n \"exchange_rate_book\": 1,\n \"exchange_rate\": 1,\n \"credit_account\": \"41905\",\n \"credit_account_name\": \"5230 - Cloud Credits\",\n \"message_on_credit_memo\": \"Updated credit memo for subscription overpayment and additional services. Thank you for your business.\",\n \"ref_number\": \"REF-2025-0087-UPDATED\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}")
.header("Content-Type", "application/json")
.body("{\n \"lines\": [\n {\n \"tags\": [\n {\n \"id\": \"7736\",\n \"name\": \"Other\"\n }\n ],\n \"product\": \"3679\",\n \"product_name\": \"Annual Subscription\",\n \"account\": \"169208\",\n \"account_name\": \"Subscription fees\",\n \"department\": \"35\",\n \"department_name\": \"Engineering\",\n \"description\": \"Updated credit for subscription overpayment\",\n \"amount\": 1250.5\n },\n {\n \"tags\": [],\n \"product\": \"3680\",\n \"product_name\": \"Professional Services\",\n \"account\": \"169209\",\n \"account_name\": \"Service Revenue\",\n \"department\": \"36\",\n \"department_name\": \"Sales\",\n \"description\": \"Additional credit for services\",\n \"amount\": 500\n }\n ],\n \"entity\": \"54\",\n \"entity_name\": \"Top Level\",\n \"entity_currency\": \"USD\",\n \"currency\": \"USD\",\n \"client\": \"33973\",\n \"client_name\": \"Client A\",\n \"credit_memo_date\": \"2025-07-01\",\n \"exchange_rate_book\": 1,\n \"exchange_rate\": 1,\n \"credit_account\": \"41905\",\n \"credit_account_name\": \"5230 - Cloud Credits\",\n \"message_on_credit_memo\": \"Updated credit memo for subscription overpayment and additional services. Thank you for your business.\",\n \"ref_number\": \"REF-2025-0087-UPDATED\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"lines\": [\n {\n \"tags\": [\n {\n \"id\": \"7736\",\n \"name\": \"Other\"\n }\n ],\n \"product\": \"3679\",\n \"product_name\": \"Annual Subscription\",\n \"account\": \"169208\",\n \"account_name\": \"Subscription fees\",\n \"department\": \"35\",\n \"department_name\": \"Engineering\",\n \"description\": \"Updated credit for subscription overpayment\",\n \"amount\": 1250.5\n },\n {\n \"tags\": [],\n \"product\": \"3680\",\n \"product_name\": \"Professional Services\",\n \"account\": \"169209\",\n \"account_name\": \"Service Revenue\",\n \"department\": \"36\",\n \"department_name\": \"Sales\",\n \"description\": \"Additional credit for services\",\n \"amount\": 500\n }\n ],\n \"entity\": \"54\",\n \"entity_name\": \"Top Level\",\n \"entity_currency\": \"USD\",\n \"currency\": \"USD\",\n \"client\": \"33973\",\n \"client_name\": \"Client A\",\n \"credit_memo_date\": \"2025-07-01\",\n \"exchange_rate_book\": 1,\n \"exchange_rate\": 1,\n \"credit_account\": \"41905\",\n \"credit_account_name\": \"5230 - Cloud Credits\",\n \"message_on_credit_memo\": \"Updated credit memo for subscription overpayment and additional services. Thank you for your business.\",\n \"ref_number\": \"REF-2025-0087-UPDATED\"\n}"
response = http.request(request)
puts response.read_body{
"id": 4258,
"lines": [
{
"id": 5449,
"account_number": "4107",
"account_name": "4107 - Subscription fees",
"product_name": "Annual Subscription",
"department_name": "Engineering",
"tags": [
{
"id": 7736,
"parent_name": null,
"parent": null,
"name": "Other",
"created_at": "2025-06-18T21:09:34+00:00",
"last_modified_at": "2025-06-18T21:09:34+00:00",
"group": null
}
],
"description": "Updated credit for subscription overpayment",
"amount": 1250.5,
"created_at": "2025-07-25T21:04:38+00:00",
"last_modified_at": "2025-07-25T22:15:12+00:00",
"product": 3679,
"account": 169208,
"department": 35
},
{
"id": 5450,
"account_number": "4108",
"account_name": "4108 - Service Revenue",
"product_name": "Professional Services",
"department_name": "Sales",
"tags": [],
"description": "Additional credit for services",
"amount": 500,
"created_at": "2025-07-25T22:15:12+00:00",
"last_modified_at": "2025-07-25T22:15:12+00:00",
"product": 3680,
"account": 169209,
"department": 36
}
],
"payments": [],
"total_amount": 1750.5,
"amount_used": 0,
"amount_remaining": 1750.5,
"entity_name": "Top Level",
"entity_currency": "USD",
"client_name": "Client A",
"credit_account_name": "5230 - Cloud Credits",
"attachments": [],
"credit_memo_number": "CM-0000008",
"voided_date": null,
"ref_number": "REF-2025-0087-UPDATED",
"credit_memo_date": "2025-07-01",
"applied_date": null,
"message_on_credit_memo": "Updated credit memo for subscription overpayment and additional services. Thank you for your business.",
"application_status": "open",
"currency": "USD",
"exchange_rate": 1,
"exchange_rate_book": 1,
"created_at": "2025-07-25T21:04:38+00:00",
"last_modified_at": "2025-07-25T22:15:12+00:00",
"customer": 2,
"entity": 54,
"client": 33973,
"credit_account": 41905,
"journal_entry": 7491953,
"contract": null,
"voided_journal_entry": null
}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
curl --request PUT \
--url https://api.meetcampfire.com/coa/api/v1/credit-memo/{id} \
--header 'Content-Type: application/json' \
--data '
{
"lines": [
{
"tags": [
{
"id": "7736",
"name": "Other"
}
],
"product": "3679",
"product_name": "Annual Subscription",
"account": "169208",
"account_name": "Subscription fees",
"department": "35",
"department_name": "Engineering",
"description": "Updated credit for subscription overpayment",
"amount": 1250.5
},
{
"tags": [],
"product": "3680",
"product_name": "Professional Services",
"account": "169209",
"account_name": "Service Revenue",
"department": "36",
"department_name": "Sales",
"description": "Additional credit for services",
"amount": 500
}
],
"entity": "54",
"entity_name": "Top Level",
"entity_currency": "USD",
"currency": "USD",
"client": "33973",
"client_name": "Client A",
"credit_memo_date": "2025-07-01",
"exchange_rate_book": 1,
"exchange_rate": 1,
"credit_account": "41905",
"credit_account_name": "5230 - Cloud Credits",
"message_on_credit_memo": "Updated credit memo for subscription overpayment and additional services. Thank you for your business.",
"ref_number": "REF-2025-0087-UPDATED"
}
'import requests
url = "https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}"
payload = {
"lines": [
{
"tags": [
{
"id": "7736",
"name": "Other"
}
],
"product": "3679",
"product_name": "Annual Subscription",
"account": "169208",
"account_name": "Subscription fees",
"department": "35",
"department_name": "Engineering",
"description": "Updated credit for subscription overpayment",
"amount": 1250.5
},
{
"tags": [],
"product": "3680",
"product_name": "Professional Services",
"account": "169209",
"account_name": "Service Revenue",
"department": "36",
"department_name": "Sales",
"description": "Additional credit for services",
"amount": 500
}
],
"entity": "54",
"entity_name": "Top Level",
"entity_currency": "USD",
"currency": "USD",
"client": "33973",
"client_name": "Client A",
"credit_memo_date": "2025-07-01",
"exchange_rate_book": 1,
"exchange_rate": 1,
"credit_account": "41905",
"credit_account_name": "5230 - Cloud Credits",
"message_on_credit_memo": "Updated credit memo for subscription overpayment and additional services. Thank you for your business.",
"ref_number": "REF-2025-0087-UPDATED"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
lines: [
{
tags: [{id: '7736', name: 'Other'}],
product: '3679',
product_name: 'Annual Subscription',
account: '169208',
account_name: 'Subscription fees',
department: '35',
department_name: 'Engineering',
description: 'Updated credit for subscription overpayment',
amount: 1250.5
},
{
tags: [],
product: '3680',
product_name: 'Professional Services',
account: '169209',
account_name: 'Service Revenue',
department: '36',
department_name: 'Sales',
description: 'Additional credit for services',
amount: 500
}
],
entity: '54',
entity_name: 'Top Level',
entity_currency: 'USD',
currency: 'USD',
client: '33973',
client_name: 'Client A',
credit_memo_date: '2025-07-01',
exchange_rate_book: 1,
exchange_rate: 1,
credit_account: '41905',
credit_account_name: '5230 - Cloud Credits',
message_on_credit_memo: 'Updated credit memo for subscription overpayment and additional services. Thank you for your business.',
ref_number: 'REF-2025-0087-UPDATED'
})
};
fetch('https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'lines' => [
[
'tags' => [
[
'id' => '7736',
'name' => 'Other'
]
],
'product' => '3679',
'product_name' => 'Annual Subscription',
'account' => '169208',
'account_name' => 'Subscription fees',
'department' => '35',
'department_name' => 'Engineering',
'description' => 'Updated credit for subscription overpayment',
'amount' => 1250.5
],
[
'tags' => [
],
'product' => '3680',
'product_name' => 'Professional Services',
'account' => '169209',
'account_name' => 'Service Revenue',
'department' => '36',
'department_name' => 'Sales',
'description' => 'Additional credit for services',
'amount' => 500
]
],
'entity' => '54',
'entity_name' => 'Top Level',
'entity_currency' => 'USD',
'currency' => 'USD',
'client' => '33973',
'client_name' => 'Client A',
'credit_memo_date' => '2025-07-01',
'exchange_rate_book' => 1,
'exchange_rate' => 1,
'credit_account' => '41905',
'credit_account_name' => '5230 - Cloud Credits',
'message_on_credit_memo' => 'Updated credit memo for subscription overpayment and additional services. Thank you for your business.',
'ref_number' => 'REF-2025-0087-UPDATED'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}"
payload := strings.NewReader("{\n \"lines\": [\n {\n \"tags\": [\n {\n \"id\": \"7736\",\n \"name\": \"Other\"\n }\n ],\n \"product\": \"3679\",\n \"product_name\": \"Annual Subscription\",\n \"account\": \"169208\",\n \"account_name\": \"Subscription fees\",\n \"department\": \"35\",\n \"department_name\": \"Engineering\",\n \"description\": \"Updated credit for subscription overpayment\",\n \"amount\": 1250.5\n },\n {\n \"tags\": [],\n \"product\": \"3680\",\n \"product_name\": \"Professional Services\",\n \"account\": \"169209\",\n \"account_name\": \"Service Revenue\",\n \"department\": \"36\",\n \"department_name\": \"Sales\",\n \"description\": \"Additional credit for services\",\n \"amount\": 500\n }\n ],\n \"entity\": \"54\",\n \"entity_name\": \"Top Level\",\n \"entity_currency\": \"USD\",\n \"currency\": \"USD\",\n \"client\": \"33973\",\n \"client_name\": \"Client A\",\n \"credit_memo_date\": \"2025-07-01\",\n \"exchange_rate_book\": 1,\n \"exchange_rate\": 1,\n \"credit_account\": \"41905\",\n \"credit_account_name\": \"5230 - Cloud Credits\",\n \"message_on_credit_memo\": \"Updated credit memo for subscription overpayment and additional services. Thank you for your business.\",\n \"ref_number\": \"REF-2025-0087-UPDATED\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}")
.header("Content-Type", "application/json")
.body("{\n \"lines\": [\n {\n \"tags\": [\n {\n \"id\": \"7736\",\n \"name\": \"Other\"\n }\n ],\n \"product\": \"3679\",\n \"product_name\": \"Annual Subscription\",\n \"account\": \"169208\",\n \"account_name\": \"Subscription fees\",\n \"department\": \"35\",\n \"department_name\": \"Engineering\",\n \"description\": \"Updated credit for subscription overpayment\",\n \"amount\": 1250.5\n },\n {\n \"tags\": [],\n \"product\": \"3680\",\n \"product_name\": \"Professional Services\",\n \"account\": \"169209\",\n \"account_name\": \"Service Revenue\",\n \"department\": \"36\",\n \"department_name\": \"Sales\",\n \"description\": \"Additional credit for services\",\n \"amount\": 500\n }\n ],\n \"entity\": \"54\",\n \"entity_name\": \"Top Level\",\n \"entity_currency\": \"USD\",\n \"currency\": \"USD\",\n \"client\": \"33973\",\n \"client_name\": \"Client A\",\n \"credit_memo_date\": \"2025-07-01\",\n \"exchange_rate_book\": 1,\n \"exchange_rate\": 1,\n \"credit_account\": \"41905\",\n \"credit_account_name\": \"5230 - Cloud Credits\",\n \"message_on_credit_memo\": \"Updated credit memo for subscription overpayment and additional services. Thank you for your business.\",\n \"ref_number\": \"REF-2025-0087-UPDATED\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/v1/credit-memo/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"lines\": [\n {\n \"tags\": [\n {\n \"id\": \"7736\",\n \"name\": \"Other\"\n }\n ],\n \"product\": \"3679\",\n \"product_name\": \"Annual Subscription\",\n \"account\": \"169208\",\n \"account_name\": \"Subscription fees\",\n \"department\": \"35\",\n \"department_name\": \"Engineering\",\n \"description\": \"Updated credit for subscription overpayment\",\n \"amount\": 1250.5\n },\n {\n \"tags\": [],\n \"product\": \"3680\",\n \"product_name\": \"Professional Services\",\n \"account\": \"169209\",\n \"account_name\": \"Service Revenue\",\n \"department\": \"36\",\n \"department_name\": \"Sales\",\n \"description\": \"Additional credit for services\",\n \"amount\": 500\n }\n ],\n \"entity\": \"54\",\n \"entity_name\": \"Top Level\",\n \"entity_currency\": \"USD\",\n \"currency\": \"USD\",\n \"client\": \"33973\",\n \"client_name\": \"Client A\",\n \"credit_memo_date\": \"2025-07-01\",\n \"exchange_rate_book\": 1,\n \"exchange_rate\": 1,\n \"credit_account\": \"41905\",\n \"credit_account_name\": \"5230 - Cloud Credits\",\n \"message_on_credit_memo\": \"Updated credit memo for subscription overpayment and additional services. Thank you for your business.\",\n \"ref_number\": \"REF-2025-0087-UPDATED\"\n}"
response = http.request(request)
puts response.read_body{
"id": 4258,
"lines": [
{
"id": 5449,
"account_number": "4107",
"account_name": "4107 - Subscription fees",
"product_name": "Annual Subscription",
"department_name": "Engineering",
"tags": [
{
"id": 7736,
"parent_name": null,
"parent": null,
"name": "Other",
"created_at": "2025-06-18T21:09:34+00:00",
"last_modified_at": "2025-06-18T21:09:34+00:00",
"group": null
}
],
"description": "Updated credit for subscription overpayment",
"amount": 1250.5,
"created_at": "2025-07-25T21:04:38+00:00",
"last_modified_at": "2025-07-25T22:15:12+00:00",
"product": 3679,
"account": 169208,
"department": 35
},
{
"id": 5450,
"account_number": "4108",
"account_name": "4108 - Service Revenue",
"product_name": "Professional Services",
"department_name": "Sales",
"tags": [],
"description": "Additional credit for services",
"amount": 500,
"created_at": "2025-07-25T22:15:12+00:00",
"last_modified_at": "2025-07-25T22:15:12+00:00",
"product": 3680,
"account": 169209,
"department": 36
}
],
"payments": [],
"total_amount": 1750.5,
"amount_used": 0,
"amount_remaining": 1750.5,
"entity_name": "Top Level",
"entity_currency": "USD",
"client_name": "Client A",
"credit_account_name": "5230 - Cloud Credits",
"attachments": [],
"credit_memo_number": "CM-0000008",
"voided_date": null,
"ref_number": "REF-2025-0087-UPDATED",
"credit_memo_date": "2025-07-01",
"applied_date": null,
"message_on_credit_memo": "Updated credit memo for subscription overpayment and additional services. Thank you for your business.",
"application_status": "open",
"currency": "USD",
"exchange_rate": 1,
"exchange_rate_book": 1,
"created_at": "2025-07-25T21:04:38+00:00",
"last_modified_at": "2025-07-25T22:15:12+00:00",
"customer": 2,
"entity": 54,
"client": 33973,
"credit_account": 41905,
"journal_entry": 7491953,
"contract": null,
"voided_journal_entry": null
}Path Parameters
Body
Show child attributes
Show child attributes
Revenue contract to link this credit memo to at creation.
credit_memo- Credit Memooverpayment- Overpayment
credit_memo, overpayment 120open- Openpartially_used- Partially Usedused- Usedvoided- Voided
open, partially_used, used, voided 3-100000000000000 < x < 100000000000000-100000000000000 < x < 100000000000000When true, no tax is calculated through, and no transaction is created in, the entity's tax connection for this credit memo. Set at creation; cannot be changed.
250250Sum of all line item amounts
-1000000000000000000 < x < 1000000000000000000Sum of all non-voided payment amounts
-1000000000000000000 < x < 1000000000000000000-2147483648 <= x <= 2147483647Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Calculate amount remaining from database fields
Combines account number and name in the format "number - name"
Show child attributes
Show child attributes
ID of the negation transaction in Anrok for this credit memo
Revenue contract to link this credit memo to at creation.
credit_memo- Credit Memooverpayment- Overpayment
credit_memo, overpayment 120open- Openpartially_used- Partially Usedused- Usedvoided- Voided
open, partially_used, used, voided 3-100000000000000 < x < 100000000000000-100000000000000 < x < 100000000000000When true, no tax is calculated through, and no transaction is created in, the entity's tax connection for this credit memo. Set at creation; cannot be changed.
250250Sum of all line item amounts
-1000000000000000000 < x < 1000000000000000000Sum of all non-voided payment amounts
-1000000000000000000 < x < 1000000000000000000-2147483648 <= x <= 2147483647