Tax Filing Service

<back to all web services

SubmitUStVa2021AsEntrepreneurAsync

AsyncUmsatzsteuerVoranmeldungBearbeiteVorgangValidiereAuthentifiziereSendeDrucke2021

An asynchronous service to submit an preliminary VAT return (Umsatzsteuervoranmeldung) as an Entrepreneur for 2021.

Requires Authentication
The following routes are available for this service:
POST/SubmitUStVa2021AsEntrepreneurAsyncAn asynchronous service to submit an preliminary VAT return (Umsatzsteuervoranmeldung) as an Entrepreneur for 2021

/** @description Beim DatenLieferanten handelt es sich um diejenige natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird,um die Daten zu übersenden (auf den Sendeknopf drückt - NICHT jedoch ein etwaiger Erfüllungsgehilfe). */
// @Api(Description="Beim DatenLieferanten handelt es sich um diejenige natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird,um die Daten zu übersenden (auf den Sendeknopf drückt - NICHT jedoch ein etwaiger Erfüllungsgehilfe).")
export class DatenLieferant
{
    /** @description Der Name des Datenlieferants. */
    // @ApiMember(Description="Der Name des Datenlieferants.", IsRequired=true, Name="Name")
    public name: string;

    /** @description Der Straßenname des Datenlieferants. */
    // @ApiMember(Description="Der Straßenname des Datenlieferants.", IsRequired=true, Name="Strasse")
    public strasse: string;

    /** @description Die Postleitzahl des Datenlieferants. */
    // @ApiMember(Description="Die Postleitzahl des Datenlieferants.", IsRequired=true, Name="PLZ")
    public plz: string;

    /** @description Der Ort des Datenlieferants. */
    // @ApiMember(Description="Der Ort des Datenlieferants.", IsRequired=true, Name="Ort")
    public ort: string;

    /** @description Die Telefonnummer (optional) des Datenlieferants. */
    // @ApiMember(Description="Die Telefonnummer (optional) des Datenlieferants.", Name="Telefon")
    public telefon?: string;

    /** @description Die Email-Adresse (optional) des Datenlieferant. */
    // @ApiMember(Description="Die Email-Adresse (optional) des Datenlieferant.", Name="Email")
    public email?: string;

    public constructor(init?: Partial<DatenLieferant>) { (Object as any).assign(this, init); }
}

/** @description Stellt einen Unternehmer dar. */
// @Api(Description="Stellt einen Unternehmer dar.")
export class Unternehmer
{
    /** @description Der Bezeichnung (optional) des Unternehmers (normalerweise der Name des Unternehmers Unternehmen). */
    // @ApiMember(Description="Der Bezeichnung (optional) des Unternehmers (normalerweise der Name des Unternehmers Unternehmen).", Name="Bezeichnung")
    public bezeichnung?: string;

    /** @description Der Name (optional) des Unternehmers. */
    // @ApiMember(Description="Der Name (optional) des Unternehmers.", Name="Name")
    public name?: string;

    /** @description Der Vorname (optional) des Unternehmers. */
    // @ApiMember(Description="Der Vorname (optional) des Unternehmers.", Name="Vorname")
    public vorname?: string;

    /** @description Der Namenvorsatz (optional) des Unternehmers. */
    // @ApiMember(Description="Der Namenvorsatz (optional) des Unternehmers.", Name="Namensvorsatz")
    public namensvorsatz?: string;

    /** @description Der Namenzusatz (optional) des Unternehmers. */
    // @ApiMember(Description="Der Namenzusatz (optional) des Unternehmers.", Name="Namenszusatz")
    public namenszusatz?: string;

    /** @description Der Straßenname (optional) des Unternehmers. */
    // @ApiMember(Description="Der Straßenname (optional) des Unternehmers.", Name="Str")
    public str?: string;

    /** @description Die Hausnummer (optional) des Unternehmers. */
    // @ApiMember(Description="Die Hausnummer (optional) des Unternehmers.", Name="Hausnummer")
    public hausnummer?: string;

    /** @description Der Hausnummernzusatz (optional) des Unternehmers. */
    // @ApiMember(Description="Der Hausnummernzusatz (optional) des Unternehmers.", Name="HNrZusatz")
    public hNrZusatz?: string;

    /** @description Der Anschriftenzusatz (optional) des Unternehmers. */
    // @ApiMember(Description="Der Anschriftenzusatz (optional) des Unternehmers.", Name="AnschriftenZusatz")
    public anschriftenZusatz?: string;

    /** @description Der Ort (optional) des Unternehmers. */
    // @ApiMember(Description="Der Ort (optional) des Unternehmers.", Name="Ort")
    public ort?: string;

    /** @description Die Postleitzahl (optional) des Unternehmers. */
    // @ApiMember(Description="Die Postleitzahl (optional) des Unternehmers.", Name="PLZ")
    public plz?: string;

    /** @description Die Auslandspostleitzahl (optional) des Unternehmers. */
    // @ApiMember(Description="Die Auslandspostleitzahl (optional) des Unternehmers.", Name="AuslandsPLZ")
    public auslandsPLZ?: string;

    /** @description Der Ländername (falls Anschrift im Ausland) des Unternehmers - optional. Der Ländername des Unternehmers kann mit 1-20 alphanumerischen Zeichen geliefert werden. */
    // @ApiMember(Description="Der Ländername (falls Anschrift im Ausland) des Unternehmers - optional. \nDer Ländername des Unternehmers kann mit 1-20 alphanumerischen Zeichen geliefert werden.", Name="Land")
    public land?: string;

    /** @description Der Ort des Postfaches (optional) des Unternehmers. */
    // @ApiMember(Description="Der Ort des Postfaches (optional) des Unternehmers.", Name="PostfachOrt")
    public postfachOrt?: string;

    /** @description Das Postfach (optional) des Unternehmers. */
    // @ApiMember(Description="Das Postfach (optional) des Unternehmers.", Name="Postfach")
    public postfach?: string;

    /** @description Die Postleitzahl (optional) des Unternehmers. */
    // @ApiMember(Description="Die Postleitzahl (optional) des Unternehmers.", Name="PostfachPLZ")
    public postfachPLZ?: string;

    /** @description Die Großkundenpostleitzahl (optional) des Unternehmers. */
    // @ApiMember(Description="Die Großkundenpostleitzahl (optional) des Unternehmers.", Name="GKPLZ")
    public gkplz?: string;

    /** @description Die Telefonnummer (optional) des Unternehmers. */
    // @ApiMember(Description="Die Telefonnummer (optional) des Unternehmers.", Name="Telefon")
    public telefon?: string;

    /** @description Die Emailadresse (optional) des Unternehmers. */
    // @ApiMember(Description="Die Emailadresse (optional) des Unternehmers.", Name="Email")
    public email?: string;

    public constructor(init?: Partial<Unternehmer>) { (Object as any).assign(this, init); }
}

/** @description Stellt eine Anbindung zum ELSTER Online Portal (EOP) dar. */
// @Api(Description="Stellt eine Anbindung zum ELSTER Online Portal (EOP) dar.")
export class EOP
{
    public transferausgabe?: string;

    public constructor(init?: Partial<EOP>) { (Object as any).assign(this, init); }
}

/** @description Represents a base class for a file with raw data. */
// @Api(Description="Represents a base class for a file with raw data.")
export class FileBase
{
    /** @description The raw data content of the file. */
    // @ApiMember(Description="The raw data content of the file.", Name="Content")
    public content: string;

    public constructor(init?: Partial<FileBase>) { (Object as any).assign(this, init); }
}

/** @description Represents a portal certificate that is protected by a password. */
// @Api(Description="Represents a portal certificate that is protected by a password.")
export class PortalCertificate extends FileBase implements ISecuredCertificate, IHasIndex
{
    /** @description The unique identifier of the certificate. */
    // @ApiMember(Description="The unique identifier of the certificate.")
    public id: string;

    /** @description The position of the certificate element in an indexed collection of certificates. */
    // @ApiMember(Description="The position of the certificate element in an indexed collection of certificates.")
    public index: number;

    /** @description The password to protect the certificate from unauthorized access. */
    // @StringLength(255)
    // @ApiMember(Description="The password to protect the certificate from unauthorized access.")
    public pin?: string;

    /** @description The description of the certificate. */
    // @StringLength(2147483647)
    // @ApiMember(Description="The description of the certificate.")
    public description?: string;

    /** @description Tags that can be used to label or identify the certificate. */
    // @ApiMember(Description="Tags that can be used to label or identify the certificate.")
    public tags: string[];

    /** @description Gets or sets the file name of the certificate. */
    // @ApiMember(Description="Gets or sets the file name of the certificate.")
    public name?: string;

    /** @description The raw data content of the file. */
    // @ApiMember(Description="The raw data content of the file.", Name="Content")
    public content: string;

    public constructor(init?: Partial<PortalCertificate>) { super(init); (Object as any).assign(this, init); }
}

/** @description Submits a VAT registration (Umsatzsteueranmeldung) for 2021 and files in the XML content as an Entrepreneur */
// @Api(Description="Submits a VAT registration (Umsatzsteueranmeldung) for 2021 and files in the XML content as an Entrepreneur")
export class SubmitUmsatzsteueranmeldung2021AsEntrepreneurBase implements IPost, IDruckRequest, IVeschlueselungsRequest
{
    /** @description Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data). */
    // @ApiMember(Description="Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).", IsRequired=true, Name="DatenLieferant")
    public datenLieferant: DatenLieferant;

    /** @description Der natürliche oder jüritische Person, der den Steuerfall bearbeitet und abgibt (The natural or legal person who processes and submits the tax case). */
    // @ApiMember(Description="Der natürliche oder jüritische Person, der den Steuerfall bearbeitet und abgibt (The natural or legal person who processes and submits the tax case).", Name="Unternehmer")
    public unternehmer?: Unternehmer;

    /** @description Das Datum der Erstellung (Date of creation). */
    // @ApiMember(Description="Das Datum der Erstellung (Date of creation).", IsRequired=true, Name="Erstellungsdatum")
    public erstellungsdatum: string;

    /** @description Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office). */
    // @ApiMember(Description="Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).", IsRequired=true, Name="Bundesfinanzamtsnummer")
    public bundesfinanzamtsnummer: string;

    /** @description Die Anbindung zum ELSTER Online Portal (EOP). */
    // @ApiMember(Description="Die Anbindung zum ELSTER Online Portal (EOP).", Name="EOP")
    public eop?: EOP;

    /** @description Should the PDF file be prepared for a double-sided printout with a margin for punching?.  True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page. */
    // @ApiMember(Description="Should the PDF file be prepared for a double-sided printout with a margin for punching?.  True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.", Name="DuplexDruck")
    public duplexDruck?: boolean;

    /** @description Name prefix of the generated transfer protocol file. */
    // @ApiMember(Description="Name prefix of the generated transfer protocol file.", IsRequired=true, Name="ProtocolPrefix")
    public protocolPrefix: string;

    /** @description Footer text to be used on the printout (optional). */
    // @ApiMember(Description="Footer text to be used on the printout (optional).", Name="FussText")
    public fussText?: string;

    /** @description The authentification certificate. */
    // @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    public zertifikat: PortalCertificate;

    /** @description Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'. */
    // @ApiMember(Description="Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.", Name="AbrufCode")
    public abrufCode?: string;

    public constructor(init?: Partial<SubmitUmsatzsteueranmeldung2021AsEntrepreneurBase>) { (Object as any).assign(this, init); }
}

/** @description Stellt den Zeitraum für eine Anmeldung dar */
export enum AnmeldungZeitraum
{
    ZR01 = 1,
    ZR02 = 2,
    ZR03 = 3,
    ZR04 = 4,
    ZR05 = 5,
    ZR06 = 6,
    ZR07 = 7,
    ZR08 = 8,
    ZR09 = 9,
    ZR10 = 10,
    ZR11 = 11,
    ZR12 = 12,
    ZR41 = 41,
    ZR42 = 42,
    ZR43 = 43,
    ZR44 = 44,
}

/** @description Stellt den Pflichtkennzahl Kz09 dar, welche die Angabe diverser Informationen ermöglicht. Beispiele: 74931 74931*Name Berater*Berufsbezeichnung*** 74931*****Name Mandant 74931***Tel.Nr:Berater/Vorwahl*Tel.Nr:Berater/Anschluss*Name Mandant */
// @Api(Description="Stellt den Pflichtkennzahl Kz09 dar, welche die Angabe diverser Informationen ermöglicht. Beispiele: 74931 74931*Name Berater*Berufsbezeichnung*** 74931*****Name Mandant 74931***Tel.Nr:Berater/Vorwahl*Tel.Nr:Berater/Anschluss*Name Mandant")
export class Kz09
{
    /** @description Die Bezeichnung des Softwareherstellers (Pflicht), über dessen Software die Steuererklärung oder (Vor)anmeldung abgegeben wird. Die Bezeichnung muss 5-stellig sein. */
    // @ApiMember(Description="Die Bezeichnung des Softwareherstellers (Pflicht), über dessen Software die Steuererklärung oder (Vor)anmeldung abgegeben wird. Die Bezeichnung muss 5-stellig sein.", IsRequired=true, Name="HerstellerId")
    public herstellerId: number;

    /** @description Der Name des Beraters, welcher die Steuererklärung oder (Vor)anmeldung abgegeben wird. Das Name des Beraters kann von 0- bis 85-stellig sein. */
    // @ApiMember(Description="Der Name des Beraters, welcher die Steuererklärung oder (Vor)anmeldung abgegeben wird. Das Name des Beraters kann von 0- bis 85-stellig sein.", Name="BeraterName")
    public beraterName?: string;

    /** @description Die Berufbezeichnung des Beraters. Die Berufbezeichnung des Beraterskann von 0- bis 85-stellig sein. */
    // @ApiMember(Description="Die Berufbezeichnung des Beraters. Die Berufbezeichnung des Beraterskann von 0- bis 85-stellig sein.", Name="Berufsbezeichnung")
    public berufsbezeichnung?: string;

    /** @description Die Telefonnummervorwahl des Beraters. Die Telefonnummervorwahl des Beraters kann von 0- bis 85-stellig sein. */
    // @ApiMember(Description="Die Telefonnummervorwahl des Beraters. Die Telefonnummervorwahl des Beraters kann von 0- bis 85-stellig sein.", Name="Berufsbezeichnung")
    public beraterTelNrVorwahl?: string;

    /** @description Der Telefonnummeranschluss des Beraters. Der Telefonnummeranschluss des Beraters kann von 0- bis 85-stellig sein. */
    // @ApiMember(Description="Der Telefonnummeranschluss des Beraters. Der Telefonnummeranschluss des Beraters kann von 0- bis 85-stellig sein.", Name="BeraterTelNrAnschluss")
    public beraterTelNrAnschluss?: string;

    /** @description Der Name des Mandanten. Der Name des Mandanten kann von 0- bis 85-stellig sein. */
    // @ApiMember(Description="Der Name des Mandanten. Der Name des Mandanten kann von 0- bis 85-stellig sein.", Name="MandantName")
    public mandantName?: string;

    public constructor(init?: Partial<Kz09>) { (Object as any).assign(this, init); }
}

/** @description Specifies an integer data type with limits and a specialized string representation */
// @Api(Description="Specifies an integer data type with limits and a specialized string representation")
export class Ganzzahl
{
    /** @description The intrinsic integer value. */
    // @ApiMember(Description="The intrinsic integer value.")
    public wert: number;

    public constructor(init?: Partial<Ganzzahl>) { (Object as any).assign(this, init); }
}

/** @description Represents an integer data type whose value has a maximum length of 1 digit. Minus sign allowed. */
// @Api(Description="Represents an integer data type whose value has a maximum length of 1 digit. Minus sign allowed.")
export class Ganzzahl1EN extends Ganzzahl
{
    /** @description The intrinsic integer value. */
    // @ApiMember(Description="The intrinsic integer value.")
    public wert: number;

    public constructor(init?: Partial<Ganzzahl1EN>) { super(init); (Object as any).assign(this, init); }
}

/** @description Specifies an amount of money without cents with limits and a specialized string representation */
// @Api(Description="Specifies an amount of money without cents with limits and a specialized string representation")
export class GrossGeldBetragOhneCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<GrossGeldBetragOhneCent>) { (Object as any).assign(this, init); }
}

/** @description Represents an amount of money without cents whose value has a maximum length of 13 digits. That is, 1 to 13 digits. Minus sign allowed. */
// @Api(Description="Represents an amount of money without cents whose value has a maximum length of 13 digits. That is, 1 to 13 digits. Minus sign allowed.")
export class GeldBetragOhneCent13EN extends GrossGeldBetragOhneCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<GeldBetragOhneCent13EN>) { super(init); (Object as any).assign(this, init); }
}

/** @description Specifies an amount of money with cents with limits and a specialized string representation */
// @Api(Description="Specifies an amount of money with cents with limits and a specialized string representation")
export class GeldBetragMitCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<GeldBetragMitCent>) { (Object as any).assign(this, init); }
}

/** @description Represents an amount of money with cents whose value has a maximum length of 13 digits. That is, 1 to 11 digits before the decimal separator and 2 digits after the decimal separator. Minus sign allowed. */
// @Api(Description="Represents an amount of money with cents whose value has a maximum length of 13 digits. That is, 1 to 11 digits before the decimal separator and 2 digits after the decimal separator. Minus sign allowed.")
export class GeldBetragMitCent11EN extends GeldBetragMitCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<GeldBetragMitCent11EN>) { super(init); (Object as any).assign(this, init); }
}

/** @description Represents an unsigned amount of money with cents whose value has a maximum length of 13 digits. That is, 1 to 11 digits before the decimal separator and 2 digits after the decimal separator. Minus sign NOT allowed. */
// @Api(Description="Represents an unsigned amount of money with cents whose value has a maximum length of 13 digits. That is, 1 to 11 digits before the decimal separator and 2 digits after the decimal separator. Minus sign NOT allowed.")
export class PositiverGeldBetragMitCent11EN extends GeldBetragMitCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<PositiverGeldBetragMitCent11EN>) { super(init); (Object as any).assign(this, init); }
}

/** @description Represents an unsigned amount of money with cents whose value has a maximum length of 15 digits. That is, 1 to 13 digits before the decimal separator and 2 digits after the decimal separator. Minus sign NOT allowed. */
// @Api(Description="Represents an unsigned amount of money with cents whose value has a maximum length of 15 digits. That is, 1 to 13 digits before the decimal separator and 2 digits after the decimal separator. Minus sign NOT allowed.")
export class PositiverGeldBetragMitCent13EN extends GeldBetragMitCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<PositiverGeldBetragMitCent13EN>) { super(init); (Object as any).assign(this, init); }
}

/** @description Represents an unsigned amount of money without cents whose value has a maximum length of 13 digits. That is, 1 to 13 digits. Minus sign NOT allowed. */
// @Api(Description="Represents an unsigned amount of money without cents whose value has a maximum length of 13 digits. That is, 1 to 13 digits. Minus sign NOT allowed.")
export class PositiverGeldBetragOhneCent13EN extends GrossGeldBetragOhneCent
{
    /** @description The intrinsic currency value. */
    // @ApiMember(Description="The intrinsic currency value.")
    public wert: number;

    public constructor(init?: Partial<PositiverGeldBetragOhneCent13EN>) { super(init); (Object as any).assign(this, init); }
}

/** @description Umsatzsteuervoranmeldung für 2021 (Preliminary VAT declaration for 2021). */
// @Api(Description="Umsatzsteuervoranmeldung für 2021 (Preliminary VAT declaration for 2021).")
export class Umsatzsteuervoranmeldung2021
{
    /** @description Das Jahr der Veranlagung. */
    // @ApiMember(Description="Das Jahr der Veranlagung.", IsRequired=true, Name="Jahr")
    public jahr: number;

    /** @description Anmeldungszeitraum. */
    // @ApiMember(Description="Anmeldungszeitraum.", IsRequired=true, Name="Zeitraum")
    public zeitraum: AnmeldungZeitraum;

    /** @description Steuernummer */
    // @ApiMember(Description="Steuernummer", IsRequired=true, Name="Steuernummer")
    public steuernummer: string;

    /** @description Pflichtkennzahl, welche die Angabe diverser Informationen ermöglicht. */
    // @ApiMember(Description="Pflichtkennzahl, welche die Angabe diverser Informationen ermöglicht.", IsRequired=true, Name="Kz09")
    public kz09: Kz09;

    /** @description Berichtigte Anmeldung */
    // @ApiMember(Description="Berichtigte Anmeldung", Name="Kz10")
    public kz10?: Ganzzahl1EN;

    /** @description Nicht steuerbare sonstige Leistungen gemäß § 18b Satz 1 Nummer 2 UStG */
    // @ApiMember(Description="Nicht steuerbare sonstige Leistungen gemäß § 18b Satz 1 Nummer 2 UStG", Name="Kz21")
    public kz21?: GeldBetragOhneCent13EN;

    /** @description Belege */
    // @ApiMember(Description="Belege", Name="Kz22")
    public kz22?: Ganzzahl1EN;

    /** @description Über die Angaben in der Steueranmeldung hinaus sind weitere oder abweichende Angaben oder Sachverhalte zu berücksichtigen */
    // @ApiMember(Description="Über die Angaben in der Steueranmeldung hinaus sind weitere oder abweichende Angaben oder Sachverhalte zu berücksichtigen", Name="Kz23")
    public kz23?: Ganzzahl1EN;

    /** @description Ergänzende Angaben zur Steueranmeldung */
    // @ApiMember(Description="Ergänzende Angaben zur Steueranmeldung", Name="Kz23_Begruendung")
    public kz23_Begruendung?: string;

    /** @description Das SEPA-Lastschriftmandat wird ausnahmsweise (zum Beispiel wegen Verrechnungswünschen) für diesen Voranmeldungszeitraum widerrufen (falls ja, bitte eine 1 eintragen). Ein gegebenenfalls verbleibender Restbetrag ist gesondert zu entrichten. */
    // @ApiMember(Description="Das SEPA-Lastschriftmandat wird ausnahmsweise (zum Beispiel wegen Verrechnungswünschen) für diesen Voranmeldungszeitraum widerrufen (falls ja, bitte eine 1 eintragen). Ein gegebenenfalls verbleibender Restbetrag ist gesondert zu entrichten.", Name="Kz26")
    public kz26?: Ganzzahl1EN;

    /** @description Verrechnung des Erstattungsbetrags erwünscht / Erstattungsbetrag ist abgetreten (falls ja, bitte eine 1 eintragen). */
    // @ApiMember(Description="Verrechnung des Erstattungsbetrags erwünscht / Erstattungsbetrag ist abgetreten (falls ja, bitte eine 1 eintragen).", Name="Kz29")
    public kz29?: Ganzzahl1EN;

    /** @description zu anderen Steuersätzen (Bemessungsgrundlage) */
    // @ApiMember(Description="zu anderen Steuersätzen (Bemessungsgrundlage)", Name="Kz35")
    public kz35?: GeldBetragOhneCent13EN;

    /** @description zu anderen Steuersätzen (Steuer) */
    // @ApiMember(Description="zu anderen Steuersätzen (Steuer)", Name="Kz36")
    public kz36?: GeldBetragMitCent11EN;

    /** @description Minderung der abziehbaren Vorsteuerbeträge (in der Zeile 55 aus Rechnungen von anderen Unternehmen (§ 15 Absatz 1 Satz 1 Nummer 1 UStG) sowie in den Zeilen 59 und 60 enthalten) */
    // @ApiMember(Description="Minderung der abziehbaren Vorsteuerbeträge (in der Zeile 55 aus Rechnungen von anderen Unternehmen (§ 15 Absatz 1 Satz 1 Nummer 1 UStG) sowie in den Zeilen 59 und 60 enthalten)", Name="Kz37")
    public kz37?: PositiverGeldBetragMitCent11EN;

    /** @description Abzug der festgesetzten Sondervorauszahlung für Dauerfristverlängerung (in der Regel nur in der letzten Voranmeldung des Besteuerungszeitraums auszufüllen) */
    // @ApiMember(Description="Abzug der festgesetzten Sondervorauszahlung für Dauerfristverlängerung (in der Regel nur in der letzten Voranmeldung des Besteuerungszeitraums auszufüllen)", Name="Kz39")
    public kz39?: PositiverGeldBetragMitCent13EN;

    /** @description Innergemeinschaftliche Lieferungen (§ 4 Nummer 1 Buchstabe b UStG) an Abnehmer mit Umsatzsteuer-Identifikationsnummer */
    // @ApiMember(Description="Innergemeinschaftliche Lieferungen (§ 4 Nummer 1 Buchstabe b UStG) an Abnehmer mit Umsatzsteuer-Identifikationsnummer", Name="Kz41")
    public kz41?: GeldBetragOhneCent13EN;

    /** @description Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften (§ 25b UStG) */
    // @ApiMember(Description="Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften (§ 25b UStG)", Name="Kz42")
    public kz42?: GeldBetragOhneCent13EN;

    /** @description Weitere steuerfreie Umsätze mit Vorsteuerabzug (zum Beispiel Ausfuhrlieferungen, Umsätze nach § 4 Nummer 2 bis 7 UStG) */
    // @ApiMember(Description="Weitere steuerfreie Umsätze mit Vorsteuerabzug (zum Beispiel Ausfuhrlieferungen, Umsätze nach § 4 Nummer 2 bis 7 UStG)", Name="Kz43")
    public kz43?: GeldBetragOhneCent13EN;

    /** @description Innergemeinschaftliche Lieferungen (§ 4 Nummer 1 Buchstabe b UStG) neuer Fahrzeuge an Abnehmer ohne Umsatzsteuer-Identifikationsnummer */
    // @ApiMember(Description="Innergemeinschaftliche Lieferungen (§ 4 Nummer 1 Buchstabe b UStG) neuer Fahrzeuge an Abnehmer ohne Umsatzsteuer-Identifikationsnummer", Name="Kz44")
    public kz44?: GeldBetragOhneCent13EN;

    /** @description Übrige nicht steuerbare Umsätze (Leistungsort nicht im Inland) */
    // @ApiMember(Description="Übrige nicht steuerbare Umsätze (Leistungsort nicht im Inland)", Name="Kz45")
    public kz45?: GeldBetragOhneCent13EN;

    /** @description Sonstige Leistungen nach § 3a Absatz 2 UStG eines im übrigen Gemeinschaftsgebiet ansässigen Unternehmers (§ 13b Absatz 1 UStG) (Bemessungsgrundlage) */
    // @ApiMember(Description="Sonstige Leistungen nach § 3a Absatz 2 UStG eines im übrigen Gemeinschaftsgebiet ansässigen Unternehmers (§ 13b Absatz 1 UStG) (Bemessungsgrundlage)", Name="Kz46")
    public kz46?: GeldBetragOhneCent13EN;

    /** @description Sonstige Leistungen nach § 3a Absatz 2 UStG eines im übrigen Gemeinschaftsgebiet ansässigen Unternehmers (§ 13b Absatz 1 UStG) (Steuer) */
    // @ApiMember(Description="Sonstige Leistungen nach § 3a Absatz 2 UStG eines im übrigen Gemeinschaftsgebiet ansässigen Unternehmers (§ 13b Absatz 1 UStG) (Steuer)", Name="Kz47")
    public kz47?: GeldBetragMitCent11EN;

    /** @description Steuerfreie Umsätze ohne Vorsteuerabzug (zum Beispiel Umsätze nach § 4 Nummer 8 bis 29 UStG) */
    // @ApiMember(Description="Steuerfreie Umsätze ohne Vorsteuerabzug (zum Beispiel Umsätze nach § 4 Nummer 8 bis 29 UStG)", Name="Kz48")
    public kz48?: GeldBetragOhneCent13EN;

    /** @description Innergemeinschaftliche Lieferungen (§ 4 Nummer 1 Buchstabe b UStG) neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG) */
    // @ApiMember(Description="Innergemeinschaftliche Lieferungen (§ 4 Nummer 1 Buchstabe b UStG) neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG)", Name="Kz49")
    public kz49?: GeldBetragOhneCent13EN;

    /** @description Minderung der Bemessungsgrundlage (in den Zeilen 20 bis 24 enthalten) */
    // @ApiMember(Description="Minderung der Bemessungsgrundlage (in den Zeilen 20 bis 24 enthalten)", Name="Kz50")
    public kz50?: PositiverGeldBetragOhneCent13EN;

    /** @description Vorsteuerabzug für innergemeinschaftliche Lieferungen neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG) sowie von Kleinunternehmern im Sinne des § 19 Absatz 1 UStG (§ 15 Absatz 4a UStG) */
    // @ApiMember(Description="Vorsteuerabzug für innergemeinschaftliche Lieferungen neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG) sowie von Kleinunternehmern im Sinne des § 19 Absatz 1 UStG (§ 15 Absatz 4a UStG)", Name="Kz59")
    public kz59?: GeldBetragMitCent11EN;

    /** @description Steuerpflichtige Umsätze des leistenden Unternehmers, für die der Leistungsempfänger die Steuer nach § 13b Absatz 5 UStG schuldet */
    // @ApiMember(Description="Steuerpflichtige Umsätze des leistenden Unternehmers, für die der Leistungsempfänger die Steuer nach § 13b Absatz 5 UStG schuldet", Name="Kz60")
    public kz60?: GeldBetragOhneCent13EN;

    /** @description Vorsteuerbeträge aus dem innergemeinschaftlichen Erwerb von Gegenständen (§ 15 Absatz 1 Satz 1 Nummer 3 UStG) */
    // @ApiMember(Description="Vorsteuerbeträge aus dem innergemeinschaftlichen Erwerb von Gegenständen (§ 15 Absatz 1 Satz 1 Nummer 3 UStG)", Name="Kz61")
    public kz61?: GeldBetragMitCent11EN;

    /** @description Entstandene Einfuhrumsatzsteuer (§ 15 Absatz 1 Satz 1 Nummer 2 UStG)) */
    // @ApiMember(Description="Entstandene Einfuhrumsatzsteuer (§ 15 Absatz 1 Satz 1 Nummer 2 UStG))", Name="Kz62")
    public kz62?: GeldBetragMitCent11EN;

    /** @description Vorsteuerbeträge, die nach allgemeinen Durchschnittssätzen berechnet sind (§§ 23 und 23a UStG) */
    // @ApiMember(Description="Vorsteuerbeträge, die nach allgemeinen Durchschnittssätzen berechnet sind (§§ 23 und 23a UStG)", Name="Kz63")
    public kz63?: GeldBetragMitCent11EN;

    /** @description Berichtigung des Vorsteuerabzugs (§ 15a UStG) */
    // @ApiMember(Description="Berichtigung des Vorsteuerabzugs (§ 15a UStG)", Name="Kz64")
    public kz64?: GeldBetragMitCent11EN;

    /** @description Steuer infolge des Wechsels der Besteuerungsform sowie Nachsteuer auf versteuerte Anzahlungen und ähnlichem wegen Steuersatzänderung */
    // @ApiMember(Description="Steuer infolge des Wechsels der Besteuerungsform sowie Nachsteuer auf versteuerte Anzahlungen und ähnlichem wegen Steuersatzänderung", Name="Kz65")
    public kz65?: GeldBetragMitCent11EN;

    /** @description Vorsteuerbeträge aus Rechnungen von anderen Unternehmern (§ 15 Absatz 1 Satz 1 Nummer 1 UStG),  aus Leistungen im Sinne des § 13a Absatz 1 Nummer 6 UStG (§ 15 Absatz 1 Satz 1 Nummer 5 UStG) und aus innergemeinschaftlichen Dreiecksgeschäften (§ 25b Absatz 5 UStG) */
    // @ApiMember(Description="Vorsteuerbeträge aus Rechnungen von anderen Unternehmern (§ 15 Absatz 1 Satz 1 Nummer 1 UStG),  aus Leistungen im Sinne des § 13a Absatz 1 Nummer 6 UStG (§ 15 Absatz 1 Satz 1 Nummer 5 UStG) und aus innergemeinschaftlichen Dreiecksgeschäften (§ 25b Absatz 5 UStG)", Name="Kz66")
    public kz66?: GeldBetragMitCent11EN;

    /** @description Vorsteuerbeträge aus Leistungen im Sinne des § 13b UStG (§ 15 Absatz 1 Satz 1 Nummer 4 UStG) */
    // @ApiMember(Description="Vorsteuerbeträge aus Leistungen im Sinne des § 13b UStG (§ 15 Absatz 1 Satz 1 Nummer 4 UStG)", Name="Kz67")
    public kz67?: GeldBetragMitCent11EN;

    /** @description In Rechnungen unrichtig oder unberechtigt ausgewiesene Steuerbeträge (§ 14c UStG) sowie Steuerbeträge, die nach § 6a Absatz 4 Satz 2, § 17 Absatz 1 Satz 7, § 25b Absatz 2 UStG oder von einem Auslagerer oder Lagerhalter nach § 13a Absatz 1 Nummer 6 UStG geschuldet werden */
    // @ApiMember(Description="In Rechnungen unrichtig oder unberechtigt ausgewiesene Steuerbeträge (§ 14c UStG) sowie Steuerbeträge, die nach § 6a Absatz 4 Satz 2, § 17 Absatz 1 Satz 7, § 25b Absatz 2 UStG oder von einem Auslagerer oder Lagerhalter nach § 13a Absatz 1 Nummer 6 UStG geschuldet werden", Name="Kz69")
    public kz69?: GeldBetragMitCent11EN;

    /** @description Umsätze, die unter das GrEStG fallen (§ 13b Absatz 2 Nummer 3 UStG) (Bemessungsgrundlage) */
    // @ApiMember(Description="Umsätze, die unter das GrEStG fallen (§ 13b Absatz 2 Nummer 3 UStG) (Bemessungsgrundlage)", Name="Kz73")
    public kz73?: GeldBetragOhneCent13EN;

    /** @description Umsätze, die unter das GrEStG fallen (§ 13b Absatz 2 Nummer 3 UStG) (Steuer) */
    // @ApiMember(Description="Umsätze, die unter das GrEStG fallen (§ 13b Absatz 2 Nummer 3 UStG) (Steuer)", Name="Kz74")
    public kz74?: GeldBetragMitCent11EN;

    /** @description Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (Sägewerkserzeugnisse, Getränke und alkoholische Flüssigkeiten, zum Beispiel Wein) (Bemessungsgrundlage) */
    // @ApiMember(Description="Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (Sägewerkserzeugnisse, Getränke und alkoholische Flüssigkeiten, zum Beispiel Wein) (Bemessungsgrundlage)", Name="Kz76")
    public kz76?: GeldBetragOhneCent13EN;

    /** @description Lieferungen land- und forstwirtschaftlicher Betriebe nach § 24 UStG an Abnehmer mit Umsatzsteuer-Identifikationsnummer */
    // @ApiMember(Description="Lieferungen land- und forstwirtschaftlicher Betriebe nach § 24 UStG an Abnehmer mit Umsatzsteuer-Identifikationsnummer", Name="Kz77")
    public kz77?: GeldBetragOhneCent13EN;

    /** @description Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (Sägewerkserzeugnisse, Getränke und alkoholische Flüssigkeiten, zum Beispiel Wein) (Steuer) */
    // @ApiMember(Description="Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (Sägewerkserzeugnisse, Getränke und alkoholische Flüssigkeiten, zum Beispiel Wein) (Steuer)", Name="Kz80")
    public kz80?: GeldBetragMitCent11EN;

    /** @description zum Steuersatz von 19 Prozent */
    // @ApiMember(Description="zum Steuersatz von 19 Prozent", Name="Kz81")
    public kz81?: GeldBetragOhneCent13EN;

    /** @description Verbleibende Umsatzsteuer-Vorauszahlung beziehungsweise verbleibender Überschuss */
    // @ApiMember(Description="Verbleibende Umsatzsteuer-Vorauszahlung beziehungsweise verbleibender Überschuss", IsRequired=true, Name="Kz83")
    public kz83: GeldBetragMitCent11EN;

    /** @description Andere Leistungen (§ 13b Absatz 2 Nummer 1, 2, 4 bis 12 UStG) (Bemessungsgrundlage) */
    // @ApiMember(Description="Andere Leistungen (§ 13b Absatz 2 Nummer 1, 2, 4 bis 12 UStG) (Bemessungsgrundlage)", Name="Kz84")
    public kz84?: GeldBetragOhneCent13EN;

    /** @description Andere Leistungen (§ 13b Absatz 2 Nummer 1, 2, 4 bis 12 UStG) (Steuer) */
    // @ApiMember(Description="Andere Leistungen (§ 13b Absatz 2 Nummer 1, 2, 4 bis 12 UStG) (Steuer)", Name="Kz85")
    public kz85?: GeldBetragMitCent11EN;

    /** @description zum Steuersatz von 7 Prozent */
    // @ApiMember(Description="zum Steuersatz von 7 Prozent", Name="Kz86")
    public kz86?: GeldBetragOhneCent13EN;

    /** @description zum Steuersatz von 19 Prozent */
    // @ApiMember(Description="zum Steuersatz von 19 Prozent", Name="Kz89")
    public kz89?: GeldBetragOhneCent13EN;

    /** @description Steuerfreie innergemeinschaftliche Erwerbe von bestimmten Gegenständen und Anlagegold (§§ 4b und 25c UStG) */
    // @ApiMember(Description="Steuerfreie innergemeinschaftliche Erwerbe von bestimmten Gegenständen und Anlagegold (§§ 4b und 25c UStG)", Name="Kz91")
    public kz91?: GeldBetragOhneCent13EN;

    /** @description zum Steuersatz von 7 Prozent */
    // @ApiMember(Description="zum Steuersatz von 7 Prozent", Name="Kz93")
    public kz93?: GeldBetragOhneCent13EN;

    /** @description Erwerbe nach §§ 4b und 25c UStG */
    // @ApiMember(Description="Erwerbe nach §§ 4b und 25c UStG", Name="Kz94")
    public kz94?: GeldBetragOhneCent13EN;

    /** @description zu anderen Steuersätzen (Bemessungsgrundlage) */
    // @ApiMember(Description="zu anderen Steuersätzen (Bemessungsgrundlage)", Name="Kz95")
    public kz95?: GeldBetragOhneCent13EN;

    /** @description neuer Fahrzeuge (§ 1b Absatz 2 und 3 UStG) von Lieferern ohne Umsatzsteuer-Identifikationsnummer zum allgemeinen Steuersatz (Steuer) */
    // @ApiMember(Description="neuer Fahrzeuge (§ 1b Absatz 2 und 3 UStG) von Lieferern ohne Umsatzsteuer-Identifikationsnummer zum allgemeinen Steuersatz (Steuer)", Name="Kz96")
    public kz96?: GeldBetragMitCent11EN;

    /** @description zu anderen Steuersätzen (Steuer) */
    // @ApiMember(Description="zu anderen Steuersätzen (Steuer)", Name="Kz98")
    public kz98?: GeldBetragMitCent11EN;

    public constructor(init?: Partial<Umsatzsteuervoranmeldung2021>) { (Object as any).assign(this, init); }
}

/** @description Submits the preliminary VAT return (Umsatzsteuervoranmeldung) as an Entrepreneur for 2021. */
// @Api(Description="Submits the preliminary VAT return (Umsatzsteuervoranmeldung) as an Entrepreneur for 2021.")
export class SubmitUStVa2021AsEntrepreneurBase extends SubmitUmsatzsteueranmeldung2021AsEntrepreneurBase
{
    /** @description Die Umsatzsteuervoranmeldung (The preliminary VAT return). */
    // @ApiMember(Description="Die Umsatzsteuervoranmeldung (The preliminary VAT return).", IsRequired=true, Name="Umsatzsteuervoranmeldung")
    public umsatzsteuervoranmeldung: Umsatzsteuervoranmeldung2021;

    /** @description Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data). */
    // @ApiMember(Description="Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).", IsRequired=true, Name="DatenLieferant")
    public datenLieferant: DatenLieferant;

    /** @description Der natürliche oder jüritische Person, der den Steuerfall bearbeitet und abgibt (The natural or legal person who processes and submits the tax case). */
    // @ApiMember(Description="Der natürliche oder jüritische Person, der den Steuerfall bearbeitet und abgibt (The natural or legal person who processes and submits the tax case).", Name="Unternehmer")
    public unternehmer?: Unternehmer;

    /** @description Das Datum der Erstellung (Date of creation). */
    // @ApiMember(Description="Das Datum der Erstellung (Date of creation).", IsRequired=true, Name="Erstellungsdatum")
    public erstellungsdatum: string;

    /** @description Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office). */
    // @ApiMember(Description="Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).", IsRequired=true, Name="Bundesfinanzamtsnummer")
    public bundesfinanzamtsnummer: string;

    /** @description Die Anbindung zum ELSTER Online Portal (EOP). */
    // @ApiMember(Description="Die Anbindung zum ELSTER Online Portal (EOP).", Name="EOP")
    public eop?: EOP;

    /** @description Should the PDF file be prepared for a double-sided printout with a margin for punching?.  True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page. */
    // @ApiMember(Description="Should the PDF file be prepared for a double-sided printout with a margin for punching?.  True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.", Name="DuplexDruck")
    public duplexDruck?: boolean;

    /** @description Name prefix of the generated transfer protocol file. */
    // @ApiMember(Description="Name prefix of the generated transfer protocol file.", IsRequired=true, Name="ProtocolPrefix")
    public protocolPrefix: string;

    /** @description Footer text to be used on the printout (optional). */
    // @ApiMember(Description="Footer text to be used on the printout (optional).", Name="FussText")
    public fussText?: string;

    /** @description The authentification certificate. */
    // @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    public zertifikat: PortalCertificate;

    /** @description Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'. */
    // @ApiMember(Description="Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.", Name="AbrufCode")
    public abrufCode?: string;

    public constructor(init?: Partial<SubmitUStVa2021AsEntrepreneurBase>) { super(init); (Object as any).assign(this, init); }
}

/** @description Specifies a service response from an ERiC service operation. */
// @Api(Description="Specifies a service response from an ERiC service operation.")
export class ServiceReponseBase implements IHasIndex
{
    /** @description The unique identifier of the response. */
    // @ApiMember(Description="The unique identifier of the response.", Name="Id")
    public id: string;

    /** @description The position of the response element in an indexed collection. */
    // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    public index: number;

    /** @description Metadata that contains structured error information on the service response. */
    // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    public responseStatus?: ResponseStatus;

    public constructor(init?: Partial<ServiceReponseBase>) { (Object as any).assign(this, init); }
}

/** @description Enumeration of ERiC API error codes. */
export enum EricFehlerCode
{
    ERIC_OK = 0,
    ERIC_GLOBAL_UNKNOWN = 610001001,
    ERIC_GLOBAL_PRUEF_FEHLER = 610001002,
    ERIC_GLOBAL_HINWEISE = 610001003,
    ERIC_GLOBAL_FEHLERMELDUNG_NICHT_VORHANDEN = 610001007,
    ERIC_GLOBAL_KEINE_DATEN_VORHANDEN = 610001008,
    ERIC_GLOBAL_NICHT_GENUEGEND_ARBEITSSPEICHER = 610001013,
    ERIC_GLOBAL_DATEI_NICHT_GEFUNDEN = 610001014,
    ERIC_GLOBAL_HERSTELLER_ID_NICHT_ERLAUBT = 610001016,
    ERIC_GLOBAL_ILLEGAL_STATE = 610001017,
    ERIC_GLOBAL_FUNKTION_NICHT_ERLAUBT = 610001018,
    ERIC_GLOBAL_ECHTFALL_NICHT_ERLAUBT = 610001019,
    ERIC_GLOBAL_NO_VERSAND_IN_BETA_VERSION = 610001020,
    ERIC_GLOBAL_TESTMERKER_UNGUELTIG = 610001025,
    ERIC_GLOBAL_DATENSATZ_ZU_GROSS = 610001026,
    ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ERLAUBT = 610001027,
    ERIC_GLOBAL_NUR_PORTALZERTIFIKAT_ERLAUBT = 610001028,
    ERIC_GLOBAL_ABRUFCODE_NICHT_ERLAUBT = 610001029,
    ERIC_GLOBAL_ERROR_XML_CREATE = 610001030,
    ERIC_GLOBAL_TEXTPUFFERGROESSE_FIX = 610001031,
    ERIC_GLOBAL_INTERNER_FEHLER = 610001032,
    ERIC_GLOBAL_ARITHMETIKFEHLER = 610001033,
    ERIC_GLOBAL_STEUERNUMMER_UNGUELTIG = 610001034,
    ERIC_GLOBAL_STEUERNUMMER_FALSCHE_LAENGE = 610001035,
    ERIC_GLOBAL_STEUERNUMMER_NICHT_NUMERISCH = 610001036,
    ERIC_GLOBAL_LANDESNUMMER_UNBEKANNT = 610001037,
    ERIC_GLOBAL_BUFANR_UNBEKANNT = 610001038,
    ERIC_GLOBAL_LANDESNUMMER_BUFANR = 610001039,
    ERIC_GLOBAL_PUFFER_ZUGRIFFSKONFLIKT = 610001040,
    ERIC_GLOBAL_PUFFER_UEBERLAUF = 610001041,
    ERIC_GLOBAL_DATENARTVERSION_UNBEKANNT = 610001042,
    ERIC_GLOBAL_DATENARTVERSION_XML_INKONSISTENT = 610001044,
    ERIC_GLOBAL_COMMONDATA_NICHT_VERFUEGBAR = 610001045,
    ERIC_GLOBAL_LOG_EXCEPTION = 610001046,
    ERIC_GLOBAL_TRANSPORTSCHLUESSEL_NICHT_ERLAUBT = 610001047,
    ERIC_GLOBAL_OEFFENTLICHER_SCHLUESSEL_UNGUELTIG = 610001048,
    ERIC_GLOBAL_TRANSPORTSCHLUESSEL_TYP_FALSCH = 610001049,
    ERIC_GLOBAL_PUFFER_UNGLEICHER_INSTANZ = 610001050,
    ERIC_GLOBAL_VORSATZ_UNGUELTIG = 610001051,
    ERIC_GLOBAL_DATEIZUGRIFF_VERWEIGERT = 610001053,
    ERIC_GLOBAL_UNGUELTIGE_INSTANZ = 610001080,
    ERIC_GLOBAL_NICHT_INITIALISIERT = 610001081,
    ERIC_GLOBAL_MEHRFACHE_INITIALISIERUNG = 610001082,
    ERIC_GLOBAL_FEHLER_INITIALISIERUNG = 610001083,
    ERIC_GLOBAL_UNKNOWN_PARAMETER_ERROR = 610001102,
    ERIC_GLOBAL_CHECK_CORRUPTED_NDS = 610001108,
    ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ANGEGEBEN = 610001206,
    ERIC_GLOBAL_SEND_FLAG_MEHR_ALS_EINES = 610001209,
    ERIC_GLOBAL_UNGUELTIGE_FLAG_KOMBINATION = 610001218,
    ERIC_GLOBAL_ERSTE_SEITE_DRUCK_NICHT_UNTERSTUETZT = 610001220,
    ERIC_GLOBAL_UNGUELTIGER_PARAMETER = 610001222,
    ERIC_GLOBAL_DRUCK_FUER_VERFAHREN_NICHT_ERLAUBT = 610001224,
    ERIC_GLOBAL_VERSAND_ART_NICHT_UNTERSTUETZT = 610001225,
    ERIC_GLOBAL_UNGUELTIGE_PARAMETER_VERSION = 610001226,
    ERIC_GLOBAL_TRANSFERHANDLE = 610001227,
    ERIC_GLOBAL_PLUGININITIALISIERUNG = 610001228,
    ERIC_GLOBAL_INKOMPATIBLE_VERSIONEN = 610001229,
    ERIC_GLOBAL_VERSCHLUESSELUNGSVERFAHREN_NICHT_UNTERSTUETZT = 610001230,
    ERIC_GLOBAL_MEHRFACHAUFRUFE_NICHT_UNTERSTUETZT = 610001231,
    ERIC_GLOBAL_UTI_COUNTRY_NOT_SUPPORTED = 610001404,
    ERIC_GLOBAL_IBAN_FORMALER_FEHLER = 610001501,
    ERIC_GLOBAL_IBAN_LAENDERCODE_FEHLER = 610001502,
    ERIC_GLOBAL_IBAN_LANDESFORMAT_FEHLER = 610001503,
    ERIC_GLOBAL_IBAN_PRUEFZIFFER_FEHLER = 610001504,
    ERIC_GLOBAL_BIC_FORMALER_FEHLER = 610001510,
    ERIC_GLOBAL_BIC_LAENDERCODE_FEHLER = 610001511,
    ERIC_GLOBAL_ZULASSUNGSNUMMER_ZU_LANG = 610001519,
    ERIC_GLOBAL_IDNUMMER_UNGUELTIG = 610001525,
    ERIC_GLOBAL_NULL_PARAMETER = 610001526,
    ERIC_GLOBAL_EWAZ_UNGUELTIG = 610001527,
    ERIC_GLOBAL_EWAZ_LANDESKUERZEL_UNBEKANNT = 610001528,
    ERIC_GLOBAL_UPDATE_NECESSARY = 610001851,
    ERIC_GLOBAL_EINSTELLUNG_NAME_UNGUELTIG = 610001860,
    ERIC_GLOBAL_EINSTELLUNG_WERT_UNGUELTIG = 610001861,
    ERIC_GLOBAL_ERR_DEKODIEREN = 610001862,
    ERIC_GLOBAL_FUNKTION_NICHT_UNTERSTUETZT = 610001863,
    ERIC_GLOBAL_NUTZDATENTICKETS_NICHT_EINDEUTIG = 610001865,
    ERIC_GLOBAL_NUTZDATENHEADERVERSIONEN_UNEINHEITLICH = 610001866,
    ERIC_GLOBAL_BUNDESLAENDER_UNEINHEITLICH = 610001867,
    ERIC_GLOBAL_ZEITRAEUME_UNEINHEITLICH = 610001868,
    ERIC_GLOBAL_NUTZDATENHEADER_EMPFAENGER_NICHT_KORREKT = 610001869,
    ERIC_TRANSFER_COM_ERROR = 610101200,
    ERIC_TRANSFER_VORGANG_NICHT_UNTERSTUETZT = 610101201,
    ERIC_TRANSFER_ERR_XML_THEADER = 610101210,
    ERIC_TRANSFER_ERR_PARAM = 610101251,
    ERIC_TRANSFER_ERR_DATENTEILENDNOTFOUND = 610101253,
    ERIC_TRANSFER_ERR_BEGINDATENLIEFERANT = 610101255,
    ERIC_TRANSFER_ERR_ENDDATENLIEFERANT = 610101256,
    ERIC_TRANSFER_ERR_BEGINTRANSPORTSCHLUESSEL = 610101257,
    ERIC_TRANSFER_ERR_ENDTRANSPORTSCHLUESSEL = 610101258,
    ERIC_TRANSFER_ERR_BEGINDATENGROESSE = 610101259,
    ERIC_TRANSFER_ERR_ENDDATENGROESSE = 610101260,
    ERIC_TRANSFER_ERR_SEND = 610101271,
    ERIC_TRANSFER_ERR_NOTENCRYPTED = 610101274,
    ERIC_TRANSFER_ERR_PROXYCONNECT = 610101276,
    ERIC_TRANSFER_ERR_CONNECTSERVER = 610101278,
    ERIC_TRANSFER_ERR_NORESPONSE = 610101279,
    ERIC_TRANSFER_ERR_PROXYAUTH = 610101280,
    ERIC_TRANSFER_ERR_SEND_INIT = 610101282,
    ERIC_TRANSFER_ERR_TIMEOUT = 610101283,
    ERIC_TRANSFER_ERR_PROXYPORT_INVALID = 610101284,
    ERIC_TRANSFER_ERR_OTHER = 610101291,
    ERIC_TRANSFER_ERR_XML_NHEADER = 610101292,
    ERIC_TRANSFER_ERR_XML_ENCODING = 610101293,
    ERIC_TRANSFER_ERR_ENDSIGUSER = 610101294,
    ERIC_TRANSFER_ERR_XMLTAG_NICHT_GEFUNDEN = 610101295,
    ERIC_TRANSFER_ERR_DATENTEILFEHLER = 610101297,
    ERIC_TRANSFER_EID_ZERTIFIKATFEHLER = 610101500,
    ERIC_TRANSFER_EID_KEINKONTO = 610101510,
    ERIC_TRANSFER_EID_IDNRNICHTEINDEUTIG = 610101511,
    ERIC_TRANSFER_EID_SERVERFEHLER = 610101512,
    ERIC_TRANSFER_EID_KEINCLIENT = 610101520,
    ERIC_TRANSFER_EID_CLIENTFEHLER = 610101521,
    ERIC_TRANSFER_EID_FEHLENDEFELDER = 610101522,
    ERIC_TRANSFER_EID_IDENTIFIKATIONABGEBROCHEN = 610101523,
    ERIC_TRANSFER_EID_NPABLOCKIERT = 610101524,
    ERIC_CRYPT_ERROR_CREATE_KEY = 610201016,
    ERIC_CRYPT_E_INVALID_HANDLE = 610201101,
    ERIC_CRYPT_E_MAX_SESSION = 610201102,
    ERIC_CRYPT_E_BUSY = 610201103,
    ERIC_CRYPT_E_OUT_OF_MEM = 610201104,
    ERIC_CRYPT_E_PSE_PATH = 610201105,
    ERIC_CRYPT_E_PIN_WRONG = 610201106,
    ERIC_CRYPT_E_PIN_LOCKED = 610201107,
    ERIC_CRYPT_E_P7_READ = 610201108,
    ERIC_CRYPT_E_P7_DECODE = 610201109,
    ERIC_CRYPT_E_P7_RECIPIENT = 610201110,
    ERIC_CRYPT_E_P12_READ = 610201111,
    ERIC_CRYPT_E_P12_DECODE = 610201112,
    ERIC_CRYPT_E_P12_SIG_KEY = 610201113,
    ERIC_CRYPT_E_P12_ENC_KEY = 610201114,
    ERIC_CRYPT_E_P11_SIG_KEY = 610201115,
    ERIC_CRYPT_E_P11_ENC_KEY = 610201116,
    ERIC_CRYPT_E_XML_PARSE = 610201117,
    ERIC_CRYPT_E_XML_SIG_ADD = 610201118,
    ERIC_CRYPT_E_XML_SIG_TAG = 610201119,
    ERIC_CRYPT_E_XML_SIG_SIGN = 610201120,
    ERIC_CRYPT_E_ENCODE_UNKNOWN = 610201121,
    ERIC_CRYPT_E_ENCODE_ERROR = 610201122,
    ERIC_CRYPT_E_XML_INIT = 610201123,
    ERIC_CRYPT_E_ENCRYPT = 610201124,
    ERIC_CRYPT_E_DECRYPT = 610201125,
    ERIC_CRYPT_E_P11_SLOT_EMPTY = 610201126,
    ERIC_CRYPT_E_NO_SIG_ENC_KEY = 610201127,
    ERIC_CRYPT_E_LOAD_DLL = 610201128,
    ERIC_CRYPT_E_NO_SERVICE = 610201129,
    ERIC_CRYPT_E_ESICL_EXCEPTION = 610201130,
    ERIC_CRYPT_E_TOKEN_TYPE_MISMATCH = 610201144,
    ERIC_CRYPT_E_P12_CREATE = 610201146,
    ERIC_CRYPT_E_VERIFY_CERT_CHAIN = 610201147,
    ERIC_CRYPT_E_P11_ENGINE_LOADED = 610201148,
    ERIC_CRYPT_E_USER_CANCEL = 610201149,
    ERIC_CRYPT_ZERTIFIKAT = 610201200,
    ERIC_CRYPT_SIGNATUR = 610201201,
    ERIC_CRYPT_NICHT_UNTERSTUETZTES_PSE_FORMAT = 610201203,
    ERIC_CRYPT_PIN_BENOETIGT = 610201205,
    ERIC_CRYPT_PIN_STAERKE_NICHT_AUSREICHEND = 610201206,
    ERIC_CRYPT_E_INTERN = 610201208,
    ERIC_CRYPT_ZERTIFIKATSPFAD_KEIN_VERZEICHNIS = 610201209,
    ERIC_CRYPT_ZERTIFIKATSDATEI_EXISTIERT_BEREITS = 610201210,
    ERIC_CRYPT_PIN_ENTHAELT_UNGUELTIGE_ZEICHEN = 610201211,
    ERIC_CRYPT_E_INVALID_PARAM_ABC = 610201212,
    ERIC_CRYPT_CORRUPTED = 610201213,
    ERIC_CRYPT_EIDKARTE_NICHT_UNTERSTUETZT = 610201214,
    ERIC_CRYPT_E_SC_SLOT_EMPTY = 610201215,
    ERIC_CRYPT_E_SC_NO_APPLET = 610201216,
    ERIC_CRYPT_E_SC_SESSION = 610201217,
    ERIC_CRYPT_E_P11_NO_SIG_CERT = 610201218,
    ERIC_CRYPT_E_P11_INIT_FAILED = 610201219,
    ERIC_CRYPT_E_P11_NO_ENC_CERT = 610201220,
    ERIC_CRYPT_E_P12_NO_SIG_CERT = 610201221,
    ERIC_CRYPT_E_P12_NO_ENC_CERT = 610201222,
    ERIC_CRYPT_E_SC_ENC_KEY = 610201223,
    ERIC_CRYPT_E_SC_NO_SIG_CERT = 610201224,
    ERIC_CRYPT_E_SC_NO_ENC_CERT = 610201225,
    ERIC_CRYPT_E_SC_INIT_FAILED = 610201226,
    ERIC_CRYPT_E_SC_SIG_KEY = 610201227,
    ERIC_IO_FEHLER = 610301001,
    ERIC_IO_DATEI_INKORREKT = 610301005,
    ERIC_IO_PARSE_FEHLER = 610301006,
    ERIC_IO_NDS_GENERIERUNG_FEHLGESCHLAGEN = 610301007,
    ERIC_IO_MASTERDATENSERVICE_NICHT_VERFUEGBAR = 610301010,
    ERIC_IO_STEUERZEICHEN_IM_NDS = 610301014,
    ERIC_IO_VERSIONSINFORMATIONEN_NICHT_GEFUNDEN = 610301031,
    ERIC_IO_FALSCHES_VERFAHREN = 610301104,
    ERIC_IO_READER_MEHRFACHE_STEUERFAELLE = 610301105,
    ERIC_IO_READER_UNERWARTETE_ELEMENTE = 610301106,
    ERIC_IO_READER_FORMALE_FEHLER = 610301107,
    ERIC_IO_READER_FALSCHES_ENCODING = 610301108,
    ERIC_IO_READER_MEHRFACHE_NUTZDATEN_ELEMENTE = 610301109,
    ERIC_IO_READER_MEHRFACHE_NUTZDATENBLOCK_ELEMENTE = 610301110,
    ERIC_IO_UNBEKANNTE_DATENART = 610301111,
    ERIC_IO_READER_UNTERSACHBEREICH_UNGUELTIG = 610301114,
    ERIC_IO_READER_ZU_VIELE_NUTZDATENBLOCK_ELEMENTE = 610301115,
    ERIC_IO_READER_STEUERZEICHEN_IM_TRANSFERHEADER = 610301150,
    ERIC_IO_READER_STEUERZEICHEN_IM_NUTZDATENHEADER = 610301151,
    ERIC_IO_READER_STEUERZEICHEN_IN_DEN_NUTZDATEN = 610301152,
    ERIC_IO_READER_ZU_VIELE_ANHAENGE = 610301190,
    ERIC_IO_READER_ANHANG_ZU_GROSS = 610301191,
    ERIC_IO_READER_ANHAENGE_ZU_GROSS = 610301192,
    ERIC_IO_READER_SCHEMA_VALIDIERUNGSFEHLER = 610301200,
    ERIC_IO_READER_UNBEKANNTE_XML_ENTITY = 610301201,
    ERIC_IO_DATENTEILNOTFOUND = 610301252,
    ERIC_IO_DATENTEILENDNOTFOUND = 610301253,
    ERIC_IO_UEBERGABEPARAMETER_FEHLERHAFT = 610301300,
    ERIC_IO_UNGUELTIGE_UTF8_SEQUENZ = 610301400,
    ERIC_IO_UNGUELTIGE_ZEICHEN_IN_PARAMETER = 610301401,
    ERIC_PRINT_INTERNER_FEHLER = 610501001,
    ERIC_PRINT_DRUCKVORLAGE_NICHT_GEFUNDEN = 610501002,
    ERIC_PRINT_UNGUELTIGER_DATEI_PFAD = 610501004,
    ERIC_PRINT_INITIALISIERUNG_FEHLERHAFT = 610501007,
    ERIC_PRINT_AUSGABEZIEL_UNBEKANNT = 610501008,
    ERIC_PRINT_ABBRUCH_DRUCKVORBEREITUNG = 610501009,
    ERIC_PRINT_ABBRUCH_GENERIERUNG = 610501010,
    ERIC_PRINT_STEUERFALL_NICHT_UNTERSTUETZT = 610501011,
    ERIC_PRINT_FUSSTEXT_ZU_LANG = 610501012,
}

/** @description Represent a base response that encapsulate any ERiC API function return value. */
// @Api(Description="Represent a base response that encapsulate any ERiC API function return value.")
export class EricFehlerCodeResponse extends ServiceReponseBase
{
    /** @description The status code that the ERiC API function returns. */
    // @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
    public statusCode: EricFehlerCode;

    /** @description The status message that the ERiC API function returns. */
    // @ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")
    public statusText?: string;

    /** @description The unique identifier of the response. */
    // @ApiMember(Description="The unique identifier of the response.", Name="Id")
    public id: string;

    /** @description The position of the response element in an indexed collection. */
    // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    public index: number;

    /** @description Metadata that contains structured error information on the service response. */
    // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    public responseStatus?: ResponseStatus;

    public constructor(init?: Partial<EricFehlerCodeResponse>) { super(init); (Object as any).assign(this, init); }
}

/** @description Represents information returned from a successful tax declaration process. */
// @Api(Description="Represents information returned from a successful tax declaration process.")
export class Erfolg
{
    /** @description The generated tele-number for the successful tax declaration process. */
    // @ApiMember(Description="The generated tele-number for the successful tax declaration process.")
    public telenummer: string[];

    /** @description The classification key for the successful tax declaration process. */
    // @ApiMember(Description="The classification key for the successful tax declaration process.")
    public ordnungsbegriffe: string[];

    public constructor(init?: Partial<Erfolg>) { (Object as any).assign(this, init); }
}

/** @description Represents information on the delivery. */
// @Api(Description="Represents information on the delivery.")
export class Transfer
{
    /** @description The ticket of the transfer. */
    // @ApiMember(Description="The ticket of the transfer.")
    public transferTicket?: string;

    public constructor(init?: Partial<Transfer>) { (Object as any).assign(this, init); }
}

/** @description Represents information on all data deliveries, including deliveries that have not been confirmed by the server. For more information, see the ERiC developer manual in the 'TransferTicket' section. */
// @Api(Description="Represents information on all data deliveries, including deliveries that have not been confirmed by the server. For more information, see the ERiC developer manual in the 'TransferTicket' section.")
export class Transfers
{
    /** @description Contains information on all data deliveries, including deliveries that have not been confirmed by the server. */
    // @ApiMember(Description="Contains information on all data deliveries, including deliveries that have not been confirmed by the server.")
    public transferList: Transfer[];

    public constructor(init?: Partial<Transfers>) { (Object as any).assign(this, init); }
}

/** @description Represents value of an index field, which identfies the context about an error message. */
// @Api(Description="Represents value of an index field, which identfies the context about an error message.")
export class SemantischerIndex
{
    /** @description The name of the index field. */
    // @ApiMember(Description="The name of the index field.")
    public name?: string;

    /** @description The value of the index field. */
    // @ApiMember(Description="The value of the index field.")
    public value?: string;

    public constructor(init?: Partial<SemantischerIndex>) { (Object as any).assign(this, init); }
}

/** @description Represents information on an ERiC reference. */
// @Api(Description="Represents information on an ERiC reference.")
export class FehlerRegelpruefung
{
    /** @description The user data ticket of the reference. */
    // @ApiMember(Description="The user data ticket of the reference.")
    public nutzdatenticket?: string;

    /** @description The field identifier of the reference. */
    // @ApiMember(Description="The field identifier of the reference.")
    public feldidentifikator?: string;

    /** @description The multi-line index of the reference. */
    // @ApiMember(Description="The multi-line index of the reference.")
    public mehrfachzeilenindex?: string;

    /** @description The delivery number form of the reference. */
    // @ApiMember(Description="The delivery number form of the reference.")
    public lfdNrVordruck?: string;

    /** @description Indicates the line number of the error field mentioned in the form. */
    // @ApiMember(Description="Indicates the line number of the error field mentioned in the form.")
    public vordruckZeilennummer?: string;

    /** @description Specifies the value of one or more index fields that identify the context of error messages. */
    // @ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")
    public semantischeIndexes: SemantischerIndex[];

    /** @description The sub-subject-area of the reference. */
    // @ApiMember(Description="The sub-subject-area of the reference.")
    public untersachbereich?: string;

    /** @description The private identification number of the reference. */
    // @ApiMember(Description="The private identification number of the reference.")
    public privateKennnummer?: string;

    /** @description The name of the rule that applies to the reference. */
    // @ApiMember(Description="The name of the rule that applies to the reference.")
    public regelName?: string;

    /** @description The technical error identifier of the reference. */
    // @ApiMember(Description="The technical error identifier of the reference.")
    public fachlicheFehlerId?: string;

    /** @description The textual details of the reference. */
    // @ApiMember(Description="The textual details of the reference.")
    public text?: string;

    public constructor(init?: Partial<FehlerRegelpruefung>) { (Object as any).assign(this, init); }
}

export class Hinweis
{
    /** @description The user data ticket of the reference. */
    // @ApiMember(Description="The user data ticket of the reference.")
    public nutzdatenticket?: string;

    /** @description The field identifier of the reference. */
    // @ApiMember(Description="The field identifier of the reference.")
    public feldidentifikator?: string;

    /** @description The multi-line index of the reference. */
    // @ApiMember(Description="The multi-line index of the reference.")
    public mehrfachzeilenindex?: string;

    /** @description The delivery number form of the reference. */
    // @ApiMember(Description="The delivery number form of the reference.")
    public lfdNrVordruck?: string;

    /** @description Indicates the line number of the error field mentioned in the form. */
    // @ApiMember(Description="Indicates the line number of the error field mentioned in the form.")
    public vordruckZeilennummer?: string;

    /** @description Specifies the value of one or more index fields that identify the context of error messages. */
    // @ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")
    public semantischeIndexes: SemantischerIndex[];

    /** @description The sub-subject-area of the reference. */
    // @ApiMember(Description="The sub-subject-area of the reference.")
    public untersachbereich?: string;

    /** @description The private identification number of the reference. */
    // @ApiMember(Description="The private identification number of the reference.")
    public privateKennnummer?: string;

    /** @description The name of the rule that applies to the reference. */
    // @ApiMember(Description="The name of the rule that applies to the reference.")
    public regelName?: string;

    /** @description The technical note identifier of the reference. */
    // @ApiMember(Description="The technical note identifier of the reference.")
    public fachlicheHinweisId?: string;

    /** @description The textual details of the reference. */
    // @ApiMember(Description="The textual details of the reference.")
    public text?: string;

    public constructor(init?: Partial<Hinweis>) { (Object as any).assign(this, init); }
}

/** @description Represents a structure that contains the first output of the ERiC tax data submission process. */
// @Api(Description="Represents a structure that contains the first output of the ERiC tax data submission process.")
export class EricBearbeiteVorgang
{
    /** @description Information from the successful processing a tax declaration. */
    // @ApiMember(Description="Information from the successful processing a tax declaration.")
    public erfolg?: Erfolg;

    /** @description Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server. */
    // @ApiMember(Description="Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.")
    public transfers?: Transfers;

    /** @description Error rules that result from the processing of a tax declaration. */
    // @ApiMember(Description="Error rules that result from the processing of a tax declaration.")
    public fehlerRegelpruefungen: FehlerRegelpruefung[];

    /** @description Hints that result the processing of a tax declaration. */
    // @ApiMember(Description="Hints that result the processing of a tax declaration.")
    public hinweise: Hinweis[];

    public constructor(init?: Partial<EricBearbeiteVorgang>) { (Object as any).assign(this, init); }
}

/** @description Auflistung der gültigen Verfahren */
export enum Verfahren
{
    ElsterAnmeldung = 'ElsterAnmeldung',
    ElsterBereitstellung = 'ElsterBereitstellung',
    ElsterBilanz = 'ElsterBilanz',
    ElsterBRM = 'ElsterBRM',
    ElsterBRMOrg = 'ElsterBRMOrg',
    ElsterDatenabholung = 'ElsterDatenabholung',
    ElsterErklaerung = 'ElsterErklaerung',
    ElsterExtern = 'ElsterExtern',
    ElsterFSE = 'ElsterFSE',
    ElsterKapESt = 'ElsterKapESt',
    ElsterKMV = 'ElsterKMV',
    ElsterKontoabfrage = 'ElsterKontoabfrage',
    ElsterLavendel = 'ElsterLavendel',
    ElsterLohn = 'ElsterLohn',
    ElsterLohn2 = 'ElsterLohn2',
    ElsterNachricht = 'ElsterNachricht',
    ElsterSignatur = 'ElsterSignatur',
    ElsterVollmachtDB = 'ElsterVollmachtDB',
}

/** @description Auflistung aller gültigen Datenarten. */
export enum Datenart
{
    Anlage34a = 'Anlage34a',
    AnpassungVorauszahlung = 'AnpassungVorauszahlung',
    AntragUStVerguetung4a = 'AntragUStVerguetung4a',
    AbrufcodeAntrag = 'AbrufcodeAntrag',
    AenderungAdresse = 'AenderungAdresse',
    AbrufcodeStorno = 'AbrufcodeStorno',
    AbrufvollmachtAnlage = 'AbrufvollmachtAnlage',
    AbrufvollmachtUpdate = 'AbrufvollmachtUpdate',
    AenderungBankverbindung = 'AenderungBankverbindung',
    AntraegeRechteLoeschen = 'AntraegeRechteLoeschen',
    AntraegeUndRechte = 'AntraegeUndRechte',
    Aufzeichnung146a = 'Aufzeichnung146a',
    BetPG = 'BetPG',
    Bilanz = 'Bilanz',
    Belegnachreichung = 'Belegnachreichung',
    BSBMitteilung = 'BSBMitteilung',
    BZSt2 = 'BZSt2',
    C19Mitteilung = 'C19Mitteilung',
    DUeAbmelden = 'DUeAbmelden',
    DUeAnmelden = 'DUeAnmelden',
    DUeUmmelden = 'DUeUmmelden',
    Einspruch = 'Einspruch',
    EinspruchNachtrag = 'EinspruchNachtrag',
    EinspruchRuecknahme = 'EinspruchRuecknahme',
    ELeVAntragELStAM = 'ELeVAntragELStAM',
    ELeVErmaessigung = 'ELeVErmaessigung',
    ELeVGetrenntlebend = 'ELeVGetrenntlebend',
    ELeVSteuerklassenwechsel = 'ELeVSteuerklassenwechsel',
    ELeVWiederaufnahmeEhe = 'ELeVWiederaufnahmeEhe',
    EPAntwort = 'EPAntwort',
    EPBescheid = 'EPBescheid',
    EPMitteilung = 'EPMitteilung',
    EPKurzmitteilung = 'EPKurzmitteilung',
    ElsterErklaerungDaten = 'ElsterErklaerungDaten',
    ElsterKMVDaten = 'ElsterKMVDaten',
    ElsterLohn2Daten = 'ElsterLohn2Daten',
    ElsterLohnDaten = 'ElsterLohnDaten',
    ElsterVaStDaten = 'ElsterVaStDaten',
    ElsterDIVADaten = 'ElsterDIVADaten',
    ElsterDIVDaten = 'ElsterDIVDaten',
    ElsterEPBescheidDaten = 'ElsterEPBescheidDaten',
    ElsterEPMitteilungDaten = 'ElsterEPMitteilungDaten',
    EPStBescheidAbholung = 'EPStBescheidAbholung',
    EPStMitteilungAbholung = 'EPStMitteilungAbholung',
    Erbschaftsteuer = 'Erbschaftsteuer',
    ESt = 'ESt',
    EStbeschraenkt = 'EStbeschraenkt',
    EUER = 'EUER',
    EUn = 'EUn',
    FEIN = 'FEIN',
    ForschungZulAntrag = 'ForschungZulAntrag',
    KStAntragOptionPersG = 'KStAntragOptionPersG',
    FLHMitteilung = 'FLHMitteilung',
    FreistellungKapitalertraegeBV = 'FreistellungKapitalertraegeBV',
    Fristverlaengerung = 'Fristverlaengerung',
    FsEVerein = 'FsEVerein',
    Gewerbemeldung = 'Gewerbemeldung',
    GDBMitteilung = 'GDBMitteilung',
    Gewinnermittlung13aEStG = 'Gewinnermittlung13aEStG',
    GewSt = 'GewSt',
    GewStZ = 'GewStZ',
    GrundsteuerBW = 'GrundsteuerBW',
    GrundsteuerBY = 'GrundsteuerBY',
    GrundsteuerHE = 'GrundsteuerHE',
    GrundsteuerHH = 'GrundsteuerHH',
    GrundsteuerNI = 'GrundsteuerNI',
    Grundsteuerwert = 'Grundsteuerwert',
    InvStG56Abs5 = 'InvStG56Abs5',
    InvStG51Feststellung = 'InvStG51Feststellung',
    KapEStA = 'KapEStA',
    KapEStInvStG = 'KapEStInvStG',
    KapG = 'KapG',
    KapGAus = 'KapGAus',
    KKVMitteilung = 'KKVMitteilung',
    Kontoabfrage = 'Kontoabfrage',
    Kontoinformation = 'Kontoinformation',
    KSt = 'KSt',
    KStZ = 'KStZ',
    KTTAnmeldungHH = 'KTTAnmeldungHH',
    KTTAnzeigeHH = 'KTTAnzeigeHH',
    Lohnersatzleistung = 'Lohnersatzleistung',
    LohnersatzMitteilung = 'LohnersatzMitteilung',
    LStA = 'LStA',
    LStB = 'LStB',
    LStHVVMAnlage = 'LStHVVMAnlage',
    LStHVVMUpdate = 'LStHVVMUpdate',
    OGHMitteilung = 'OGHMitteilung',
    VermoegenswirksameLeistung = 'VermoegenswirksameLeistung',
    VMWiderruf = 'VMWiderruf',
    VollmachtDetails = 'VollmachtDetails',
    VNoVMVRegistrierung = 'VNoVMVRegistrierung',
    VNoVMVUpdate = 'VNoVMVUpdate',
    VNoVMVLoeschung = 'VNoVMVLoeschung',
    VollfAAnlage = 'VollfAAnlage',
    VollfAUpdate = 'VollfAUpdate',
    VMoVMVStBAnlage = 'VMoVMVStBAnlage',
    VMoVMVStBUpdate = 'VMoVMVStBUpdate',
    VMoVMVFreischaltung = 'VMoVMVFreischaltung',
    VAGMitteilung = 'VAGMitteilung',
    DIVADatenBZSt = 'DIVADatenBZSt',
    DivaEinwilligungAnlageBRM = 'DivaEinwilligungAnlageBRM',
    DivaEinwilligungFreisch = 'DivaEinwilligungFreisch',
    DivaEinwilligungUpdateBRM = 'DivaEinwilligungUpdateBRM',
    DivaWiderrufBRM = 'DivaWiderrufBRM',
    DivaErgebnisliste = 'DivaErgebnisliste',
    LStHVDivaAdresseBRM = 'LStHVDivaAdresseBRM',
    VMErgebnisListeVNSicht = 'VMErgebnisListeVNSicht',
    PersG = 'PersG',
    PostfachAnfrage = 'PostfachAnfrage',
    PostfachStatus = 'PostfachStatus',
    ProtokollAnforderung = 'ProtokollAnforderung',
    Registrierung = 'Registrierung',
    Schenkungsteuer = 'Schenkungsteuer',
    SonstigeNachrichten = 'SonstigeNachrichten',
    SpezRechtAntrag = 'SpezRechtAntrag',
    SpezRechtFreischaltung = 'SpezRechtFreischaltung',
    SpezRechtListe = 'SpezRechtListe',
    SpezRechtStorno = 'SpezRechtStorno',
    SpezRechtTeilnahme = 'SpezRechtTeilnahme',
    StAb50a = 'StAb50a',
    Statusabfrage = 'Statusabfrage',
    UnentgeltlicheDepotuebertragung = 'UnentgeltlicheDepotuebertragung',
    UENSTAnmeldungBE = 'UENSTAnmeldungBE',
    UENSTAnzeigeBE = 'UENSTAnzeigeBE',
    USt = 'USt',
    UStVA = 'UStVA',
    UStDV = 'UStDV',
    UStSV = 'UStSV',
    VGNAnmeldungHB = 'VGNAnmeldungHB',
    VGNAnmeldungBE = 'VGNAnmeldungBE',
    VGNAnmeldungHH = 'VGNAnmeldungHH',
    VGNAnzeigeHH = 'VGNAnzeigeHH',
    WTBAnmeldungHB = 'WTBAnmeldungHB',
    ZMDO = 'ZMDO',
    ElsterVollmachtDaten = 'ElsterVollmachtDaten',
    MitteilungAbholung = 'MitteilungAbholung',
}

/** @description Hauptinformation ob die Daten authentifiziert wurden (send-Auth) oder nicht (send-NoSig) */
export enum Vorgang
{
    Send_Auth = 'Send_Auth',
    Send_Auth_Part = 'Send_Auth_Part',
    Send_NoSig = 'Send_NoSig',
    Send_NoSig_Part = 'Send_NoSig_Part',
}

/** @description Kennzeichnung der Datenlieferung ob es sich um einen Testfall handelt, gilt fuer die gesamte Datenlieferung. Ein Echtfall enthält dieses Element nicht. Ein Testfall muss mit einem Testmerker versehen werden, damit er nicht wie ein Echtfall verarbeitet wird. Handelt es sich um Daten, die nur zum Testen des Frontends versendet wurden, müssen sie nicht mehr weiter verarbeitet werden. */
export enum Testmerker
{
    TM010000001 = 10000001,
    TM080000001 = 80000001,
    TM160000001 = 160000001,
    TM160000002 = 160000002,
    TM220000000 = 220000000,
    TM220002000 = 220002000,
    TM230000001 = 230000001,
    TM240000000 = 240000000,
    TM370000001 = 370000001,
    TM520000000 = 520000000,
    TM700000001 = 700000001,
    TM700000004 = 700000004,
}

/** @description Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement. */
// @Api(Description="Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.")
export class SigUser
{
    /** @description The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable */
    // @ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable")
    public inhalt?: Object;

    public constructor(init?: Partial<SigUser>) { (Object as any).assign(this, init); }
}

/** @description Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger */
export enum Bundesland
{
    BW = 'BW',
    BY = 'BY',
    BE = 'BE',
    BB = 'BB',
    HB = 'HB',
    HH = 'HH',
    HE = 'HE',
    MV = 'MV',
    NI = 'NI',
    NW = 'NW',
    RP = 'RP',
    SL = 'SL',
    SN = 'SN',
    ST = 'ST',
    SH = 'SH',
    TH = 'TH',
    EC = 'EC',
    BF = 'BF',
    CS = 'CS',
    CD = 'CD',
    CM = 'CM',
    CN = 'CN',
    DS = 'DS',
    OP = 'OP',
    TK = 'TK',
    ZF = 'ZF',
}

/** @description Represents a receiver of tax data. */
// @Api(Description="Represents a receiver of tax data.")
export class Empfaenger
{
    /** @description The identifier of the receiver. */
    // @ApiMember(Description="The identifier of the receiver.")
    public id?: string;

    /** @description The destination of the receiver. */
    // @ApiMember(Description="The destination of the receiver.")
    public ziel?: Bundesland;

    public constructor(init?: Partial<Empfaenger>) { (Object as any).assign(this, init); }
}

/** @description Protokoll der Verschluesselung. Es kann vorkommen, dass verschieden Verschluesselungsarten eingesetzt werden, eine Unterscheidung ist hier nötig, um das richtige Entschluesselungstool anzusteuern. Mit welcher Verschluesselungsart wurden die Inhalte von den Elementen 'DatenLieferant' und ggf. 'SigUser' im TransferHeader und dem Element 'DatenTeil' verschluesselt */
export enum Verschluesselungsart
{
    PKCS_7v1_5 = 'PKCS_7v1_5',
    PKCS_7v1_5enveloped = 'PKCS_7v1_5enveloped',
    NO_BASE64 = 'NO_BASE64',
    CMSEncryptedData = 'CMSEncryptedData',
    CMSEnvelopedData = 'CMSEnvelopedData',
    EnvelopedData__RSA_OAEP__AES_128__GZip__B64 = 'EnvelopedData__RSA_OAEP__AES_128__GZip__B64',
}

/** @description Mit welcher Kompression wurden die Inhalte von den Elementen DatenLieferant und ggf. SigUser im TransferHeader und dem Element DatenTeil komprimiert. */
export enum Kompression
{
    GZIP = 'GZIP',
    NO_BASE64 = 'NO_BASE64',
}

/** @description [Documentation unavailable] */
// @Api(Description="[Documentation unavailable]")
export class EricTyp
{
    /** @description The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable */
    // @ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable")
    public inhalt?: Object;

    public constructor(init?: Partial<EricTyp>) { (Object as any).assign(this, init); }
}

/** @description [Documentation unavailable] */
// @Api(Description="[Documentation unavailable]")
export class Erstellung
{
    /** @description [Documentation unavailable] */
    // @ApiMember(Description="[Documentation unavailable]")
    public eric?: EricTyp;

    public constructor(init?: Partial<Erstellung>) { (Object as any).assign(this, init); }
}

/** @description Represents information on the encryption of tax data. */
// @Api(Description="Represents information on the encryption of tax data.")
export class Datei
{
    /** @description The type of data encryption used. */
    // @ApiMember(Description="The type of data encryption used.")
    public verschluesselung: Verschluesselungsart;

    /** @description The type of data compression used. */
    // @ApiMember(Description="The type of data compression used.")
    public kompression: Kompression;

    /** @description The transport key used in the encryption. */
    // @ApiMember(Description="The transport key used in the encryption.")
    public transportSchluessel?: string;

    /** @description [Documentation unavailable] */
    // @ApiMember(Description="[Documentation unavailable]")
    public erstellung?: Erstellung;

    public constructor(init?: Partial<Datei>) { (Object as any).assign(this, init); }
}

/** @description Represents an external error stack. */
// @Api(Description="Represents an external error stack.")
export class Rueckgabe
{
    /** @description The external error code. Either a zero (0) if no external errors occurred; otherwise an error number. */
    // @ApiMember(Description="The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.")
    public code?: string;

    /** @description The external error message. */
    // @ApiMember(Description="The external error message.")
    public text?: string;

    public constructor(init?: Partial<Rueckgabe>) { (Object as any).assign(this, init); }
}

/** @description Represents an internal error stack. */
// @Api(Description="Represents an internal error stack.")
export class Stack
{
    /** @description The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number. */
    // @ApiMember(Description="The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.")
    public code?: string;

    /** @description The external error message. */
    // @ApiMember(Description="The external error message.")
    public text?: string;

    public constructor(init?: Partial<Stack>) { (Object as any).assign(this, init); }
}

/** @description Represents an ERiC return code. */
// @Api(Description="Represents an ERiC return code.")
export class RC
{
    /** @description The return value of the return code. */
    // @ApiMember(Description="The return value of the return code.")
    public rueckgabe?: Rueckgabe;

    /** @description The internal value of the return code. */
    // @ApiMember(Description="The internal value of the return code.")
    public stack?: Stack;

    public constructor(init?: Partial<RC>) { (Object as any).assign(this, init); }
}

/** @description Represents an ERiC extension. */
// @Api(Description="Represents an ERiC extension.")
export class Zusatz
{
    /** @description The user-customizable items for the extension. Data providers can use these items for their own extensions/information. */
    // @ApiMember(Description="The user-customizable items for the extension. Data providers can use these items for their own extensions/information.")
    public infos: string[];

    /** @description The ELSTER items for the extension. They can be included in the response XML from the ELSTER server, if special information must be returned to the user after data submission. For example, for authenticated submission, information about impending certificate expiration etc. It must not be supplied by the data provider (even when empty). */
    // @ApiMember(Description="The ELSTER items for the extension. They can be included in the response XML from the ELSTER server, if special information must be returned to the user after data submission. For example, for authenticated submission, information about impending certificate expiration etc. It must not be supplied by the data provider (even when empty).")
    public elsterInfos: string[];

    public constructor(init?: Partial<Zusatz>) { (Object as any).assign(this, init); }
}

/** @description Represents the transfer header part of an ELSTER document. */
// @Api(Description="Represents the transfer header part of an ELSTER document.")
export class TransferHeader
{
    /** @description The version of the transfer header. */
    // @ApiMember(Description="The version of the transfer header.", IsRequired=true)
    public version: string;

    /** @description The tax operation used in the ELSTER process. */
    // @ApiMember(Description="The tax operation used in the ELSTER process.", IsRequired=true)
    public verfahren: Verfahren;

    /** @description The tax data type of the ELSTER process. */
    // @ApiMember(Description="The tax data type of the ELSTER process.", IsRequired=true)
    public datenArt: Datenart;

    /** @description The authentification procedure of the ELSTER process. */
    // @ApiMember(Description="The authentification procedure of the ELSTER process.", IsRequired=true)
    public vorgang: Vorgang;

    /** @description The ticket identifier after a successful ELSTER process. */
    // @ApiMember(Description="The ticket identifier after a successful ELSTER process.")
    public transferTicket?: string;

    /** @description The flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set. */
    // @ApiMember(Description="The flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set.")
    public testmerker?: Testmerker;

    /** @description The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement. */
    // @ApiMember(Description="The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.")
    public sigUser?: SigUser;

    /** @description The receiving ELSTER server. */
    // @ApiMember(Description="The receiving ELSTER server.")
    public empfaenger?: Empfaenger;

    /** @description The identifier of the software manufacturer, through whose software the tax declaration is filed. */
    // @ApiMember(Description="The identifier of the software manufacturer, through whose software the tax declaration is filed.", IsRequired=true)
    public herstellerID: string;

    /** @description The details of the provider that submits tax data. */
    // @ApiMember(Description="The details of the provider that submits tax data.", IsRequired=true)
    public datenLieferant: string;

    /** @description The date of receipt of the tax data. */
    // @ApiMember(Description="The date of receipt of the tax data.")
    public eingangsDatum?: string;

    /** @description The encryption data required for authenticated transmission of tax data. */
    // @ApiMember(Description="The encryption data required for authenticated transmission of tax data.")
    public datei?: Datei;

    /** @description The return code of the transfer header and is included in the response XML of the ELSTER server. The value should never be set by the data provider. */
    // @ApiMember(Description="The return code of the transfer header and is included in the response XML of the ELSTER server. The value should never be set by the data provider.")
    public rc?: RC;

    /** @description The details of the software that submits the tax data. */
    // @ApiMember(Description="The details of the software that submits the tax data.")
    public versionClient?: string;

    /** @description Data extensions to the transfer header. */
    // @ApiMember(Description="Data extensions to the transfer header.")
    public zusatz?: Zusatz;

    public constructor(init?: Partial<TransferHeader>) { (Object as any).assign(this, init); }
}

/** @description Represents a receriver ID */
export enum EmpfaengerID
{
    L = 'L',
    F = 'F',
}

/** @description Represents a receiver of tax data. */
// @Api(Description="Represents a receiver of tax data.")
export class NDHEmpfaenger
{
    /** @description The identifier of the receiver. */
    // @ApiMember(Description="The identifier of the receiver.")
    public id: EmpfaengerID;

    /** @description The value of the receiver. */
    // @ApiMember(Description="The value of the receiver.")
    public value?: string;

    public constructor(init?: Partial<NDHEmpfaenger>) { (Object as any).assign(this, init); }
}

/** @description Represents a manufacturer/vendor of tax software. */
// @Api(Description="Represents a manufacturer/vendor of tax software.")
export class Hersteller
{
    /** @description The product name of the tax software produced by the manufacturer. */
    // @ApiMember(Description="The product name of the tax software produced by the manufacturer.")
    public produktName?: string;

    /** @description The product version of the tax software produced by the manufacturer. */
    // @ApiMember(Description="The product version of the tax software produced by the manufacturer.")
    public produktVersion?: string;

    public constructor(init?: Partial<Hersteller>) { (Object as any).assign(this, init); }
}

/** @description Represents the header of a tax data. */
// @Api(Description="Represents the header of a tax data.")
export class NutzdatenHeader
{
    /** @description The version of the header. */
    // @ApiMember(Description="The version of the header.", IsRequired=true)
    public version: string;

    /** @description The ticket identifier of the header. */
    // @ApiMember(Description="The ticket identifier of the header.", IsRequired=true)
    public nutzdatenTicket: string;

    /** @description The receiver of the header. */
    // @ApiMember(Description="The receiver of the header.", IsRequired=true)
    public empfaenger: NDHEmpfaenger;

    /** @description The software manufacturer, through whose software the tax declaration or filing is submitted. */
    // @ApiMember(Description="The software manufacturer, through whose software the tax declaration or filing is submitted.", IsRequired=true)
    public hersteller: Hersteller;

    /** @description The details of the data provider (e.g. taxpayer, tax consulant or firm), who produced the tax data and it must not necessarily be the same person declared in the TransferHeader section. */
    // @ApiMember(Description="The details of the data provider (e.g. taxpayer, tax consulant or firm), who produced the tax data and it must not necessarily be the same person declared in the TransferHeader section.")
    public datenLieferant?: string;

    /** @description The return code of the header. */
    // @ApiMember(Description="The return code of the header.")
    public rc?: RC;

    /** @description The data extensions of the header. */
    // @ApiMember(Description="The data extensions of the header.")
    public zusatz?: Zusatz;

    public constructor(init?: Partial<NutzdatenHeader>) { (Object as any).assign(this, init); }
}

/** @description Represents an encapsulation of tax data content. */
// @Api(Description="Represents an encapsulation of tax data content.")
export class Nutzdaten
{
    /** @description The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable */
    // @ApiMember(Description="The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable", IsRequired=true)
    public inhalt: Object;

    public constructor(init?: Partial<Nutzdaten>) { (Object as any).assign(this, init); }
}

/** @description Represents a block of tax data. */
// @Api(Description="Represents a block of tax data.")
export class Nutzdatenblock
{
    /** @description The header part of the block. */
    // @ApiMember(Description="The header part of the block.", IsRequired=true)
    public nutzdatenHeader: NutzdatenHeader;

    /** @description The data part of the block. */
    // @ApiMember(Description="The data part of the block.", IsRequired=true)
    public nutzdaten: Nutzdaten;

    public constructor(init?: Partial<Nutzdatenblock>) { (Object as any).assign(this, init); }
}

/** @description Represents the data part of an ELSTER document. */
// @Api(Description="Represents the data part of an ELSTER document.")
export class DatenTeil
{
    /** @description The blocks of tax data of the ELSTER document. */
    // @ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)
    public nutzdatenbloecke: Nutzdatenblock[];

    public constructor(init?: Partial<DatenTeil>) { (Object as any).assign(this, init); }
}

/** @description Represents an ELSTER document. */
// @Api(Description="Represents an ELSTER document.")
export class Elster
{
    /** @description The transfer header part of the ELSTER document. */
    // @ApiMember(Description="The transfer header part of the ELSTER document.", IsRequired=true)
    public transferHeader: TransferHeader;

    /** @description The data (facts) part of the ELSTER document. */
    // @ApiMember(Description="The data (facts) part of the ELSTER document.")
    public datenTeil?: DatenTeil;

    public constructor(init?: Partial<Elster>) { (Object as any).assign(this, init); }
}

/** @description Represents information about a file or directory. */
// @Api(Description="Represents information about a file or directory.")
export class FileMetadata implements IFileMetadata
{
    /** @description The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory. */
    // @ApiMember(Description="The name of the file.\nFor files, gets the name of the file.\nFor directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.", Name="Name")
    public name: string;

    /** @description The full path of the directory or file. */
    // @ApiMember(Description="The full path of the directory or file.", Name="FullName")
    public fullName: string;

    /** @description The time the current file or directory was last accessed. */
    // @ApiMember(Description="The time the current file or directory was last accessed.", Name="LastAccessTime")
    public lastAccessTime: string;

    /** @description The name of the file. */
    // @ApiMember(Description="The name of the file.", Name="LastAccessTimeUtc")
    public lastAccessTimeUtc: string;

    /** @description The time when the current file or directory was last written to. */
    // @ApiMember(Description="The time when the current file or directory was last written to.", Name="LastAccessTime")
    public lastWriteTime: string;

    /** @description The time, in coordinated universal time (UTC), when the current file or directory was last written to. */
    // @ApiMember(Description="The time, in coordinated universal time (UTC), when the current file or directory was last written to.", Name="LastWriteTimeUtc")
    public lastWriteTimeUtc: string;

    /** @description The size, in bytes, of the current file. */
    // @ApiMember(Description="The size, in bytes, of the current file.", Name="Length")
    public length: number;

    /** @description The size, in bytes, of the current file. */
    // @ApiMember(Description="The size, in bytes, of the current file.", Name="UserId")
    public userId: number;

    /** @description The file group id. */
    // @ApiMember(Description="The file group id.", Name="GroupId")
    public groupId: number;

    /** @description A value that indicates whether the others can read from this file. */
    // @ApiMember(Description="A value that indicates whether the others can read from this file.", Name="OthersCanRead")
    public othersCanRead: boolean;

    /** @description A value that indicates whether the group members can execute this file. */
    // @ApiMember(Description="A value that indicates whether the group members can execute this file.", Name="GroupCanExecute")
    public groupCanExecute: boolean;

    /** @description A value that indicates whether the group members can write into this file. */
    // @ApiMember(Description="A value that indicates whether the group members can write into this file.", Name="GroupCanWrite")
    public groupCanWrite: boolean;

    /** @description A value that indicates whether the group members can read from this file. */
    // @ApiMember(Description="A value that indicates whether the group members can read from this file.", Name="GroupCanRead")
    public groupCanRead: boolean;

    /** @description A value that indicates whether the owner can execute this file. */
    // @ApiMember(Description="A value that indicates whether the owner can execute this file.", Name="OwnerCanExecute")
    public ownerCanExecute: boolean;

    /** @description A value that indicates whether the owner can write into this file. */
    // @ApiMember(Description="A value that indicates whether the owner can write into this file.", Name="OwnerCanWrite")
    public ownerCanWrite: boolean;

    /** @description A value that indicates whether the owner can read from this file. */
    // @ApiMember(Description="A value that indicates whether the owner can read from this file.", Name="OthersCanRead")
    public ownerCanRead: boolean;

    /** @description A value that indicates whether others can read from this file. */
    // @ApiMember(Description="A value that indicates whether others can read from this file.", Name="OthersCanExecute")
    public othersCanExecute: boolean;

    /** @description A value that indicates whether others can write into this file. */
    // @ApiMember(Description="A value that indicates whether others can write into this file.", Name="OthersCanWrite")
    public othersCanWrite: boolean;

    /** @description Extensions to the file attributes. */
    // @ApiMember(Description="Extensions to the file attributes.", Name="Extensions")
    public extensions: { [index: string]: string; };

    public constructor(init?: Partial<FileMetadata>) { (Object as any).assign(this, init); }
}

/** @description Represents a file that contains raw data content in bytes */
// @Api(Description="Represents a file that contains raw data content in bytes")
export class BinaryFile extends FileBase
{
    /** @description The attributes of the file. */
    // @ApiMember(Description="The attributes of the file.", Name="Metadata")
    public metadata: FileMetadata;

    /** @description The name of the file without information on its directory path. */
    // @ApiMember(Description="The name of the file without information on its directory path.", Name="Name")
    public name: string;

    /** @description The raw data content of the file. */
    // @ApiMember(Description="The raw data content of the file.", Name="Content")
    public content: string;

    public constructor(init?: Partial<BinaryFile>) { super(init); (Object as any).assign(this, init); }
}

/** @description A type that encapsulates the return values from the ERiC API function that processes tax data. */
// @Api(Description="A type that encapsulates the return values from the ERiC API function that processes tax data.")
export class BearbeiteVorgangResponse extends EricFehlerCodeResponse
{
    /** @description The return value of the process. */
    // @ApiMember(Description="The return value of the process.")
    public rueckgabe?: EricBearbeiteVorgang;

    /** @description The server response of the process. */
    // @ApiMember(Description="The server response of the process.")
    public serverantwort?: Elster;

    /** @description If available, the PDF-based files to represent generated transfer prototocols. */
    // @ApiMember(Description="If available, the PDF-based files to represent generated transfer prototocols.")
    public transferProtocols: BinaryFile[];

    /** @description The status code that the ERiC API function returns. */
    // @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
    public statusCode: EricFehlerCode;

    /** @description The status message that the ERiC API function returns. */
    // @ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")
    public statusText?: string;

    /** @description The unique identifier of the response. */
    // @ApiMember(Description="The unique identifier of the response.", Name="Id")
    public id: string;

    /** @description The position of the response element in an indexed collection. */
    // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    public index: number;

    /** @description Metadata that contains structured error information on the service response. */
    // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    public responseStatus?: ResponseStatus;

    public constructor(init?: Partial<BearbeiteVorgangResponse>) { super(init); (Object as any).assign(this, init); }
}

/** @description An asynchronous service to submit an preliminary VAT return (Umsatzsteuervoranmeldung) as an Entrepreneur for 2021. */
// @Api(Description="An asynchronous service to submit an preliminary VAT return (Umsatzsteuervoranmeldung) as an Entrepreneur for 2021.")
export class SubmitUStVa2021AsEntrepreneurAsync extends SubmitUStVa2021AsEntrepreneurBase
{
    /** @description Die Umsatzsteuervoranmeldung (The preliminary VAT return). */
    // @ApiMember(Description="Die Umsatzsteuervoranmeldung (The preliminary VAT return).", IsRequired=true, Name="Umsatzsteuervoranmeldung")
    public umsatzsteuervoranmeldung: Umsatzsteuervoranmeldung2021;

    /** @description Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data). */
    // @ApiMember(Description="Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).", IsRequired=true, Name="DatenLieferant")
    public datenLieferant: DatenLieferant;

    /** @description Der natürliche oder jüritische Person, der den Steuerfall bearbeitet und abgibt (The natural or legal person who processes and submits the tax case). */
    // @ApiMember(Description="Der natürliche oder jüritische Person, der den Steuerfall bearbeitet und abgibt (The natural or legal person who processes and submits the tax case).", Name="Unternehmer")
    public unternehmer?: Unternehmer;

    /** @description Das Datum der Erstellung (Date of creation). */
    // @ApiMember(Description="Das Datum der Erstellung (Date of creation).", IsRequired=true, Name="Erstellungsdatum")
    public erstellungsdatum: string;

    /** @description Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office). */
    // @ApiMember(Description="Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).", IsRequired=true, Name="Bundesfinanzamtsnummer")
    public bundesfinanzamtsnummer: string;

    /** @description Die Anbindung zum ELSTER Online Portal (EOP). */
    // @ApiMember(Description="Die Anbindung zum ELSTER Online Portal (EOP).", Name="EOP")
    public eop?: EOP;

    /** @description Should the PDF file be prepared for a double-sided printout with a margin for punching?.  True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page. */
    // @ApiMember(Description="Should the PDF file be prepared for a double-sided printout with a margin for punching?.  True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.", Name="DuplexDruck")
    public duplexDruck?: boolean;

    /** @description Name prefix of the generated transfer protocol file. */
    // @ApiMember(Description="Name prefix of the generated transfer protocol file.", IsRequired=true, Name="ProtocolPrefix")
    public protocolPrefix: string;

    /** @description Footer text to be used on the printout (optional). */
    // @ApiMember(Description="Footer text to be used on the printout (optional).", Name="FussText")
    public fussText?: string;

    /** @description The authentification certificate. */
    // @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    public zertifikat: PortalCertificate;

    /** @description Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'. */
    // @ApiMember(Description="Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.", Name="AbrufCode")
    public abrufCode?: string;

    public constructor(init?: Partial<SubmitUStVa2021AsEntrepreneurAsync>) { super(init); (Object as any).assign(this, init); }
}

TypeScript SubmitUStVa2021AsEntrepreneurAsync DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /SubmitUStVa2021AsEntrepreneurAsync HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	umsatzsteuervoranmeldung: 
	{
		jahr: 0,
		zeitraum: 0,
		steuernummer: String,
		kz09: 
		{
			herstellerId: 0,
			beraterName: String,
			berufsbezeichnung: String,
			beraterTelNrVorwahl: String,
			beraterTelNrAnschluss: String,
			mandantName: String
		},
		kz10: 
		{
			wert: 0
		},
		kz21: 
		{
			wert: 0
		},
		kz22: 
		{
			wert: 0
		},
		kz23: 
		{
			wert: 0
		},
		kz23_Begruendung: String,
		kz26: 
		{
			wert: 0
		},
		kz29: 
		{
			wert: 0
		},
		kz35: 
		{
			wert: 0
		},
		kz36: 
		{
			wert: 0
		},
		kz37: 
		{
			wert: 0
		},
		kz39: 
		{
			wert: 0
		},
		kz41: 
		{
			wert: 0
		},
		kz42: 
		{
			wert: 0
		},
		kz43: 
		{
			wert: 0
		},
		kz44: 
		{
			wert: 0
		},
		kz45: 
		{
			wert: 0
		},
		kz46: 
		{
			wert: 0
		},
		kz47: 
		{
			wert: 0
		},
		kz48: 
		{
			wert: 0
		},
		kz49: 
		{
			wert: 0
		},
		kz50: 
		{
			wert: 0
		},
		kz59: 
		{
			wert: 0
		},
		kz60: 
		{
			wert: 0
		},
		kz61: 
		{
			wert: 0
		},
		kz62: 
		{
			wert: 0
		},
		kz63: 
		{
			wert: 0
		},
		kz64: 
		{
			wert: 0
		},
		kz65: 
		{
			wert: 0
		},
		kz66: 
		{
			wert: 0
		},
		kz67: 
		{
			wert: 0
		},
		kz69: 
		{
			wert: 0
		},
		kz73: 
		{
			wert: 0
		},
		kz74: 
		{
			wert: 0
		},
		kz76: 
		{
			wert: 0
		},
		kz77: 
		{
			wert: 0
		},
		kz80: 
		{
			wert: 0
		},
		kz81: 
		{
			wert: 0
		},
		kz83: 
		{
			wert: 0
		},
		kz84: 
		{
			wert: 0
		},
		kz85: 
		{
			wert: 0
		},
		kz86: 
		{
			wert: 0
		},
		kz89: 
		{
			wert: 0
		},
		kz91: 
		{
			wert: 0
		},
		kz93: 
		{
			wert: 0
		},
		kz94: 
		{
			wert: 0
		},
		kz95: 
		{
			wert: 0
		},
		kz96: 
		{
			wert: 0
		},
		kz98: 
		{
			wert: 0
		}
	},
	datenLieferant: 
	{
		name: String,
		strasse: String,
		plz: String,
		ort: String,
		telefon: String,
		email: String
	},
	unternehmer: 
	{
		bezeichnung: String,
		name: String,
		vorname: String,
		namensvorsatz: String,
		namenszusatz: String,
		str: String,
		hausnummer: String,
		hNrZusatz: String,
		anschriftenZusatz: String,
		ort: String,
		plz: String,
		auslandsPLZ: String,
		land: String,
		postfachOrt: String,
		postfach: String,
		postfachPLZ: String,
		gkplz: String,
		telefon: String,
		email: String
	},
	erstellungsdatum: 0001-01-01,
	bundesfinanzamtsnummer: String,
	eop: 
	{
		transferausgabe: String
	},
	duplexDruck: False,
	protocolPrefix: String,
	fussText: String,
	zertifikat: 
	{
		id: 00000000000000000000000000000000,
		index: 0,
		pin: String,
		description: String,
		tags: 
		[
			String
		],
		name: String,
		content: AA==
	},
	abrufCode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	rueckgabe: 
	{
		erfolg: 
		{
			telenummer: 
			[
				String
			],
			ordnungsbegriffe: 
			[
				String
			]
		},
		transfers: 
		{
			transferList: 
			[
				{
					transferTicket: String
				}
			]
		},
		fehlerRegelpruefungen: 
		[
			{
				nutzdatenticket: String,
				feldidentifikator: String,
				mehrfachzeilenindex: String,
				lfdNrVordruck: String,
				vordruckZeilennummer: String,
				semantischeIndexes: 
				[
					{
						name: String,
						value: String
					}
				],
				untersachbereich: String,
				privateKennnummer: String,
				regelName: String,
				fachlicheFehlerId: String,
				text: String
			}
		],
		hinweise: 
		[
			{
				nutzdatenticket: String,
				feldidentifikator: String,
				mehrfachzeilenindex: String,
				lfdNrVordruck: String,
				vordruckZeilennummer: String,
				semantischeIndexes: 
				[
					{
						name: String,
						value: String
					}
				],
				untersachbereich: String,
				privateKennnummer: String,
				regelName: String,
				fachlicheHinweisId: String,
				text: String
			}
		]
	},
	serverantwort: 
	{
		transferHeader: 
		{
			version: String,
			verfahren: ElsterAnmeldung,
			datenArt: 34a,
			vorgang: send-Auth,
			transferTicket: String,
			testmerker: 0,
			sigUser: 
			{
				inhalt: {}
			},
			empfaenger: 
			{
				id: String,
				ziel: BW
			},
			herstellerID: String,
			datenLieferant: String,
			eingangsDatum: 0001-01-01,
			datei: 
			{
				verschluesselung: PKCS#7v1.5,
				kompression: GZIP,
				transportSchluessel: String,
				erstellung: 
				{
					eric: 
					{
						inhalt: {}
					}
				}
			},
			rc: 
			{
				rueckgabe: 
				{
					code: String,
					text: String
				},
				stack: 
				{
					code: String,
					text: String
				}
			},
			versionClient: String,
			zusatz: 
			{
				infos: 
				[
					String
				],
				elsterInfos: 
				[
					String
				]
			}
		},
		datenTeil: 
		{
			nutzdatenbloecke: 
			[
				{
					nutzdatenHeader: 
					{
						version: String,
						nutzdatenTicket: String,
						empfaenger: 
						{
							id: L,
							value: String
						},
						hersteller: 
						{
							produktName: String,
							produktVersion: String
						},
						datenLieferant: String,
						rc: 
						{
							rueckgabe: 
							{
								code: String,
								text: String
							},
							stack: 
							{
								code: String,
								text: String
							}
						},
						zusatz: 
						{
							infos: 
							[
								String
							],
							elsterInfos: 
							[
								String
							]
						}
					},
					nutzdaten: 
					{
						inhalt: {}
					}
				}
			]
		}
	},
	transferProtocols: 
	[
		{
			metadata: 
			{
				name: String,
				fullName: String,
				lastAccessTime: 0001-01-01,
				lastAccessTimeUtc: 0001-01-01,
				lastWriteTime: 0001-01-01,
				lastWriteTimeUtc: 0001-01-01,
				length: 0,
				userId: 0,
				groupId: 0,
				othersCanRead: False,
				groupCanExecute: False,
				groupCanWrite: False,
				groupCanRead: False,
				ownerCanExecute: False,
				ownerCanWrite: False,
				ownerCanRead: False,
				othersCanExecute: False,
				othersCanWrite: False,
				extensions: 
				{
					String: String
				}
			},
			name: String,
			content: AA==
		}
	],
	statusCode: ERIC_OK,
	statusText: String,
	id: String,
	index: 0,
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}