Send an invoice received by email to ScanPdf
A supplier sends you their invoice as an attachment, a customer forwards their purchase order. Rather than downloading the file and uploading it again into ScanPdf, this action hands it over directly from the email. The document is then processed in ScanDocuments, like any other.
Capmail neither reads nor creates anything itself: it deposits the file in ScanPdf, and ScanPdf extracts its data and creates the invoice or the order.
Before starting
- The ScanPdf module must be enabled, in a version recent enough to accept documents coming from Capmail. With an older version, the tab does not appear.
- You must have the ScanPdf write right. Without this right, neither the tab nor the block of the card appears.
- The email does not need to be linked to a third party: ScanPdf recognizes the supplier itself when analyzing the document.
- Only the attachments ScanPdf can read are offered: PDF, JPEG and PNG. The source
email.emlfile and other types (spreadsheets, archives...) do not appear.
From Lead Mode
- Open the email.
- Right column, click the ScanPdf tab.
- The tab lists the attachments ScanPdf can read. If the email has none, it says so.
- Click Send to ScanPdf next to the attachment you want.
- Click Open ScanDocuments: the ScanPdf application opens in a new tab, where the document is waiting for you.
Once an attachment has been sent, the tab shows instead:
- the status of the document in ScanPdf: Waiting, Analyzed, Success, Partial, Error...;
- a ScanPdf document link that opens its card in ScanPdf;
- when ScanPdf has created something from the document, a link to the created object, for example the supplier invoice and its reference.
From the email card
In the right column, under the attachments, a ScanPdf block shows the same list, with a Send to ScanPdf button per attachment and the Open ScanDocuments link. The block only appears if the email has at least one PDF or image attachment and ScanPdf is available to you.
Then, in ScanDocuments
The document appears in the ScanDocuments list like a document deposited from the application, with the email as its origin. You process it as usual: reading, checking the extracted data, then creating the supplier invoice or the order. See the ScanPdf documentation.
The attachment is copied into ScanPdf: the email keeps its own and remains a faithful archive of what was received.
The email is attached automatically
When you validate the import in ScanDocuments and ScanPdf creates a supplier invoice or a customer order from an attachment sent from an email, that email is attached to the created object, with nothing more to do:
- the email appears in the "Linked objects" block of the invoice or the order;
- the object appears among the attached objects of the email, as after a manual attachment.
The other objects ScanPdf can create (supplier order, reception, salary...) are not attached to the email.
No duplicates
- Sending the same attachment twice does not create a second document: the message says it is already in ScanPdf, and the tab shows the existing document.
- If the same file has already been deposited in ScanPdf another way (ScanDocuments application, invoicing platform...), that existing document is found, not a copy.