Cards, prop trading & accounting
Validate Mappings Complete
Checks whether the client's account mappings cover every required category and are token-consistent.
GEThttps://api.toku.com/platform/validate-mappings-complete
Required scope: integrations:read
curl --request GET \
--url 'https://api.toku.com/platform/validate-mappings-complete?invoiceType=EOR_PEO' \
--header 'Authorization: Bearer <token>'200 response
{
"complete": true,
"missing": [
"GROSS_WAGES"
],
"valid": true,
"reason": "string"
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Query parameters
clientIdstring<uuid>invoiceTypestringrequiredAvailable options: EOR_PEO, CONTRACTOR, W2_YEAR_END, HRIS_PAYROLL
Response
200Successful response
completebooleanrequiredmissingstring[]requiredvalidbooleanrequiredreasonstring400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits