cURL
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" }
Get credit-note data by id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x > 0
1
Object with credit-note data.
The response is of type object.
object