How to use public APIs to retrieve Expensya customer data as a VAT recovery partner?

nouara benchikh Updated by nouara benchikh

 

The VAT recovery partner can use public APIs to retrieve data from Expensya customers that will be used in the recovery process.

1- Registration on the API portal

The partner must register on Expensya API portal:  https://developer.expensya.com/

Once connected, the "Expensya API" page will be displayed with our various APIs products

"Expensya Management" It is a set of APIs that gives the possibility to synchronize between elements in  an  Expensya account and  an external  information system and vice versa (Example: users,  expenses, projects, etc...).

2- Choose the name of your subscription and confirm
3- A new API token portal will be generated

4- Generation of the Token from a client's account

The customer must generate an authentication token to the partner, which will then be used as the API input. This token will allow the partner to access the client data via API.

Here how to generate the token from the client's Expensya account:

·       Go to the "Administration" tab, sub-menu "Integrations"

·       Click on "API Keys"

·       Click "Generate a new token"

·       Choose the type of access

·       Copy the Token via the "Copy" button

It is possible to see  the  generated token  and the creation date in the list of API keys

5- How to use APIs

To use APIs from the portal, you must send two types of tokens into the header of theAPIs:  

1. The token created after the subscription on the product "Expensya Management API" will be used as an input for the Header of "Ocp-Apim-Subscription-Key"

Note: This token is not linked to a single account, it can be used to query multiple accounts

2. The token  generated will be used as an input for the Header of "Expensya-Token"  

The Get Expenses API will collect customer expenses, accounting and VAT details. Several filters are available  refine as needed.

 

For further informations please contact the support team via support@expensya.com

How did we do?

How to use Expensya's public APIs?

Contact