Search
Getting Started Invoice sending Invoice sending Consumer Invoicing Printing Email Invoicing Invoice Receiving Invoice Receiving Scanning Detect Fraud reporting Integration tools Webhooks Reference implementations Maventa Connector Embeddable User Interface Peppol Peppol Network Document Exchange Invoice Response Self-billing support Invoicing formats Invoicing formats Validation Peppol BIS 3.0 Preview Maventa JSON (table) Preview Maventa JSON (json schema) Account Management Companies and Settings Users Billing

Email Invoicing

Email is the primary fallback delivery method used whenever an invoice cannot be sent as an e-invoice. The system automatically evaluates delivery options in the following order:

  1. E-invoice
  2. Email
  3. Print service

If email is the desired delivery method, the sender can force it by disabling all other routes in the invoice sending API. Email delivery is enabled by default for all company accounts but can be disabled in company settings or per invoice.

To successfully send an invoice by email, the recipient’s email address must be included either in the XML or provided via metadata in the invoice sending API.

Forced email route

You can force an invoice to be sent via email by using the POST /v1/invoices sending method and disabling all other delivery routes in the metadata. The recipient’s email address can also be defined in the metadata, and if provided, it will override the address specified in the XML.

Forcing email delivery is also possible with certain XML formats:

<eb:To>
  <eb:PartyId>EMAIL</eb:PartyId>
  <eb:Role>Receiver</eb:Role>
</eb:To>

Or if SOAP header is not an option then as following:

<ToIdentifier SchemeID="0037">EMAIL</ToIdentifier>
<ToIntermediator>EMAIL</ToIntermediator>
<NET_SERVICE_ID>EMAIL</NET_SERVICE_ID>

Email sending settings

There are four options available for senders to choose how their emails are delivered. These email settings can be modified via the UI or through the PATCH /v1/company/settings API method.

Selecting this option means the invoice email will include a link to download the invoice from the Maventa service, from a email invoice display page. A passcode is included in the email, which the recipient must enter to access the invoice. When the recipient opens the invoice via the link, the sender receives a notification email, provided notifications are enabled.

Please note: the link to the hosting service is valid for 90 days after invoice due date. After this period, the recipient will be asked to contact the sender to get the copy of the invoice.

Send all invoice emails with attachments

Seleting this option means that invoice emails will have the PDF image and other files as attachments. If the total size exceeds 5 MB, there will instead be a download link. In Finland, a virtual barcode is included in the email body when sending with this option.

Note: The sender does not receive a delivery confirmation or notification if email sending fails.

Send all invoice emails with merged PDF attachments

Selecting this option means that all PDF attachments and the PDF image are combined into a single PDF file. If the total size exceeds 5 MB, the email will include a download link instead. In Finland, a virtual barcode is added to the email body.

Important: Sending with merged PDF attachments is not compatible with digitally signed PDF invoices.

Send all invoice emails with invoice objections

With this option, recipients must accept the invoice before accessing payment information. They can also decline the invoice and optionally provide a reason. When an invoice is accepted or declined, the sender receives a notification, and the invoice status is updated in Maventa.

Please note: the link to the hosting service is valid for 90 days after invoice due date.

Invoice XML as attachment to email invoice

You can attach an invoice XML file to email invoices. This enables the receiving party to obtain structured XML data instead of a PDF, making it easier to import the invoice directly into their invoicing systems. This feature was initially requested by the Netherlands, where Peppol does not support departmental divisions due to the lack of separate Peppol IDs. By attaching the XML to the email, departments can still receive structured invoice data and manually import it into their systems. Although developed for Dutch use case, this functionality is available for all countries without any restrictions.

To enable XML attachment for email invoice, use the email_settings[xml_format] parameter in the POST /v1/invoicesrequest and specify the desired XML format (see list of available formats in the Swagger documentation).

When this parameter is provided, the invoice will be sent only via email. The email route is forced, and no other delivery channels are attempted even if the email sending fails.

The cost of sending email with XML attachment is the same as for sending an e-invoice in the respective country.

Header image to customize email

Invoice email body can be customized by adding a header image that will be visualized on top of the email body. Adding a header image to customize the email provides a great opportunity to enhance recognition and ensure that recipients can easily identify the sender.

Header image can be added via API using the endpoint PATCH /v1/company/settings by updating the company settings with the chosen image, or via the UI from invoice settings.

Header image requirements

Once the email header image is added, the next time an invoice is sent via email, the email will feature the uploaded image. It is important to note that the header image only affects the invoice email. Other types of emails, such as notifications, will not include the header image.

There is a possibility to add customer’s own payment link to be visible on the email invoice display page. This will enable the recipient to access the payment service by simply clicking the provided payment link within the email invoice display page. To ensure security, we require prior approval of the link’s domain, and we always validate the link before displaying it.

If you wish to use payment links in your invoice emails, please reach out to our support team to request the activation of this feature.

Link can be given in an AdditionalDocumentReference element in UBL based formats (PeppolBIS 3.0, SiUBL 2.0) by defining the ID as “68” and DocumentDescription as “Payment link”. Link itself is given in the URI field.

<cac:AdditionalDocumentReference>
    <cbc:ID>68</cbc:ID>
    <cbc:DocumentDescription>Payment Link</cbc:DocumentDescription>
    <cac:Attachment>
      <cac:ExternalReference>
        <cbc:URI><http://pay.your.com/p/xxxxxxxxxxxxx></cbc:URI>
      </cac:ExternalReference>
    </cac:Attachment>
</cac:AdditionalDocumentReference>

Message to the email receiver

Sender can define a message and contact details that are shown in the email body. These details can be added either via UI or through API using PATCH /v1/company/settings method.

A confirmation message is sent to any defined contact email, and the address must be confirmed before it appears in invoice emails.

Language of the email

Email language is determined by the input (XML) format and the language setting within it. Supported: FI, EN, SE, NO, DK, NL.

Click the XML your product is sending from the list below to see how the language of the email invoice is defined:

Finvoice

  1. InvoiceRecipientLanguageCode

  2. Fallback / default: FI

Finvoice also supports SV (Swedish) because Finvoice uses ISO 639 Language Codes e.g. FI, SV, to define the language. So both SV and SE will result the same, Swedish language.

EHF/Peppol BIS

  1. AccountingCustomerParty/Party/PostalAddress/Country/IdentificationCode (FI/SE/NO/DK/NL only)
  2. Sender’s Maventa account country code (FI/SE/NO/DK/NL only, when AccountingCustomerParty/Party/PostalAddress/Country/IdentificationCode empty)

  3. Fallback / default: EN

LiinosXML

  1. Data/Parties/Party[Type=”IV”]/Language

  2. Fallback / default: EN

TEAPPSXML

  1. RECEIVER/CUSTOMER_INFORMATION/LANGUAGE_CODE

  2. Fallback / default: EN

SEDI

  1. /Invoice/Header/PrintInfo/Layout/@Language

  2. Fallback / default: EN

Svefaktura

  1. BuyerParty/Party/Address/Country/IdentificationCode (FI/SE/NO only) NOT WORKING CURRENTLY

  2. Fallback / default: EN

VismaXML 6.0

  1. PrintInfo/Layout[“Language”]

  2. Fallback / default: EN

E2B

  1. Invoice@language (FI/SE/NO/DK/NL only)

  2. Fallback / default: EN

When using invoice_create API method for sending

  1. :lang
  2. :customer[:lang]

Fallback / default: EN

Email reminders

Senders can configure reminder email frequency for invoices that have not been opened, accepted, or declined. This does not apply to invoices sent as attachments.

Configure via UI or using PATCH /v1/company/settings method and reminder_frequency.

Sender email address and reply-to address

All invoice emails are sent from: noreply@mail.maventa.com. This sender address is fixed and cannot be customized.

The reply-to address is determined in the following order:

  1. The contact email address, if defined
  2. The API user’s email address
  3. The company email address

Error handling

If an email bounces due to a non-existent address, the invoice ends up in an error state and the sender is notified (unless notifications are disabled). The error is also returned via API.

:::note Invoices do not go to error state if the recipient’s mailbox is full or if the email goes to spam. For large attachments, it is recommended to verify that the recipient actually received the invoice. :::

PDF attachments must be provided without encryption or any security restrictions. Password-protected files or PDFs with limited permissions (such as disabling printing or content extraction) can cause delivery issues, particularly when merging multiple PDF files.

Back to top

AI Chat Support 24/7

  • Get help via AI chat available 24/7 whenever it suits you
  • Chat extensively uses Maventa support pages, websites, and blogs in its answers
  • If you need assistance that the AI cannot provide, you can also ask a customer service agent to join the conversation
  • Support requests processed Monday to Friday
Cancel Open chat

Got feedback?

Did you not find what you were looking for? Or was something explained unclearly? Or just want to share your thoughts? We are happy to hear your feedback!

Note: This form is not a way to get support, this is only for feedback for the documentation website. If you need support, please contact Maventa support.

Integration Guide Services & Reach API Specification Changelogs Integration guide Getting Started Invoice sending Consumer Invoicing Printing Email Invoicing Invoice Receiving Scanning Detect Fraud reporting Webhooks Reference implementations Maventa Connector Embeddable User Interface Peppol Network Document Exchange Invoice Response Self-billing support Invoicing formats Validation Peppol BIS 3.0 Maventa JSON (table) Maventa JSON (json schema) Companies and Settings Users Billing Services and reach Maventa services and reach e-invoicing in Belgium e-invoicing in Denmark e-invoicing in Estonia e-invoicing in Finland Mass Printing Service Amili Kassavirta Amili Perintä Ropo Perintä e-invoicing in Germany e-invoicing in Italy e-invoicing in the Netherlands e-invoicing in Norway e-invoicing in Poland e-invoicing in Sweden Api specification API overview Getting Started Common & authentication API Invoices API Documents API Companies & settings API Lookups API Detect API Validator API Receivables API Billing API Scanning API B2CFI API B2CNO API B2CSE API Partner API Getting Started API Methods Overview Account Configuration API Methods Invoice Sending API Methods Invoice Receiving API Methods B2C Norway API Methods B2C Finland API Methods Other API Methods Changelogs Product changelog Developer Changelog
Clear Send

Enter your credentials to Maventa testing environment, to authenticate and try things out with the Swagger UI. This will fetch a Bearer token using OAuth2 with the endpoint POST https://ax-stage.maventa.com/oauth2/token. The token is stored in your browser's session storage (cleared when you close the tab) and used in Swagger calls done from this documentation website. The token is valid for 1 hour.

Never use your production credentials here. This is only for testing the Maventa test environment in the Swagger UI.
All None
eui global company lookup document:receive document:send invoice:receive invoice:send company:read company:write validate receivables:assignments analysis billing:reports partner:invoice_delivery_actions partner:lookups partner:takeovers partner:lyanthe_scan_service fi_bank_message:send fi_bank_message:receive
Cancel Sign In