trying to follow REST API documentation but failing with error 400 bad request when I try to POST simple payload (similar to shown in that documentation).
It returns weird response like : "Unexpected 'T' error" or "Unexpected 'P' error" depending on different payload.
Meanwhile I can call GET request and retrieve existing receivable invoices.
Any idea how to resolve that magic error and create receivable invoices from REST API?