# BR-DE-18 Cash discount payment terms should use the XRechnung syntax

Payment terms that describe Skonto must match the XRechnung structured text pattern.

## Problem Description

Payment terms that describe Skonto must match the XRechnung structured text pattern.

> **WARNING**: XRechnung 3.0

## Context and Significance

This entry follows the XRechnung 3.0.2 Schematron rule semantics used by KoSIT validation.

## Solution

Format BT-20 Skonto text according to the XRechnung discount pattern.

- validate
- convert

## Valid Examples

- BT-20 Payment terms is present and valid.

## Invalid Examples

- BT-20 Payment terms is missing or invalid.

## Technical Details

### Affected Fields
BT-20 Payment terms

## Validation Tools

- [Official KoSIT Validator](https://erechnungsvalidator.service-bw.de/): Validate your XRechnung files against all BR-DE rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Automatic validation error fixes when converting.

## Related Resources

- [Official Specification](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [Complete Error List](/resources/kosit-validator-errors): Overview of all German XRechnung validation rules.
