GET
/
coa
/
api
/
v1
/
credit-memo
/
{id}
Retrieve Credit Memo
curl --request GET \
  --url https://api.meetcampfire.com/coa/api/v1/credit-memo/{id} \
  --header 'Authorization: <api-key>'
{
  "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+0000",
          "last_modified_at": "2025-06-18T21:09:34+0000",
          "group": null
        }
      ],
      "description": "Credit for overpayment on annual subscription",
      "amount": 1000.23,
      "created_at": "2025-07-25T21:04:38+0000",
      "last_modified_at": "2025-07-25T21:04:38+0000",
      "product": 3679,
      "account": 169208,
      "department": 35
    }
  ],
  "payments": [
    {
      "id": 2205,
      "payment_journal_entry": 7495832,
      "payment_journal_entry_order": "JE-0007823",
      "payment_transaction": 19485762,
      "amount": 500,
      "payment_date": "2025-07-15",
      "created_at": "2025-07-15T14:30:22+0000",
      "last_modified_at": "2025-07-15T14:30:22+0000",
      "voided_date": null,
      "voided_journal_entry": null,
      "invoice": {
        "id": 47892,
        "invoice_number": "INV-0000512"
      }
    }
  ],
  "total_amount": 1000.23,
  "amount_used": 500,
  "amount_remaining": 500.23,
  "entity_name": "Top Level",
  "entity_currency": "USD",
  "client_name": "Client A",
  "contract_name": "Annual Service Agreement 2025",
  "credit_account_name": "5230 - Cloud Credits",
  "attachments": [
    {
      "id": 15643,
      "name": "credit_memo_supporting_docs.pdf",
      "file_size": 245760,
      "content_type": "application/pdf",
      "created_at": "2025-07-01T10:15:33+0000",
      "last_modified_at": "2025-07-01T10:15:33+0000"
    }
  ],
  "credit_memo_number": "CM-0000008",
  "voided_date": null,
  "voided_journal_entry_order": null,
  "ref_number": "REF-2025-0087",
  "credit_memo_date": "2025-07-01",
  "applied_date": "2025-07-15",
  "message_on_credit_memo": "Credit memo for annual subscription overpayment. Thank you for your business.",
  "application_status": "partially_used",
  "currency": "USD",
  "exchange_rate": 1,
  "exchange_rate_book": 1,
  "created_at": "2025-07-25T21:04:38+0000",
  "last_modified_at": "2025-07-15T14:30:22+0000",
  "customer": 2,
  "entity": 54,
  "client": 33973,
  "credit_account": 41905,
  "journal_entry": 7491953,
  "contract": 1892,
  "voided_journal_entry": null
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Response

200 - application/json

The response is of type object.