v1
latestOpenAPI 3.0.02026-08-068926279.2 KBCredits
Create a credit entry
Creates a new credit entry for a client
post/credits
Request body
Example request
{
"client_id": 1,
"amount": 100,
"date": "2024-01-15",
"note": "Overpayment from INV-001",
"source": "manual",
"invoice_id": 1
}Response
Credit entry created
Example response
{
"id": 1,
"client_id": 1,
"amount": 100,
"date": "2024-01-15",
"note": "Overpayment from INV-001",
"source": "manual",
"phrase": "Credit applied"
}