Skip to main content

Include a statement back in its upload's commit

POST 

/api/v1/bank_statements/:id/include

Puts an excluded file back into the commit of its upload. The 200 returns the statement with excluded false and excluded_at null.

The file comes back exactly as it was excluded - same state, same lines - and rejoins the set the upload's commit posts. So a file that blocked the commit before (a failed extraction) blocks it again until it is resolved, and a valid one is posted with the rest of the upload.

No Idempotency-Key is required: including a file that is not excluded changes nothing.

Request​

Responses​

The file takes part in its upload's commit again.