Accountant Portal

Queue an accounting validation run

Changed on

Requires current company and exact legal-entity access, or an all-entity grant for a company without legal entities. A repeat of the same request with the same idempotency key returns the existing run. The worker checks access again before reading financial records.

post/accountant/companies/{customerId}/validation-runs

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Headers

Idempotency-Key, string uuid required

Request body

AccountantValidationRunInput required
entityId, string uuid nullable required

Null for a company-wide run.

startDate, string date required

First accounting date included.

endDate, string date required

Use an end date on or before today in UTC. The inclusive period must cover 1 to 366 days.

basis, 'accrual' | 'cash' required
targetAccuracy, integer required

Response

Run accepted or existing run returned for this key

AccountantValidationRunResponse required
success, true required
data, AccountantValidationRun required

Changes

    • breaking

      the response property data/entityId became nullable for the status

    • info

      the request property entityId became nullable

    • info

      added the optional property data/result/oneOf[#/components/schemas/AccountantValidationResult]/checks/items/assurance to the response with the status

    2 more changes in this revision