---
title: "Action: Payment terms"
description: "Imports payment terms, creating and updating due days and cash-discount rules."
url: https://support.sapera.io/en/articles/602-action-payment-terms
collection: "SyncTool"
updated: 2026-09-25
language: en
alternates: [da]
---

# Action: Payment terms

Imports payment terms, creating and updating due days and cash-discount rules.

Imports payment terms, creating and updating due days and cash-discount rules.

## How to use the action

1\. Select the action in the **Action** field. 2. Point to your data source – a **file** (CSV or Excel) or a **SQL query**. 3. Map the source columns to Sapera's fields in the column mapping (see _Source fields_ below). 4. Run **Compare** to see what will be created, changed or stay unchanged – without writing to Sapera. 5. Run **Update Sapera** to perform the import.

Use the **Allow create** and **Allow update** parameters to control whether new rows are created and whether existing ones are updated.

## How matching and updating works

Each row is matched on the term's **identifier** (Identifier). Matching terms are updated and new ones created – with due days and cash-discount rules. Direction: from file/SQL into Sapera.

## Key parameters

<table data-id="7f4d398d-a168-43b6-b867-0eeb4558aa53" style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="cea5e733-8127-49e4-93cf-e95c4daa1e92" style="text-align: left;"><strong>Parameter</strong></p></td><td colspan="1" rowspan="1"><p data-id="c26ab271-f51f-45c6-8aee-632880801f84" style="text-align: left;"><strong>Explanation</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="e835b58a-67fb-4586-9b2e-6944cb1d93fc" style="text-align: left;">AllowCreate</p></td><td colspan="1" rowspan="1"><p data-id="8422a9fe-0427-43fa-bf76-010a8ed601c4" style="text-align: left;">When enabled, payment terms that do not already exist are created.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="0b3eff0c-7562-4a9b-a64e-b605d6a65fb0" style="text-align: left;">AllowUpdate</p></td><td colspan="1" rowspan="1"><p data-id="f88b01d9-1f46-47db-b88a-835dc0ccaf33" style="text-align: left;">When enabled, existing payment terms are updated with the values from the source.</p></td></tr></tbody></table>

## Source fields

<table data-id="fbc0c413-2ce5-4167-990b-e5531a05cbbe" style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="60753e1a-7b12-4b0e-b235-d4742a2cb146" style="text-align: left;"><strong>Field</strong></p></td><td colspan="1" rowspan="1"><p data-id="84196be9-fb8c-49d2-a42f-547a38a602ec" style="text-align: left;"><strong>Explanation</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="0fee49c1-968a-4228-83f4-3548de29d016" style="text-align: left;">CashDiscountDays</p></td><td colspan="1" rowspan="1"><p data-id="b0b338f5-21c8-4664-917d-aa3df928238f" style="text-align: left;">The number of days within which a cash discount applies.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="5513dea7-d32f-451c-ad4f-e3611bfbb72f" style="text-align: left;">CashDiscountPercent</p></td><td colspan="1" rowspan="1"><p data-id="5aeb1013-77f3-40fc-afec-0c907d69f44b" style="text-align: left;">The cash-discount percentage granted when paid within the discount period.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="bc8af17a-7889-4586-ae36-72203df6274a" style="text-align: left;">DisplayName</p></td><td colspan="1" rowspan="1"><p data-id="41ac665d-aa85-442a-8b27-c9c7f7898e04" style="text-align: left;">The name shown for the payment term.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="51d01c41-74ac-47e1-a1d2-409efd82a3ff" style="text-align: left;">Identifier</p></td><td colspan="1" rowspan="1"><p data-id="d3eb857c-7b59-4663-aa4d-0f390deaea25" style="text-align: left;">The unique identifier of the payment term.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="ff56f60a-5523-429b-9a9c-f1424af8b672" style="text-align: left;">IsRunningMonth</p></td><td colspan="1" rowspan="1"><p data-id="092e7175-c6c1-4912-acb7-4c74c031b1e0" style="text-align: left;">Whether the due date is calculated from the end of the current month.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="c1d7d4d2-83cf-4465-aef4-447689008264" style="text-align: left;">PaymentDueDays</p></td><td colspan="1" rowspan="1"><p data-id="fb6c4977-5012-4c71-ba76-c46819204d2f" style="text-align: left;">The number of days until the payment is due.</p></td></tr></tbody></table>

* * *

See also the overview [SyncTool – actions](https://support.sapera.io/en/articles/547-synctool-handlinger.md).

* * *

**Want to know more?**

Read more in these related articles:

[

Standard parameters for all actions

The general parameters available on most SyncTool actions: step control, error handling, timeout, etc.

](https://support.sapera.io/en/articles/648.md)
