{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "receivable",
"number": 1,
"status": "pending",
"opening_balance": 1000,
"closing_balance": 900,
"account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
"components": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "principal",
"amount": 1000,
"start_date": "2024-01-01",
"due_date": "2024-01-31",
"accrued_amount": 50,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
],
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}