Gehört code zum Katalog der Rechnungs-API?
code
bool istRechnungFehlercode(String? code) => code != null && invoiceErrorCodes.contains(code);