Generating and Sending the Outbound E-Document of a Transaction
You can generate the outbound e-document of an invoice or credit memo record, and then send it to the Singapore PEPPOL API.
E-documents can be generated from invoices and credit memos created through the user interface, CSV import, SOAP web services, and SuiteScript.
To generate and send the e-document of a transaction:
-
Create or edit an invoice or credit memo.
-
In the Customer field, select the customer for this transaction.
You must have entered the PEPPOL ID of this customer on its corresponding record.
Note:To transmit an invoice or credit memo to Singapore government agencies, check the SG PEPPOL B2G Entity box on the customer record.
Selecting the customer automatically enters values in the E-Document Template and Sending Method fields, on the E-Document subtab. For B2G transactions, on your invoice or credit memo, select Buyer Reference on the E-Document subtab.
-
Enter items and other required information and then click Save.
The system updates the transaction record, and the Generate E-Document button or Process E-Document button (if E-Document Automation is enabled from e-Document Preferences) is displayed at the top.
On the E-Document subtab, the value of the E-Document Status field is changed to 'For Generation'.
Note:The Generate E-Document or Process E-Document button appears only when viewing the transaction record. It is not displayed in Edit mode.
-
Click Generate E-Document or Process E-Document.
If you clicked Generate E-Document, the outbound e-document is generated.
If you clicked Process E-Document, the outbound e-document is generated and sent to Singapore PEPPOL. For more information, see Combining E-Document Generation and Sending with the Process E-Document Button.
If Create PDF is checked on the transaction record, a PDF version of the source transaction is also generated.
The status of the e-document in the E-Document Status field, on the E-Document subtab, will indicate 'Ready for Sending'. If the status is 'Generation Failed', an error was encountering in generating the e-document, which you must fix first before regenerating the e-document.
For more information, see Viewing E-Document Status and Audit Trail.
-
(Optional) Click Send E-Document, if the Process E-document button is not enabled or available.
A banner appears on the transaction record indicating that sending of the e-document is in progress. The e-document is sent through webservices, as set up in the sending method.
After Singapore PEPPOL receives the e-documents, it validates the e-documents for correct format and data and then sends the Document ID and Submission status to NetSuite.
Then, the value of the E-Document Status field on the E-Document subtab is updated. For more information, see Outbound E-Document Statuses.