improved

V2 - Customer Invoices Matched Transactions

Breaking changes Notice

Few changes on status code rendered due to the Merge Project for Customer Invoices Matched Transactions endpoints. For more details on this initiative, please refer to our documentation.

As a reminder it is not possible to match a transaction to a draft invoice.

Before, when the requested invoice was a draft, the response status code was 404.

Now this endpoint returns a 200 with an empty array.

Before, when the requested invoice was a draft, the response status code was 404.

Now this endpoint returns a 422 with following error message: "This endpoint is not applicable for draft invoices"

Before, when the requested invoice was a draft, the response status code was 404.

Now this endpoint returns a 422 with following error message: "This endpoint is not applicable for draft invoices"