Skip to content

Distributing Invoices

Finalized invoices, that is, those that are Open and due for payment, are supposed to be distributed to the recipients.

Info

The Basware integration is available as of JustOn 2.46.

Emailing Invoice PDF Documents

By default, JustOn supports the distribution of the generated invoice PDF documents via email. For information about what is contained in the email, like subject, text body, etc., see Email Contents.

Info

You can also use the View functionality to display and print the invoice PDF documents individually, and then mail the hard copy.

There are various options for emailing the PDF documents:

  • sending all or selected invoices from the Invoices list in the invoice run view or the Invoices tab, or
  • sending an invoice individually from its detail view or from the configured file distribution target, if set up accordingly (see File Distribution).

Info

Be aware that by default, the emails are not sent immediately. Instead, JustOn queues the emails and sends them at 03:00 every day by default.

JustOn stores the email distribution status in the field Email Status on the invoice. There are the following statuses:

Email Status Description
Unsent The default status: the invoice has not been sent yet.
Queued The invoice email is put in the queue for being sent by the corresponding job. Is set after the user has clicked Send.
Sent The email has been successfully sent by the email job.
Error The email has not been sent because of an error. The error message is written to the field Email Error.
The email job tries to resend the invoice email on its next run.

Note

For an invoice to be considered in the email distribution, the checkbox Email Invoice must be selected.

Sending Multiple Invoice PDF Documents

  1. Navigate to the Invoices list in the invoice run view or open the Invoices tab.
  2. Select the checkboxes next to the invoices you want to send, or leave all checkboxes unmarked to include all listed invoices in the distribution.
  3. Click Send.
  4. Optionally, specify the additional distribution options.
    • BCC me: If selected, sends a blind carbon copy to the current user.
    • Send the emails immediately: If selected, sends out the emails immediately.
      If left unselected, JustOn queues the emails and sends them using a scheduled job (at 03:00 every day by default).
  5. Click Continue to confirm and complete the operation.
    ▶ This sends the selected, or all, respectively, invoices to all accounts that have an invoice email recipient defined.

Info

In case you must resend multiple invoice emails, make sure to reset the email status to Unsent before trying to send them again.

Sending Single Invoice

  1. Navigate to the Invoices list in the invoice run view or open the Invoices tab.
  2. Click the ID of the invoice you want to send.
  3. Click Send.
    For draft invoices, you are prompted to finalize the invoice. Click Continue.
  4. Edit the email details as necessary.
    The email is pre-populated with the configured email contact (if available) and the contents as defined in the template (see Email Contents).
  5. Click Send.
    ▶ This sends the current invoice immediately to the specified recipients.

Info

As of JustOn 2.49, Salesforce Files is the default location for storing produced invoice and dunning reminder PDF files.

In Salesforce Lightning, you can create a public link to the invoice PDF in on the Files tab.

  1. Open the Files tab.
  2. In the row of the invoice PDF you want to share, open the actions menu and select Public Link.
    Files that have been uploaded to cloud storage services are not longer available on the Files tab.
  3. In the Public Link Sharing dialog box, click Create Link.
    ▶ You can then copy the link and email it to any recipient using your standard email app.

Redistributing Invoice PDF Documents

Depending on your business use cases or your organization's requirements, you must distribute existing invoice PDF documents to a new (or another existing) file distribution target. To this end, JustOn provides a custom button that allows you to select records from list views and distribute the corresponding PDF files to a configurable file distribution target.

Note

Make sure that the PDF redistribution is enabled. For details, see Enabling PDF Redistribution.

  1. Navigate to the Invoices list in the invoice run view or open the Invoices tab.
  2. Select the checkboxes next to the invoices you want to redistribute to a file distribution target, or leave all checkboxes unmarked to include all listed invoices.
  3. Click Distribute PDF.
  4. Select the file distribution target.
  5. Optionally, select the option to consider draft folders and draft documents only.
  6. Click Continue.
    ▶ This starts a job that regenerates the corresponding PDF files and stores them in the selected location.

Downloading Invoice PDF Documents

Certain business use cases may require you to download invoice PDF documents. To this end, JustOn provides a custom button that allows you to select records from list views and download the corresponding PDF files to a ZIP file.

  1. Navigate to the Invoices list in the invoice run view or open the Invoices tab.
  2. Select the checkboxes next to the invoices you want to download, or leave all checkboxes unmarked to include all listed invoices.
  3. Click Download ZIP.
  4. Optionally, select a specific file name pattern.
    The corresponding picklist shows the item Automatic Filename as well as the file name patterns as defined in PDF Name settings.
  5. Click Start.
    ▶ This starts a job that collects and, if necessary, regenerates the corresponding PDF files and writes them to a ZIP file.
  6. When the process has completed, click Download ZIP.
    ▶ This opens the dialog for saving the ZIP file to your computer.

Sending E-Invoices

As of version 2.46, JustOn can send electronic invoices to the Basware Network Services, through which they are distributed to the recipients.

Note

Make sure that the Basware integration is properly configured and the button Send E-Invoice is available. For details, see Setting Up Invoice Distribution With Basware.

  1. Navigate to the Invoices list in the invoice run view or open the Invoices tab.
  2. Mark the checkboxes next to the invoices you want to send, or leave all checkboxes unmarked to include all listed invoices in the distribution.
  3. Click Send E-Invoice.
    ▶ This sends the electronic invoices whose Basware status is not Finished as well as their attached documents to Basware for distribution.

Info

For information about the Basware integration and its basic concepts, see Basware Integration Concepts.