Expensify.org/hunger SNAP campaign status
We’re no longer accepting new participants as our focus is on reimbursing existing claims. While we’re unable to provide a specific timeline on when your report will be reimbursed, we’re doing our best to drive donations and keep reimbursements moving forward. If you know anyone who can donate to this campaign please encourage them to enable Personal or Corporate Karma on their Expensify account.

"Distance" expense creation

renzogiustrenzogiust Expensify Customer Posts: 2 Expensify Newcomer

Hi,

I need to create a "distance" expense via API. Using the documentation I've been able to create the expense, setting the right category, but when I see it then in the browsers, I don't see the "car" icon in the left as the ones manually created. It seems that it's correctly created, but actually not a real "distance" expense.

This is the request:

curl -X POST 'https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations' \

  -d 'requestJobDescription={

    "type":"create",

    "credentials":{

      "partnerUserID":"xx",

      "partnerUserSecret":"xx"

    },

    "inputSettings":{

      "type":"expenses",

      "employeeEmail":"[email protected]",

      "transactionList": [

        {

          "created": "2019-09-18",

          "currency": "EUR",

          "category": "Rimborso chilometrico",

          "merchant": "72 km @ €0.42 / km",

          "amount": 3024,

          "reportID": 473712323,

          "comment": "Trasferta a Treviso",

          "policyID": "4D720124AA135A",

          "reimbursable": True

        }

      ]

    }

  }'

Am I setting some wrong params?

Comments

Sign In or Register to comment.