Close, reopen, and move a bill run to the next step. To fully close the bill run please initially patch the billRunStatus to CLOSED and summaryStatus to REPORTING. To generate draft invoices of a CLOSED bill run, PATCH the summaryStatus to DRAFT_INVOICES. To generate full invoices of a CLOSED bill run, PATCH the summaryStatus to FULL_INVOICES. To distribute and finalise the bill run having generated invoices, PATCH the summaryStatus to DISTRIBUTION. Please refer to the examples
A set of JSONPatch operations to be performed
Success
Invalid Request
Unauthorized
Forbidden
Not Found
[- {
- "op": "replace",
- "path": "/billRunStatus",
- "value": "CLOSED"
}, - {
- "op": "replace",
- "path": "/summaryStatus",
- "value": "REPORTING"
}, - {
- "op": "replace",
- "path": "/invoiceDate",
- "value": "2023-02-04"
}
]
{- "id": 1,
- "name": "string",
- "billingCycleId": 1,
- "created": "2019-08-24",
- "periodStartDate": "2019-08-24",
- "periodEndDate": "2019-08-24",
- "invoiceDate": "2019-08-24",
- "billRunStatus": "OPEN",
- "summaryStatus": "PROPERTIES",
- "billingUserAdminId": 1,
- "parallel": true,
- "revenueInMajorCurrency": 1,
- "usageSuspenseCount": 1,
- "rentalSuspenseCount": 1,
- "maxInvoiceValue": 0,
- "maxInvoiceCustomerId": 1,
- "paused": true
}