Retrieving non-billable expenses with the API

MedWMedW Posts: 7 Expensify Newcomer
edited January 17 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

Sign In or Register to comment.