Payment term

This table contains one row for each payment term.

You can define corresponding texts in the Text table.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL namePmtTrmThe table name in the database.
API identifierpaymentTermsThe API identifier used in GraphQL.
Table no.32The table number in the data model.

The following fields exist in this table:

Cash disc. %

The discount percent if the payment is made in cash.

If discount months and/or days and percentage discount are a value other than 0, the system calculates a cash due date and cash amount in the current currency and default currency for open entries produced when vouchers are updated. The fields for cash discounts received and granted show the general ledger accounts to which the cash discounts are posted.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainPercentDecimal
SQL nameDcPThe database field name.
API identifiercashDiscountPercentThe API identifier used in GraphQL.
Number4940 

Cash disc. granted

The account for the granted discount when payment is done in cash.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAccount no.Integer
SQL nameOutwDcAcThe database field name.
API identifiercashDiscountGrantedAccountNoThe API identifier used in GraphQL.
Number4942 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
General ledger accountAccountForGrantedCashDiscount
  • Cash disc. granted

Cash disc. rec.

The account for the received discount when the payment is done in cash.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAccount no.Integer
SQL nameIncDcAcThe database field name.
API identifiercashDiscountReceivedAccountNoThe API identifier used in GraphQL.
Number4941 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
General ledger accountAccountForReceivedCashDiscount
  • Cash disc. rec.

Credit days

The number of free payment days until the due date.

This field can be combined with the Credit months field.

  • One free payment month means credit for the invoice month, as opposed to 30 days, which runs for the next 30 days.
  • One free payment month plus 14 days means credit until the 15th day of the month after the one in which the invoice was issued.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDaysInteger
SQL nameCrDyThe database field name.
API identifiercreditDaysThe API identifier used in GraphQL.
Number589 

Credit months

The number of free payment months until the due date.

This field can be combined with the Credit days field.

  • One free payment month means credit for the invoice month, as opposed to 30 days, which runs for the next 30 days.
  • One free payment month plus 14 days means credit until the 15th day of the month after the one in which the invoice was issued.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
SQL nameCrMthThe database field name.
API identifiercreditMonthsThe API identifier used in GraphQL.
Number588 

Days of grace

The time frame in which an overdue payment is not yet regarded as faulted.

For more information, see calculation of the Ready for reminder date field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDaysInteger
SQL nameGrcDyThe database field name.
API identifierdaysOfGraceThe API identifier used in GraphQL.
Number10962 

Description

The description of the payment term.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNameText (80)
SQL nameDescrThe database field name.
API identifierdescriptionThe API identifier used in GraphQL.
Number587 

Direct debit.

Transactions in the Open customer entry table with this payment term will be included in direct debiting.

This requires that the Direct deb. status field for the customer has the value 3 - Agreement with notification and the entry has not already been debited, or is exempt from debiting in the Payment suggested field in the Open customer entry table.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBooleanInteger
SQL nameDirDebThe database field name.
API identifierdirectDebitingThe API identifier used in GraphQL.
Number5506 

Disc. days

The number of days the cash discount is applicable.

If discount months and/or days and percentage discount are a value other than 0, the system calculates a cash due date and cash amount in the current currency and default currency for open entries produced when vouchers are updated. The fields for cash discounts received and granted show the general ledger account to which the cash discounts are posted.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDaysInteger
SQL nameDcDyThe database field name.
API identifierdiscountDaysThe API identifier used in GraphQL.
Number4939 

Disc. months

The number of months the cash discount is applicable.

If discount months and/or days and percentage discount are a value other than 0, the system calculates a cash due date and cash amount in the current currency and default currency for open entries produced when vouchers are updated. The fields for cash discounts received and granted show the general ledger accounts to which the cash discounts are posted.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
SQL nameDcMthThe database field name.
API identifierdiscountMonthsThe API identifier used in GraphQL.
Number4938 

EDI payment terms

The payment term code used for EDI.

A look-up in this field gives you the following list of possible values:
3 - Specified date
4 - No specified date
17 - End of month
20 - Interest on overdue payments
22 - Discount
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainEDI payment termsInteger
SQL nameEDIPmtTThe database field name.
API identifierediPaymentTermsThe API identifier used in GraphQL.
Number6373 

Interest free days

The number of interest free days.

If you use interest free days, the Interest from date field in the Open customer entry table shows Due date + Interest free days.

In some countries, it is not permitted to calculate interest until after the first 30 days following the invoice date. This will be taken account again when you carry out the interest calculation.

If, for example, you use the payment term Per 10 days, enter 20 in the Interest free days field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDaysInteger
SQL nameIntFrDyThe database field name.
API identifierinterestFreeDaysThe API identifier used in GraphQL.
Number10963 

Maximum number of interest days

The maximum number of days to calculate interest.

If you use the Maximum number of interest days field, the Interest to date field in the Open customer entry table shows Interest from date + Maximum number of interest days.

In some countries, it is only permitted to calculate interest for a maximum number of days. This will be taken account again when you carry out the interest calculation.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDaysInteger
SQL nameMxIntDyThe database field name.
API identifiermaxNoOfInterestDaysThe API identifier used in GraphQL.
Number10964 

Payment terms

A unique number identifying the payment term.

Payment terms texts for different languages can be defined in the Text table. These texts has text type 6.
Note:
If you double-click or press * in this field, you can look up a Payment terms in the Text table.
Note:
If you press + in this field, the next available number is suggested. Gaps in the number series resulting from any deleted rows are not suggested. If you enter an existing number you will receive an error message. The number cannot be changed once it is entered.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainPayment termsInteger
Primary keyYesPayment terms
SQL namePmtTrmNoThe database field name.
API identifierpaymentTermsThe API identifier used in GraphQL.
Number586 

Control columns

Control columns include information about who has changed the record last and when, and which process that is currently editing the record.

Changed by provenance

The provenance for the record change.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPvnThe database field name.
API identifierchangedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Changed by user

The name of the user that changed the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChUsrThe database field name.
API identifierchangedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Changed date

The date when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChDtThe database field name.
API identifierchangedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time

The time when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTmThe database field name.
API identifierchangedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time stamp

The date and time when the record was changed.

The field is updated with the UTC time.

This value can be used by external systems to replicate changed data. The column is indexed. 

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTsThe database field name.
API identifierchangedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Created by provenance

The provenance for the record creation.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCrePvnThe database field name.
API identifiercreatedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Created by user

The name of the user that created the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreUsrThe database field name.
API identifiercreatedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Created date

The date when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreDtThe database field name.
API identifiercreatedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Created time

The time when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTmThe database field name.
API identifiercreatedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Created time stamp

The date and time when the record was created.

The field is updated with the UTC time.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTsThe database field name.
API identifiercreatedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Edit status

The current status of the record.

A look-up in this field gives you the following list of possible values:

0 - Unchanged: The record is read, but not changed.

1 - Inserted: The record is new.

2 - Changed: The record is changed.

3 - Deleted: The record is deleted.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainEdit statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLckStThe database field name.
API identifiereditStatusThe API identifier used in GraphQL.
NumberA unique column number. 

Process no

The Process no. from the Active company process table which is currently using or has control of this record.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProcess no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPrcThe database field name.
API identifierlockedByProcessNoThe API identifier used in GraphQL.
NumberA unique column number. 
Table 3. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.