Cancel Invoice via API

How to cancel invoice using API ?
Is there somewhere an example of api call?

Probably I’ve found how to cancel the invoice.

POST https://invoicing.co/api/v1/invoices/bulk
{
"ids": [
	"xbo2J2V3ag"
],
"action": "cancel"

}

@hillel
Is it correctly to use the same api call as on admin portal?

Invoice Ninja has their API docs published on Swagger Hub, you can check it out here Build, Collaborate & Integrate APIs | SwaggerHub

@epic-maurice
This is the first place I am looking in. The API published is very poor documented.

That looks correct to me. Yes, using the network tab in the browser console when making requests in the admin portal is a good way to figure out API calls.

If there are specific improvements you’d like to see us make to the docs please let us know.

cc @david

There are no any input arguments declared of API endpoints can be used.
There are no any API call examples.