curl --request GET \
  --url https://api.splose.com/v1/credit-notes/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "customNum": "CN-0001",
  "invoiceId": 1,
  "patientId": 1,
  "subtotal": 193.99,
  "tax": 0,
  "total": 193.99,
  "sentStatus": "Sent",
  "creditNoteItems": [
    {
      "id": 1,
      "invoiceItemId": 1,
      "unitPrice": 193.99,
      "quantity": 0.5,
      "discount": "$20.00"
    }
  ],
  "creditAllocations": [],
  "description": "Some description",
  "createdAt": "2023-07-30T09:00:00.000Z",
  "updatedAt": "2023-07-30T09:00:00.000Z",
  "deletedAt": "2023-07-30T09:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required
Required range: x > 0
Example:

1

Response

200 - application/json

Object with credit-note data.

The response is of type object.