Error when integrate with quickbooks

json in postman
{

“customer_id”: “YOUR_VALID_CUSTOMER_ID”,

“customer_name”: “John Doe”,

“email”: “[email protected]”,

“txn_date”: “2025-12-08”,

“due_date”: “2025-12-15”,

“Line”: [

{

  "Amount": 100.00,

  "DetailType": "SalesItemLineDetail",

  "Description": "Consulting Services",

  "SalesItemLineDetail": {

    "ItemRef": {

      "value": "1",

      "name": "Test Item Name"

    },

    "Qty": 1,

    "UnitPrice": 100.00

  }

}

]

}
output response:: Please enter at least one line for the invoice.
even when adding lines their is the same issue in reponse

Hi @Mayar_Mansour, welcome to the community!

I can’t tell exactly what’s wrong, since I don’t have a QuickBooks environment to test..
But if you’ve filled all the required fields correctly:

…and you’re still getting an error,
then your second approach would be to use the HTTP node and call the quickbooks endpoint directly..

Yes, I added all the required fields correctly so there is nothing missing.
Regarding your suggested second approach of using an HTTP node, I am already doing and it can be seen in the attached screenshot.
More information that could help us figure out the issue, here is a screenshot of the nodes I added:

Ok looking at For Customer Name or ID:

it appears that this information should come from your QuickBooks account,

Also, your screenshot shows an error related to that:
image

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.