Skip to main content
Skip table of contents

Invoice Scanning - Setup Requirements

To configure the Invoice mailbox to SAP ByDesign invoices the following information is required:

Azure Setup

Mailbox information:

  • E-mail address of the mailbox you want to read from, example ‘invoices@yourdomain.com’

  • Folder to read the new invoices from (defaults to ‘INBOX’).

  • An error folder configured as child folder on the previous mailbox, per example ‘Error'

  • Folder to move imported messages to (we advise to use the ‘Archive’ folder for that).

An Azure App Registration, this will in turn connect to the mailbox.
To read the users mailbox the following permission is needed `Application: Mail.ReadWrite`. Keep in mind to use Application and not Delegated as this will not present the correct permissions.
The permission requires Admin Consent
You also need to create a client-secret under "Certificates and Secrets", as secrets have expiry dates make sure to setup a reminder to renew the certificate before expiry date.

By default the app has permissions to send on behalf of all mailboxes in the entire domain.
To limit the app for just a specific mailbox or set of mailboxes it's possible to scope this. Please see https://learn.microsoft.com/en-us/graph/auth-limit-mailbox-access for a how-to.

Aiden Connect requires the following data:

  • The mailbox information mentioned above.

  • TenantID for the Azure environment this ID is global for all apps within your Azure environment

  • ClientID for the newly created app, this is the ID of the mail application.

  • The Secret value just created -> remember to setup an automated e-mail to renew the secret before it expires and to notify Aiden of the adjusted secret value.

ByDesign Setup

If you’re already using Aiden Connect for integrating with your SAP ByDesign environment the information is most likely already configured. If this is not the case please supply the following information. For testing purposes please supply them for your production and testing environment seperately:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.