Issue adding invoice lines

Hi All,

I’m having issues adding invoice lines to a pre-existing invoice.

I’m sending this JSON, but getting a 400 error telling me invoice_items is not an array.

{ "invoice": {
"invoice_items": [
{ "description": "Ticket Sales",
"price": 15.50,
"quantity": 4.00 },
{ "description": "Donation",
"price": 1.00,
"quantity": 1.00 }
]
}
}

I’m struggling to work out what’s wrong with it though. Any pointers?

Thanks,
Amy