In this topic:

Running an AR Ledger

Once you have created the AR Ledger, added the Accounting year with periods, and created the collector run, you have to run the AR Ledger to view the associated accounting transactions.

To run the AR Ledger that you have created, use the following endpoint:

POST https://example.gotransverse.com/calypso/3/glruns

Request

{
  "gl_run_mode_id": 4,
  "ledger_id": 7
}

Response

{
  "id": 4,
  "gl_run_mode_id": 4,
  "ledger_id": 7,
  "status": "NOT_STARTED",
  "num_errors": 0,
  "run_trigger_type": "ON_DEMAND",
  "run_to_date": "2018-10-04T14:53:04Z"
}

Ensuring the AR Ledger run is completed

To ensure that the AR Ledger run is successfully completed, make sure the the status of the AR Ledger run is COMPLETE and num_errors equals 0. To check it, retrieve the details on the executed AR Ledger run:

GET https://example.gotransverse.com/calypso/3/glruns

Response

{  
  "id": 4,
  "gl_run_mode_id": 4,
  "ledger_id": 7,
  "date_started": "2018-10-04T14:53:05Z",
  "date_ended": "2018-10-04T14:53:11Z",
  "status": "COMPLETE",
  "num_errors": 0,
  "run_trigger_type": "ON_DEMAND",
  "run_to_date": "2018-10-04T14:53:04Z"
}

Once the AR Ledger is executed, you can proceed with AR Ledger use cases.

Top