Converting Inbound E-Documents into Transaction Records

Converting an E-Document into Vendor Bill Linked to Purchase Order

The process of converting purchase order to vendor bill is viewed from the perspective of the NetSuite user being a customer, who purchased items or services from a vendor. In this scenario, the NetSuite user initially sends a purchase order to a vendor, by outbound electronic invoicing. The purchase order is received by the vendor and processed on their side. The vendor will enter the details of the purchase order into their system and eventually generates an invoice record, which is then converted into an XML e-document and returned to the NetSuite user. The XML e-document from the vendor is received by the NetSuite user through the inbound electronic invoicing feature. The NetSuite user uploads the received XML file to NetSuite as an inbound e-document record. It is this inbound e-document record that will undergo conversion to a vendor bill that is linked to the original purchase order.

Purchase Order Items and Expenses in Inbound E-Documents

As an item or an expense is required in a purchase order, either of them must also be included in the e-document for conversion; otherwise, conversion to vendor bill will not proceed.

In addition, items or expenses specified in the inbound e-document must include relevant details:

For more details about the prerequisites for converting inbound e-documents with purchase orders items or expenses, see the following topic.

Prerequisites and Conditions for Conversion

Permission to Convert E-Documents

Your user role must have the permission to convert e-document records into NetSuite transactions. For more information about granting a role the permission to perform inbound e-document conversion, see Setting Up Custom Roles that can Convert Inbound E-Documents.

Status of Purchase Order

The inbound XML e-document must not be linked to a purchase order whose status is fully billed, unapproved, rejected, cancelled or closed. Otherwise, the conversion will fail. Conversion will also fail if the vendor in the inbound XML e-document is different from the vendor in the purchase order.

Inbound E-Document has Reference Number with Mapping in the Template

The Reference Number must be included in the inbound XML e-document and the e-document template must contain the mapping for the reference number. Without the reference number in the inbound XML e-document or the correct reference number mapping in the template, conversion of the e-document will fail.

Inbound E-Document has Purchase Order Number and the Template has Mapping to the createdfrom Field

The Purchase Order Number must be included in the inbound XML e-document and the e-document template must contain the mapping for the createdfrom field. Without the Purchase Order Number in the inbound XML e-document or the correct reference number mapping in the template, conversion will result in a stand-alone vendor bill or vendor credit. See Converting an Inbound E-Document Without a Purchase Order Number.

Bypassing Purchase Order Number

While converting an inbound XML e-document into a vendor bill, you can bypass the purchase order number validation if:

You can bypass the validation (checking if the purchase order number in the XML e-document is present in the account) from the E-Document Subsidiary preferences.

To bypass purchase order number validation during inbound conversion:

  1. Go to Setup > E-Documents > Electronic Invoicing Preferences.

  2. Click the subsidiary of the vendor for which you want to bypass purchase order (PO) validation.

  3. Click Edit.

  4. (Optional) In the Bypass PO# Validation in Inbound Conversion field, you can select Yes if you want to bypass the purchase order number validation and create a standalone vendor bill if a matching purchase order number is not found in the account.

    By default, the field value is No which refers to no matching purchase order number is found while converting an inbound e-document into a vendor bill. So, no vendor bill will be created and conversion will throw an error.

Purchase Order must have either an Item or Expense

The reference purchase order of the inbound e-document for conversion, must have either an item or expense specified. Without item or expense, the inbound e-document will not be converted. Moreover, purchase order items or expenses must have required details included in the inbound e-document for conversion. The required details of items or expenses are discussed in the following sections.

Required Account and Amount for an Expense

If the XML e-document has an expense line, the required Account and Amount fields of the bill must have values. The Account field of the expense line references the value of Default Expense Account on the Financial subtab of the vendor record. Therefore, the vendor must have a Default Expense Account setup or the conversion will fail.

Required Vendor Code for Item Records

If the purchase order has item records, the vendor code of these item records must be included in the inbound XML e-document. If the Multiple Vendors feature is enabled during conversion, you must enter the Vendor Code on the Vendors subtab of the item record. The vendor code will be used to map the items to their corresponding vendor. If the vendor code in the XML e-document does not match any vendors, conversion will fail. The vendor code field is highlighted in the following screenshot.

Inventory Item record with Purchase/Inventory subtab shown

Required Vendor Code/Name for Item Records

If the Multiple Vendors feature is disabled, the vendor code/name on the main tab of item records must be included in the inbound XML e-document. Otherwise, the conversion will fail. If two or more items have the same vendor code/name, implying duplicates, the conversion will fail. The vendor code/name field is highlighted in the following screenshot.

Inventory Item record with Vendor Code/Name field highlighted

Inbound E-Document has Billing Reference and the Template has Mapping to the Apply Subtab of CreditMemo

If the billing reference is included in the inbound XML e-document, the e-document template must contain the mapping for the invoice ID of Apply subtab. Without the existence of valid bill referenced to the Invoice ID present in the billing reference of XML, the inbound XML e-document conversion will fail. But without the billing Reference, the inbound XML e-document conversion will still result in a stand-alone vendor credit.

Related Topics

General Notices