An access token lets an external tool, for example accounting software, read some of your Malt data. You create it in My account, then copy it into the tool. Malt shows it only once.
- Open My account, then API Keys.
- Generate a token with the READ_INVOICE permission for a tool that imports your invoices.
- Copy it straight away. If it is no longer shown, generate a new one: the page shows it only once.
Where to create it
- Open My account.
- Choose API Keys. The page is titled Authentication Access.
- Click Generate token.
- Under Token type, leave Account.
- Under Permissions, select READ_INVOICE. This is read access to your invoices. For a tool that imports your invoices, this permission is enough.
- Fill in Token name. The name of the tool works well.
- Note (optional) can be left empty.
- Click Generate.
- Copy the token immediately. The page says: “Be sure to copy your new access token now. You won't be able to see it again!”
The screen shows the code READ_INVOICE, not a phrase such as “Read invoices”.
Paste it into the tool
Paste the token into the tool, where it asks you to connect to Malt. Paste it in full, with no space before or after.
If you closed the window before copying it, generate a new one, then delete the one you could not copy. A new token is enough in this case.
If the tool rejects the token
The reason for the rejection is shown in the tool, not on Malt.
- Check that the pasted token is complete, with no space before or after.
- Check that the READ_INVOICE permission is selected.
- If needed, generate a new token with this permission, and paste that one.
If the tool still rejects this new token, contact Malt support. Give the token name, its creation date and the message shown by the tool. Do not send the token.
When to contact support
Contact support in two cases.
- The page shows: “An unexpected error occurred, the access token couldn't be created.”
- A tool rejects a token you have just generated, while READ_INVOICE is selected and the token was pasted in full.
Give the token name, the date and the message shown by the tool. Do not send the token: it gives access to your invoices.
If the token is no longer shown, you can generate a new one yourself. The page shows it only once.