The API Integration available for the Expense Claim module include the Claim Report Integration and also the Import Claim Status Integration.
Note: For a comprehensive overview of the BrioHR API integration flow, please refer to the article here and and click here for the guide on the Claim Report (API Integration)
The integration flow with BrioHR will consists of the steps below:
- Client request for the APIs/integration access together with the list of IPs (recommended for securing the line of integration).
- BrioHR will create the credentials for client. Consists of: Authentication credentials and client’s ID.
- Client can try to connect to BrioHR API using the link, authentication & ID.
This API is used to import claim reports from status approved to reimbursed.
Report API URL:
https://static.api.briohr.com/v2/api/external/reports/claims-status/import

Expected output: ClaimsStatusImport.csv (sample)
Response:
Success
Import data validation past, import request is successful. It will take some time to complete
1 {
2 status: "success",
3 errors: []
4 }
Error
1 {
2 status: "error",
3 errors: [
4 { code: "There are other import in progress, please wait for it to finish" }, 5 { code: "Claim Report ID not found", col:2, row: 5},
6 { code: "Invalid claim report status transition", col:3, row: 7}
7 ]
8 }
Example of CURL
1 curl --location 'https://static.api.briohr.com/v2/api/external/reports/claims-status/import' \ 2 --header 'Authorization: Basic aHotYXBwOmJyaW9ocg==' \
3 --header 'x-api-context-company: 412cc8a9d90158c489b83e83' \
4 --header 'x-resource-type: claim-report' \
5 --form 'file=@"ClaimsStatusImport.csv"'
NOTE:
Kindly be informed that BrioHR will need to whitelist the client's IP and then provide the client with the username, password and company ID.
Need Assistance?
If you have any questions regarding the API above or require assistance, please reach out to our support team via live chat or email us at support@briohr.com.