This article explains how to group item lines into a single line on outbound e-invoices, using a custom transaction field and a grouped saved search.
Important: This feature applies to Basware only. Grouping items on outbound e-invoices is not yet supported with Ecosio.
Overview
You can group item lines so they appear as one line on the invoice, using a grouped saved search. This lets you hide the contents of an item group from your end customer, or implement a custom grouping mechanism.
Configuration
Add a custom transaction field
ZoneCapture needs one additional field on the transaction line level to group items on the invoice sent to the customer.
- Navigate to Customization > Lists, Records & Fields > Transaction Line Fields.
- Click New.
- Enter the following information for the new transaction line field:
- Label: Enter
Invoice Group. - ID: Enter
_line_invoice_group. - Type: Select Free-Form Text.
- Store value: Select this checkbox.
- Label: Enter
- Click Save.
- Open the newly created record again, and click Apply to Forms.
- Select all the forms your account uses for customer invoices.
If needed, you can alter the form after this step to rearrange the location of the newly added grouping field.
Create a custom saved search
- In the NetSuite global search, enter Basware Transaction Item Line Search.
Tip: Double-check the saved search ID to make sure you customize the correct one: customsearch_erpff_p2p_basware_line_2.
- Open this saved search, and click Edit This Search.
- Change the Search Title to a different name, such as "Basware Transaction Item Line Search Grouped."
- Navigate to the Results subtab.
- Add the field you created in the previous step 3 times. If you followed the naming convention, search for the field named "Invoice Group."
- Change the existing "Line Unique Key" result to Minimum.
- Under Criteria, add the filter "Shipping Line is false."
- Click Save As.
Set the custom saved search
- Navigate to Setup > ZoneCapture Setup > ZoneCapture Main Configuration.
- Click Edit to open the record.
- Navigate to the E-Documents subtab.
- In the field labeled Line Search, select the name of the saved search you created in the previous steps.
- Click Save.
Usage
- Enter the values for invoice grouping at the item line level. Lines with the same value will be grouped into one line when ZoneCapture sends the e-invoice.
- Save the invoice, and send it as an e-invoice.
Tip: To verify the results during sandbox testing, send an e-invoice from one subsidiary to another (an intercompany invoice). When ZoneCapture receives the e-invoice for the other subsidiary, check the vendor bill to confirm that lines with the same "Invoice Group" value were grouped together.
Important: ZoneCapture can only group items with the same tax rate. Grouping is performed per "Invoice Group" value and per tax item.