I have established a QuickBooks connection. I know it works because I can search for vendor and create vendor and those work. Similarly, I can search for a journal entry but I cannot create one. I get the error: "Missing value of required parameter ‘PostingType’. I suspect that this error is misleading.
I have both created the “Line” array manually and simply copied it from an existing journal. I have attached the latter scenario
I found the solution. The Make.com documentation is wrong. The format of posts is as follows. Importantly, the value of AccountRef must be convertible into a number, even though it is passes as a string.
[
{
“Line”: [
{
“Amount”: 100,
“AccountRef”: “1155”,
“Description”: “nov portion of rider insurance”,
“PostingType”: “Debit”
},
{
“Amount”: 100,
“AccountRef”: “1007”,
“Description”: “nov portion of rider insurance”,
“PostingType”: “Credit”
}
],
“TxnDate”: “2024-10-28T00:00:00.000Z”,
“DocNumber”: “Test 1”,
“PrivateNote”: “This is a test journal entry”,
“TxnTaxDetail”: {}
}
]
2 Likes