What the field is for
The specification's description (above, in German) translates as: "The expected or used means of payment, expressed as a code. Reference is made to the code list UNTDID 4461." BT-81 says how payment is or was made: transfer, direct debit, card, cash or an online payment service. The field is in the group "Payment instructions" (BG-16).
In XRechnung, BG-16 is mandatory (BR-DE-1) — even when the invoice is already paid, for example in the shop by PayPal or card. Every BG-16 needs a BT-81 (BR-49).
Common codes
From the code list UNTDID 4461:
| Code | Meaning | What goes with it |
|---|---|---|
58 |
SEPA credit transfer | IBAN (BT-84) |
30 |
credit transfer outside SEPA | account number or IBAN (BT-84) |
59 |
SEPA direct debit | creditor ID (BT-90) and the buyer's IBAN (BT-91): BR-DE-30, BR-DE-31 |
48 |
bank card | card number (BT-87), never in full |
54 / 55 |
credit card / debit card | as 48 |
68 |
online payment service | — |
10 |
cash | — |
ZZZ |
mutually defined | — |
Which rules check the field
| Rule | What it requires | Level in XRechnung |
|---|---|---|
| BR-DE-1 | the invoice has payment instructions (BG-16) | error |
| BR-49 | every BG-16 has a BT-81 | error |
| BR-CL-16 | BT-81 is a code from UNTDID 4461 | error |
| BR-61 | with 30 and 58 an account (BT-84) is given | error |
| BR-DE-23-a/b | with 30 and 58 the credit transfer group (BG-17), no card and no direct debit | error |
| BR-DE-24-a/b | with 48, 54, 55 exactly the card group (BG-18), no transfer and no direct debit | error |
| BR-DE-25-a/b | with 59 exactly the direct debit group (BG-19), no transfer and no card | error |
| CII-SR-467 | in CII all payment instructions have the same code | error |
Where the field is in the file
| Syntax | Element |
|---|---|
| CII | ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode |
| UBL | cac:PaymentMeans/cbc:PaymentMeansCode |
Common mistakes
- No payment instructions because the invoice is paid → BR-DE-1. For a payment
through PayPal or another service,
68fits; the amount already paid goes in BT-113. - A name instead of a code (
PayPal,Bank transfer) → BR-CL-16. - Card payment with the shop's IBAN: with 48, 54, 55 XRechnung requires the card group BG-18 and forbids the transfer group → BR-DE-24-a and BR-DE-24-b.
- 58 without an IBAN → BR-61 and BR-50.
Example
<!-- CII: SEPA credit transfer -->
<ram:SpecifiedTradeSettlementPaymentMeans>
<ram:TypeCode>58</ram:TypeCode> <!-- BT-81 -->
<ram:PayeePartyCreditorFinancialAccount>
<ram:IBANID>DE02120300000000202051</ram:IBANID> <!-- BT-84 -->
</ram:PayeePartyCreditorFinancialAccount>
</ram:SpecifiedTradeSettlementPaymentMeans>
<!-- UBL: paid through an online payment service -->
<cac:PaymentMeans>
<cbc:PaymentMeansCode>68</cbc:PaymentMeansCode>
</cac:PaymentMeans>
The IBAN in the example is a test IBAN with a valid check digit.
Sources: KoSIT, XRechnung specification 3.0.2 (BT-81, BG-16, BR-DE-1, BR-DE-23 to BR-DE-25); XRechnung 3.0.2 validator configuration (BR-49, BR-61, BR-CL-16, CII-SR-467); code lists for EN 16931 v17b in the Factur-X 1.09.2 / ZUGFeRD 2.5.2 package (UNTDID 4461).