I'm trying to create a Journal with tax information via the RestAPI with the but get the error Error while accessing a resource. You have entered an Invalid Field Value 553 for the following field: taxaccount.
I've validated the data and can create a record manually resulting in the same data.
We are using SuiteTax - do I need to present the data in a different way?
{
"approvalStatus": {
"refName": "Approved"
},
"currency": {
"refName": "GBP"
},
"externalId": "1790GB_GB_01",
"line": {
"items": [
{
"account": {
"id": "1383"
},
"debit": 0,
"debitTax": 0,
"credit": 338.3,
"creditTax": 0,
"lineTaxRate": 0,
"taxAccount": {
"id": "553"
},
"lineTaxCode": {
"id": "201"
},
"entity": {
"id": "119"
},
"nexus": {
"id": "1"
},
},
{
"account": {
"id": "1388"
},
"debit": 0,
"credit": 338.3,
"entity": {
"id": "119"
},
"nexus": {
"id": "1"
}
}
]
},
"subsidiary": {
"id": "1"
},
"tranDate": "2026-03-14"
}