Retrieving non-billable expenses with the API

MedW
MedW Expensify Customer Posts: 6 Expensify Newcomer
edited January 2019 in Integrations and API

Greetings, We are using the API to integrate expense reports into our internal accounting tool. I can indeed retrieve expenses, but only those which have been checked as "Billable" I'm using the following inputSettings in the API call:

                "inputSettings":{
                  "type":"combinedReportData",
                  "reportState":"OPEN,SUBMITTED,APPROVED,REIMBURSED,ARCHIVED",
                  "filters":{
                    "policyIDList":"'.self::POLICY_ID_LIST.'",
                    "startDate":"'.$startDate.'",
                    "endDate":"'.$endDate.'"
                    }
                },

Does anyone know how I can retrieve expenses that are "non-billable"? I'm failing to see how this can be done looking at the API documentation.

Thanks for any insight.

Best Answer

Answers