Invoice Import

NetSuite Invoice transactions are records of sales for which payment is not received at the time of delivery. Invoice records include the items sold, their prices, and payment terms.

You can use the invoice import to import historical sales data. If you also are importing customer payments, and you want to apply imported payments to imported invoices, you need to import invoices first, and include unique IDs, preferably external IDs. You then can reference invoices in your customer payment import file.

If the Use Account Numbers preference has been enabled at Setup > Accounting > Accounting Preferences, imported values for the Account field should include both account number and name, for example: 11000 Accounts Payable. If this preference is not enabled, values should be account name only, for example: Accounts Payable.

Important:

A payment can be associated with an invoice through the internal ID or external ID only. The transaction ID is not unique and cannot be used.

For details about fields that can be mapped in the invoice record, see the SOAP Schema Browser’s invoice reference page. You can use the field definitions here as a basis for creating your own CSV import template file. For information about working with the SOAP Schema Browser, see SOAP Schema Browser.

Review the following guidelines for invoice imports:

Supported Invoice Sublist Data Imports

The Invoice import supports the import of the following sublist data:

Sublist

Notes

Accounting Book Detail

Available when Multi-Book Accounting feature is enabled, and only when more than one active accounting book exists.

Selectively updateable based on Accounting Book key field.

Auth. Code

When Gift Certificates feature enabled.

Billable Expenses

When Projects and Advanced Billing are enabled.

Billable Time

Selectively updatable based on related transaction ID (***doc).

Items

You must import at least one line item for all new records, and you must map required fields for this sublist on the Field Mapping page. See Required Items Sublist Fields for Transactions Imports.

Selectively updatable based on Line/Order Line or Item key field. See Line Item Updates on Transactions Imports.

Partners

When Multi-Partner Management feature enabled.

Selectively updatable based on Internal ID, External ID, or Partner.

Sales Team

When Team Selling feature enabled.

Shipment

When Multiple Shipping Routes feature enabled.

If the Item Options feature is enabled in your account, you can import values for custom transaction item options along with Items sublist data. Transaction item options must first be set up at Customization > Lists, Records, & Fields > Transaction Item Options > New, with one of the following Applies To settings: Sale, All Items. For details, see Importing Transaction Item Options.

For imports that update existing Invoice records, handling of sublist data updates depends upon the setting for the Overwrite Sublists advanced option, and on whether the sublist is keyed. Complete deletion of sublist data currently is not supported. For more information, see Sublist Data Import.

Important:

For non-keyed sublists, you shouldn't update main transaction fields and sublist fields during the same import job.

Supported Invoice Subrecord Data Imports

The Invoice import supports the import of the following subrecord data:

Subrecord

Notes

Billing Address

By default, the subrecord Address field is read-only, and data from other subrecord fields is copied into it. If you map the Override field and set it to Yes (meaning true), you can import data for the Address field.

Items — Inventory Detail

When Advanced Bin/Numbered Inventory Management feature enabled.

Shipping Address

By default, the subrecord Address field is read-only, and data from other subrecord fields is copied into it. If you map the Override field and set it to Yes (meaning true), you can import data for the Address field.

Importing Currency Values for Invoices

When the Multiple Currencies feature is enabled, the import of Currency field values is supported for newly created invoices. The Currency value for an invoice must be one of the currencies defined for the transaction's customer, on the Customer Currencies sublist. See Currency Management and Setting Multiple Transaction Currencies for Customers.

If the Multiple Currencies feature is not enabled, the Currency field value for an invoice is not editable.

Using Import Assistant for Invoices Mass Update

You can perform a mass update of existing Invoices data by exporting Invoices saved search results, changing data externally, then using the Import Assistant to import modified data, using the Update data handling option. For more information, see Creating Transaction Saved Searches for Reimport.

The Import Assistant is available at Setup > Import/Export > Import Tasks > Import CSV Records. After you select the record type for import, you choose the import character encoding. For more information, see Select a Record Type for Import and Choose Import Character Encoding.

Invoice Import Example

The following example shows how you might structure a file for importing cash sale data.

External ID

Customer

Date

Posting Period

Location

Currency

Exchange Rate

Item

Amount

Inv-00001

Tim Mason

5/10/2018

May 2018

Atlantic City

US USD

1.00

Travel Kit — Medium

15

Inv-00002

Anne Woods

5/11/2018

May 2018

San Mateo

US USD

1.00

Travel Kit — Small

10

Additional Information

Importing CSV Files with the Import Assistant
Guidelines for CSV Import Files
Invoices

Related Topics

Transactions Import Type

General Notices