We’re currently making some incredible improvements to SmartScan! During this time, you may experience delays of up to 24 hours for receipts completing SmartScan. This should be a short-term inconvenience that results in significant improvements to both SmartScan processing times and accuracy going forward. Thank you for your patience and please accept our apologies in advance! 

How do I GET an expense(s)?

alex_brexalex_brex Posts: 1 Expensify Newcomer

The API provides a clearly documented way to create expenses: https://integrations.expensify.com/Integration-Server/doc/#expense-creator

Is there an equivalent API for getting expenses? In particular, I'd love to GET the/all expense(s) that have a given externalID I used when creating the expense.

If the API were consistent GETing information about policyList's, I would expect this to look something like:

curl -X POST 'https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations' \
    -d 'requestJobDescription={
        "type":"get",
        "credentials":{
            "partnerUserID": "_REPLACE_",
            "partnerUserSecret": "_REPLACE_"
        },
        "inputSettings":{
            "type":"expenseList",
            "externalID":"my_id_123"
        }
    }'

Answers

Sign In or Register to comment.