Put /api/v202507/bill/batch/{batchId}

Operation: MoveBatchV202507 Permissions: BillsAndBatches (Manage)

Summary

Moves the set of bills to the specified batch
The bills being moved could be in an open, pending or closed batch
The specified batch should be an open or pending batch
All the bills being moved should be in the same batch
Moving from a pending to an open will cause the bills to get un-voided
Moving from an open/closed to a pending will cause the bills to get voided
If bills were in a closed batch, and downstream processes had already run, those processes will not get reversed

Path and Query Parameters

Parameter Description Type Location
batchId Batch to move toRequired integer Path

Request Body Parameters

Content-Type: application/json

Parameter Description Type
Request Body Array integer [Array]

Request Body

[
  1
]

Response Parameters

HTTP 200


Body Parameters

Content Type: application/json

Type Reference: UpdateResult

Parameter Description Type
selected Required (defined) integer
updated Required (defined) integer

Responses

HTTP 200

Body

Content Type: application/json
{
  "selected": 1,
  "updated": 1
}