List credit notes
List all credit notes
Query parameters
Search Credit Notes by account Id
Search Credit Notes by account name
Search Credit Notes by account number
Search Credit Notes by balance due
Search Credit Notes by credit note date
Search Credit Notes by credit note number
Search for non-taxable credit notes
Search Credit Notes by organization id
Search Credit Notes by refunds made
Search Credit Notes by status
Search Credit Notes by sub-total
Search Credit Notes by sub-total after discount
Search Credit Notes by total
Search Credit Notes by total discount
Search Credit Notes by total tax
Search Credit Notes by voucher header id
Filter Credit Notes by the above query parameters. <br /><b>Example:</b> { "total[gt]" : 6000 }
Sort Credit Notes in ascending order
Sort Credit Notes in descending order
The particular page to return
The number of items to return per page Default: 50 Limit: 200
Response
Successful operation
Example response
{
"message": "success.",
"credit_note": [
{
"id": 358,
"account": {
"id": 403,
"organization_id": "0005",
"name": "Lexzur KSA",
"account_label": "Lexzur KSA (SAR)",
"account_type": "Third Party",
"currency": "SAR",
"organization": {
"id": "0005",
"name": "zatca",
"country": "SA",
"city": "Riyadh",
"state": "Riyadh",
"zip": "1000"
}
},
"credit_note_number": "DRFT0000008",
"bill_to": "Lexzur KSA",
"credit_note_date": "2024-11-11 00:00:00",
"paid_status": "draft",
"total": 12369.79,
"related_invoices": [
{
"id": 151,
"invoice_date": "2024-11-11 00:00:00",
"invoice_total": 20707.85,
"invoice_number": "INV0000007",
"balance_due": 20707.85
}
],
"credit_note_details": [
{
"id": 439,
"item_title": "Corportation",
"unit_price": 100,
"quantity": 1,
"discount_percentage": 20,
"total": 80
}
]
}
],
"page_context": {
"page": 1,
"per_page": 2,
"next_page_url": "http://localhost/lexzur/api/v2/money/credit-notes?page=2",
"total": 16,
"count": 2
}
}