Skip to main content

How to set up your Inbox

Connect email, e-Boks and Digital Post, enable the Meta, Google and Brobizz channels, and choose who can see the mail.

Written by Nicki Elgaard

This is where you decide where Payfriend fetches receipts and mail from: email, e-Boks Erhverv and Digital Post. Everything that comes in lands in your Inbox, where documents are scanned and can be matched to the bank and booked.

You find the page under Settings → Inbox. It has one tab per source: Email, e-Boks, Digital Post, one tab for each supplier where we remind you about missing documents (Google Ads, Meta, Google Workspace, Google Cloud and Brobizz), and General. The e-Boks tab only shows when e-Boks Erhverv is enabled for your company, and the Digital Post tab only when Digital Post has been opened for it. At the top of the Email, e-Boks and Digital Post tabs there is a guide you can unfold.

Email

1. Use your Payfriend address. The Payfriend address card shows your company's permanent document address. It is always on, and you do not need to connect anything. Click Copy and give the address to your suppliers, or forward mails with attachments to it. The card shows how many mails have been received, so you can see that it works.

2. Choose how far back to go. In the Fetch vouchers from field you choose how far back Payfriend fetches documents when you connect a mailbox. You can choose from the last 7 days up to the last 12 months.

3. Connect a mailbox. Click Gmail or Outlook, and sign in with Google or Microsoft to give access. You connect a shared mailbox in Microsoft with Shared mailbox: sign in with your own Microsoft account and type the address of the shared mailbox. Groups and distribution lists do not work.

4. Another mailbox. If you use another provider, click Other mailbox, choose the provider and enter the email address and password. Many providers require an app password instead of the password you sign in with. Payfriend tests the connection before saving it.

5. Check that it works. Each connected account shows when it was last synced and how many mails and documents were found. If you change Fetch vouchers from on a connected account, Payfriend scans the mailbox again. Documents you already have are not created twice.

e-Boks

The setup itself happens in e-Boks Erhverv. You only do it once.

1. Create the integration in Payfriend. Fill in Contact person name, Contact person email and Contact person phone, and click Create e-Boks integration. You then get the URL at e-Boks field, which is where e-Boks must send the mail.

2. Set up the forwarding at e-Boks. The guide has a button, Open e-Boks Business. Sign in with MitID and follow the steps in the guide: open Menu, choose automatic forwarding of mail, click to set up an integration to a system, paste the URL from Payfriend, and choose API version 2. Fill in the contact person with the details you gave in Payfriend, and click Create.

3. Wait for the first mail. e-Boks sends no test message. The integration shows Waiting for first mail and activates on its own the first time real mail arrives.

To stop again, click Disconnect e-Boks, and remember to remove the URL at e-Boks too.

Digital Post

Digital Post gathers the company's public authority mail in Payfriend. Only the company's owner can connect and disconnect. It requires a paid subscription and a person with the System Administrator role in Administrativ Adgang (admin.digitalpost.dk) and MitID Erhverv. Allow about 10 minutes.

1. Read and accept the consequences. Click Connect Digital Post. Once you connect, the transferred mail can no longer be read on Virk, e-Boks, mit.dk or in the Digital Post app. Tick the box and click Accept and continue.

2. Create the system in Administrativ Adgang. The guide has a button, Open Administrativ Adgang, and shows the values you need: PayFriend's CVR and PayFriend's IP address. Follow the seven steps in the guide: Systemtilslutning → Opret system → Opsæt et nyt system, name it PayFriend, choose receiving system only and the protocol REST PULL, and leave the endpoint empty. Enter only PayFriend's IP address in the allowlist, grant PayFriend's CVR power of attorney, activate the system now, enter your own technical contact, and click Tilslut.

3. Paste the details into Payfriend. Paste the System ID and API key from the receipt page at Digital Post. They are shown only once, so copy them right away. Click Save and connect.

4. Check the connection. Saved details are not the same as a working connection. Click Check connection. If it says Verified, it works. An empty mailbox is also a successful check.

To stop again, click Disconnect, and remove PayFriend's system in Administrativ Adgang too. Letters you have already received stay in Payfriend.

Under the Access to Digital Post and e-Boks card, the owner chooses who may read the company's mail.

Meta, Google and Brobizz

Some suppliers do not send a document themselves. The tabs Google Ads, Meta, Google Workspace, Google Cloud and Brobizz show whether Payfriend has seen withdrawals from the supplier in the bank. Click Enable, and Payfriend creates a task in the Inbox when a document is missing, and you drop the document on the task. Click Disable if you do not want the reminders. You do not sign in to the supplier in Payfriend.

General

Here you control the Inbox for the whole company:

  • Email privacy: choose All team members or Owners and admins only. Digital Post and e-Boks use separate mailbox access.

  • Automatic documents: a scanned document that matches a bank transaction is created as a document on its own.

  • Automatic bank match: a scanned document is linked to the bank transaction when exactly one transaction has the same amount and currency. Nothing is booked.

  • Automatic bills: a scanned supplier invoice with no bank match is created as a bill for review, but only at high OCR confidence. It is never booked or paid automatically.

Common questions

  • I cannot see the e-Boks tab. It only shows when e-Boks Erhverv is enabled for your company. Write to us if you want to get started.

  • I cannot see the Digital Post tab. It only shows when Digital Post has been opened for your company. Write to us if you want to get started.

  • My other mailbox rejects the login. Use an app password from your provider instead of your normal password.

  • Are e-Boks and Digital Post the same? No. They are two separate sources. To receive from both, you must connect both.

  • Why can I not connect Digital Post? Only the company's owner can change the setup, and the company needs a paid subscription.

Read also

Need help?

Click the i icon at the top of the page (Help for this page) and choose Take interactive tour to see the walkthrough again. If you still cannot make it work, write to us in the chat at the bottom right or at [email protected].

Did this answer your question?