Reopen an accounting period
POST
Reopens a closed period so entries dated in it can be posted again. Idempotent: reopening an open period changes nothing.
How to use it
- Find the period ID with List accounting periods.
- The period becomes OPEN, so journal entries dated in it can be posted again; a period that is already open is returned unchanged.
BearerAuthheader
AuthorizationBearer <JWT>id*stringID of the record (UUID).
Format
uuidX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request was processed; otherwise an error status.
message*stringShort human-readable message describing the outcome, e.g. which record was saved or why the call failed.
data?The accounting period after the change.
Example Request
curl -X POST 'https://beta.iotoms.com/api/v1/accounting/periods/497f6eca-6276-4993-bfeb-53cbbbba6f08/reopen' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fiscalYear": 0, "name": "string", "startDate": "2019-08-24", "endDate": "2019-08-24", "status": "OPEN" }}