Skip to main content
GET
/
api
/
credit-memos
Get credit memos
curl --request GET \
  --url https://sbx.api.easybilling.cloud/payment-hub/api/credit-memos
{
  "id": "25ea86c7-e710-45d4-a580-7c13711a74bb",
  "number": "INV-000000049",
  "accountId": "9e266c75-aef0-4c67-8a0b-71c917b21a53",
  "subTotal": 100.03,
  "discountAmount": -10.01,
  "amountAfterDiscount": 90.02,
  "taxAmount": 1.2,
  "totalAmount": 91.22,
  "currency": "USD",
  "status": "posted",
  "date": "2026-01-01",
  "dueDate": "2026-01-31",
  "createdAt": "2026-01-18T07:15:12Z",
  "updatedAt": "2026-01-18T15:58:31Z",
  "createdBy": "f2f873fa-e90b-4e54-b6de-cab8a73259ec",
  "updatedBy": "f2f873fa-e90b-4e54-b6de-cab8a73259ec",
  "items": [
    {
      "planItemId": "8d73911d-b066-4899-b5ba-aa703fc386ac",
      "planItemName": "Plan Item_36568989",
      "periodStartDate": "2026-01-01",
      "periodEndDate": "2026-02-01",
      "quantity": 1,
      "subTotal": 100.03,
      "amountAfterDiscount": 90.02,
      "totalAmount": 91.22,
      "taxAmount": 1.2,
      "discountAmount": -10.01,
      "skuId": "SKU-0",
      "createdAt": "2026-01-18T07:15:12Z",
      "updatedAt": "2026-01-18T15:58:31Z",
      "createdBy": "f2f873fa-e90b-4e54-b6de-cab8a73259ec",
      "updatedBy": "f2f873fa-e90b-4e54-b6de-cab8a73259ec"
    }
  ]
}

Headers

trace-id
string

Query Parameters

accountNumber
string

Response

OK

createdAt
string
updatedAt
string
createdBy
string
updatedBy
string
entityId
string
deleted
boolean
optimisticVersion
integer
id
string
accountId
string
subTotal
integer
discountAmount
integer
amountAfterDiscount
integer
taxAmount
integer
totalAmount
integer
date
string
postDate
string
dueDate
string
status
string
balance
integer
lockByPayment
boolean
immediatelyPay
boolean
originalInvoiceId
string
invoiceTaxTransactionId
string
externalReferenceId
null
reasonCode
string
taxTransactionId
null
currency
string
number
string