Document surcharge lines on documents
Document surcharges are written by their own switches, one per document type.
Turn document surcharges on for a document type
- Open Surcharge Automation Setup.
- In the group Document Surcharges, find the row of the document type — for example Doc. Surch. Sales Order.
- Switch it on or off, and repeat for the other document types on both sides.
- Close the page. The next document of that type recalculates its document surcharge lines as its lines change.

Example. The sales order of Adatum Corporation dated 2026-03-15 gets one document surcharge line: the code FREIGHT, quantity 1, amount 109.38, and the header shows the same amount as its surcharge total.
What happens. The app writes one line per document surcharge code that has an applicable row, and one line per row without a code. An existing line is updated, never duplicated; a line whose rule no longer applies is deleted when Auto Delete Zero Surcharge is on, otherwise it is set to zero.
If something goes wrong
- Two lines with the same surcharge code appear. — That cannot happen: the app finds the line by its code and updates it. If you see two, one of them was typed by hand. Delete it.
- The amount is not what you expected. — The document value or the weight changed after the line was written. Change a line of the document, or release it, to recalculate.
