Invoice Allocation Failing

I am trying to allocate part of a payment to an unpaid invoice. I have triple checked the invoice using the id in the paid_invoice field and the bank transaction. It is being rejected by the API saying the invoice is fully paid. However when I login into Freeagent it is clearly saying the invoice has an unpaid amount of 14.50 on it which is exactly the amount I am trying to allocate. Happy to supply the ids to a member of the Freeagent technical team.

Hi Khayam,

I have sent you a private message in response to your query.

Kind regards,

Craig
Support Engineer