Xero api call to attach a file to an invoice

Hi there

I am have no problem with create an invoice in Xero, but when I try to use the api call to post a file as an attachment to the invoice, no matter what I try, it is always showing error 400, couldn’t find any related information on it, Please help :pleading_face:.



cheers

Phoebe