# BR-DE-17 Invoice type code should use the XRechnung supported code set

The invoice type code should be one of the codes supported by XRechnung.

## Problem Description

The invoice type code should be one of the codes supported by XRechnung.

> **WARNING**: XRechnung 3.0

## Context and Significance

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

## Solution

Use a supported BT-3 invoice type code such as 380, 381, 384, 389, 326, 875, 876, or 877.

- validate
- convert

## Valid Examples

- BT-3 Invoice type code is present and valid.

## Invalid Examples

- BT-3 Invoice type code is missing or invalid.

## Technical Details

### Affected Fields
BT-3 Invoice type code

## Related Rules

- [BR-04](#)
- [BR-DE-26](/resources/kosit-validator-errors/br-de-26-corrected-invoice-should-reference-preceding-invoice)

## 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.
