This API endpoint takes trial balance data and uploads it to a user's FloQast tenant. Use this endpoint to assign or update trial balance values for each account in a given entity and period.
Requests to FloQast's API must be authenticated using an API key. The API key must be included in the x-api-key
header of each request and can be generated in the FloQast application. The key should also have the correct permissions to access the API endpoints you are using. Directions to generate an API key
curl -i -X PUT \
https://developer.floqast.app/_mock/content/api-reference/openapi/api/v1/trial-balance/upload \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"data": [
{
"entityId": "5e94d5b63f557b001420bbe2",
"period": {
"month": "january",
"year": "2019"
},
"accounts": [
{
"name": "Software Development Costs",
"number": "2210",
"balance": "123.45"
}
]
}
]
}'
{ "data": [ { … } ] }