Sales documents generated in Base or imported from external sources into the system (depending on preferences) can be sent to customers in messages, as well as shared on order information pages.
You can also transfer invoices to most marketplaces (for orders originating from them).
Sending invoices to customers
To have the system automatically send invoices to your customers, follow these steps:
1. Create an appropriate email template
You can add your own email templates in the Orders → E-mail/SMS templates section.
You can send invoices in a message in two ways:
- as a link – simply use the [link_faktura_pdf] tag in the email template to display the invoice’s URL in the message. If you want it to be a text link, use:
<a href=”[link_faktura_pdf]”>Link to invoice</a>
- as an attachment – configure the attachment settings at the bottom of the page in the email template editing window (in this case, pay attention to whether attachments are not removed by the recipient’s inbox).
If instead of invoices from the Base system you want to send:
- invoices from external accounting systems – change the settings in the Integrations → Accounting program → Settings section (field Display invoice to customer (…) instead of Base invoice);
- invoices generated outside the system and added via API/from disk – make sure that such an invoice is already saved with the order before you send a message to the customer.
2. Sending
You can send messages individually from the order card, in bulk from the order list, or using automatic actions.
For manual sending, simply select the appropriate, previously created message template:
- on the order card in the Exchange of messages → Write a message section;
- on the order list, after selecting the orders for which you want to send invoices, under the Send message button.
For the system to automatically send messages with an attached invoice, in the Orders → Automatic actions section, create an automation for the selected event performing the Send e-mail action and choose the template you created in step 1.
Transferring invoices
For some integrations (e.g., Amazon, eMAG), it is possible to automatically transfer invoices directly to the marketplace platform. This option can be enabled in the Integrations → Marketplace account → Orders → Invoice – forwarding section.
Depending on the settings, this can be an invoice:
- generated in the Base system;
- generated in an external online accounting system;
- generated outside Base and added as a .pdf file;
- generated in the ERP system and added to the Base system via API. Note – this option is only available for selected ERP integrations. To upload invoices via API, use the method https://api.baselinker.com/?method=addOrderInvoiceFile .
In the Integrations → Marketplace account → Orders → Invoice – forwarding section, the following options are available:
- Yes, automatically push invoices once created (this option should not be selected for invoices added via API/from disk);
- Forward after transfer to selected status.
If you generate invoices in the ERP system, be sure to select the Forward after transfer to selected status option (to ensure that the invoice added via API is already in the system at the time of transfer).
Remember to properly configure the Base system to:
- First add the ERP invoice to the Base system.
- Then move the order to the appropriate status.
If at the time of moving to the selected status there is no saved ERP invoice for the order, the system will send the Base invoice.