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

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

  1. Register on the API portal:

The partner must register on Expensya API Portal.

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

Expensya Management APIs 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...).

  1. Choose the name of your subscription:
  1. A new API token portal will be generated:

  1. 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 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.

  1. Use of APIs:

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

  • The token created after the subscription on the product Expensya Management API will be used as an input for the header of the Ocp-Apim-Subscription-Key.
This token is not linked to a single account, it can be used to query multiple accounts

  • 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?


Powered by HelpDocs (opens in a new tab)