Skip to main content
Question

Can we add a fee per package of a shipment

  • December 2, 2025
  • 1 reply
  • 20 views

Forum|alt.badge.img+5

Can we add a fee per package of a shipment?

 

I know we can add a fee for each line of a shipment using shipping terms.

However, we want to add a fee per PACKAGE of the shipment.  It is a small fee to cover the costs of the box being used to ship.

 

Is this possible without a customization?

 

Thanks!

1 reply

nickcerri32
Jr Varsity III
Forum|alt.badge.img+1
  • Jr Varsity III
  • December 4, 2025

@ltussing03 - Assuming you already have a non-stock item configured for the fee and that you will be invoices shipments in full, you could create a business event that imports the package fee(s) into the SO invoice. 

  1. You’ll need to create a GI that pulls from the Shipment (SOShipment), Shipment Packages tab (SOPackageDetailEx), and Shipment Orders tab (SOOrderShipment) - The Orders tab includes the Invoice Nbr. (which may not yet exist) that you’ll use to trigger the business event below once the Invoice is created.  Make sure you include all the relevant DAC keys or you’ll get a warning in step 4.
  2. Next you’ll build a Data Provider off of the GI using the Business Process Provider type.
  3. Then you’ll link the Data Provider to an Import Scenario that imports a Package Fee for every package line on the Shipment into the Sales Order Invoice details.  You’ll need to identify the fee amount here which may require a formula to associate the correct fee to each individual package.
  4. Once you’ve got those, create a business event off of the GI you built in step 1.  It’ll be the Trigger by Record Change type raised For Each Record.  There are a couple ways you can do the trigger conditions, but you might start with “Record Inserted.”
  5. Finally, add an Import Scenario subscriber and select the Import Scenario you created in Step 3.  

 

Assuming you configured everything correctly along the way, this will trigger an event every time a Sales Order Invoice is generated that looks at the corresponding Shipment and identifies all the Packages.  When the Import runs, it will add a package fee line for each package line on the shipment.  Alternatively, you could use the principal above to import the package fee on the Sales Order if you identify all your packages there.

Try it out and let me know.  Good luck!