Assign project to bulk invoices

This s a documentation page for our shiny new REST API - you weren't meant to find it. This API isn't ready for public use yet. We're chopping and changing it a LOT as we grow it. So if you build something that uses it then it's very likely to break in a future update. Don't say you weren't warned!

URL:

https://api.kashflow.com/v2/internal/invoices?assignproject={projectnumber}

Method(s):

put

Response Formats:

JSON or XML

Description:

This method allows you to assign project to multiple invoices at one go.The request body should consist of List ( array ) of invoice numbers to be updated with the project number.

PUT Operation


Updates the project of the invoices specified in the list of invoice numbers. If any of the specified
invoice is invalid, api will respond with 400 status including invalid invoices in the message and none
of the valid invoices, will be updated.

In case given invoices need not to  assign any project at all and to remove association with previous project, project number should be passed as zero.


URL : /internal/invoices?assignproject={projectnumber}

Example request for PUT


[ 101, 123, 2345, 65 ]

See how IRIS KashFlow works with your business and your books