Create Journal API Issue
Create Journal API Issue
Request value :
{
"journal_date": "2019-12-20",
"reference_number": "",
"notes": "Loan repayment",
"journal_type": "both",
"currency_id": "460000000000097",
"exchange_rate":"" ,
"line_items": [
{
"account_id": "",
"line_id": "",
"amount": 5000,
"debit_or_credit": "credit",
"tags": [
{}
]
}
],
"custom_fields": [
{}
]
}
and
I got error response like
{
"code": 4,
"message": "Invalid value passed for account_name"
}