Search Results for

    Show / Hide Table of Contents

    Class GeneralLedgerAccount

    GeneralLedgerAccount

    Inheritance
    System.Object
    GeneralLedgerAccount
    Implements
    System.IEquatable<GeneralLedgerAccount>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Datev.Swagger.Model
    Assembly: Simplic.Datev.IO.Swagger.dll
    Syntax
    [DataContract]
    public class GeneralLedgerAccount : IEquatable<GeneralLedgerAccount>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    GeneralLedgerAccount(String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, List<DatevGeneralLedgerAccountTaxRates>)

    Initializes a new instance of the GeneralLedgerAccount class.

    Declaration
    public GeneralLedgerAccount(string id = null, int? accountNumber = null, int? additionalFunction = null, string caption = null, string functionDescription = null, int? functionExtension = null, int? mainFunction = null, int? mainFunctionNumber = null, List<DatevGeneralLedgerAccountTaxRates> taxRates = null)
    Parameters
    Type Name Description
    System.String id

    ID of the general ledger, account number of the general ledger account shown at maximum length, 8 digits (technical length).

    System.Nullable<System.Int32> accountNumber

    (Kontonummer) Account number of the general ledger account shown at maximum length, 8 digits (technical length).

    System.Nullable<System.Int32> additionalFunction

    (Steuerrechnungstyp/Zusatzfunktion) Tax calculation type/additional function, states which calculation is permissible in connection with the general ledger account (0 = sales tax permissible (field empty), 1 = no sales tax permissible, 3 = only input tax, 8 = only VAT permissible).

    System.String caption

    (Kontobeschriftung) General ledger account caption.

    System.String functionDescription

    (Funktionsbezeichnung) Function description of the main function number.

    System.Nullable<System.Int32> functionExtension

    (Funktionsergänzung) Function extension; the meaning of the function extension is dependent on the main function number, e.g. main function number = 80 (sales tax), function extension 1 = normal rate, 2 = reduced rate, 70 = tax rate of 7.0 percent, 190 = tax rate of 19.0 percent..

    System.Nullable<System.Int32> mainFunction

    (Hauptfunktionstyp) Main function type (1 = automatic input tax invoice, 2 = automatic VAT invoice, 3 = general function, 4 = collective function, 6 = collective function, automatic input tax, 7 = collective function, automatic VAT).

    System.Nullable<System.Int32> mainFunctionNumber

    (Hauptfunktionsnummer) Main function number (e.g. 10 = cash account, 11 general ledger account (debitor), 12 entry block, ... 20 = supplier account, 21 = customer account, ... 25 = supplier account (RHB), ... 90 = collective account (debitor), 91 = collective account (creditor), ... 98 = blocked).

    System.Collections.Generic.List<DatevGeneralLedgerAccountTaxRates> taxRates

    (Steuersätze) Tax rates.

    Properties

    | Improve this Doc View Source

    AccountNumber

    (Kontonummer) Account number of the general ledger account shown at maximum length, 8 digits (technical length)

    Declaration
    [DataMember(Name = "account_number", EmitDefaultValue = false)]
    public int? AccountNumber { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Kontonummer) Account number of the general ledger account shown at maximum length, 8 digits (technical length)

    | Improve this Doc View Source

    AdditionalFunction

    (Steuerrechnungstyp/Zusatzfunktion) Tax calculation type/additional function, states which calculation is permissible in connection with the general ledger account (0 = sales tax permissible (field empty), 1 = no sales tax permissible, 3 = only input tax, 8 = only VAT permissible)

    Declaration
    [DataMember(Name = "additional_function", EmitDefaultValue = false)]
    public int? AdditionalFunction { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Steuerrechnungstyp/Zusatzfunktion) Tax calculation type/additional function, states which calculation is permissible in connection with the general ledger account (0 = sales tax permissible (field empty), 1 = no sales tax permissible, 3 = only input tax, 8 = only VAT permissible)

    | Improve this Doc View Source

    Caption

    (Kontobeschriftung) General ledger account caption

    Declaration
    [DataMember(Name = "caption", EmitDefaultValue = false)]
    public string Caption { get; set; }
    Property Value
    Type Description
    System.String

    (Kontobeschriftung) General ledger account caption

    | Improve this Doc View Source

    FunctionDescription

    (Funktionsbezeichnung) Function description of the main function number

    Declaration
    [DataMember(Name = "function_description", EmitDefaultValue = false)]
    public string FunctionDescription { get; set; }
    Property Value
    Type Description
    System.String

    (Funktionsbezeichnung) Function description of the main function number

    | Improve this Doc View Source

    FunctionExtension

    (Funktionsergänzung) Function extension; the meaning of the function extension is dependent on the main function number, e.g. main function number = 80 (sales tax), function extension 1 = normal rate, 2 = reduced rate, 70 = tax rate of 7.0 percent, 190 = tax rate of 19.0 percent.

    Declaration
    [DataMember(Name = "function_extension", EmitDefaultValue = false)]
    public int? FunctionExtension { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Funktionsergänzung) Function extension; the meaning of the function extension is dependent on the main function number, e.g. main function number = 80 (sales tax), function extension 1 = normal rate, 2 = reduced rate, 70 = tax rate of 7.0 percent, 190 = tax rate of 19.0 percent.

    | Improve this Doc View Source

    Id

    ID of the general ledger, account number of the general ledger account shown at maximum length, 8 digits (technical length)

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    ID of the general ledger, account number of the general ledger account shown at maximum length, 8 digits (technical length)

    | Improve this Doc View Source

    MainFunction

    (Hauptfunktionstyp) Main function type (1 = automatic input tax invoice, 2 = automatic VAT invoice, 3 = general function, 4 = collective function, 6 = collective function, automatic input tax, 7 = collective function, automatic VAT)

    Declaration
    [DataMember(Name = "main_function", EmitDefaultValue = false)]
    public int? MainFunction { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Hauptfunktionstyp) Main function type (1 = automatic input tax invoice, 2 = automatic VAT invoice, 3 = general function, 4 = collective function, 6 = collective function, automatic input tax, 7 = collective function, automatic VAT)

    | Improve this Doc View Source

    MainFunctionNumber

    (Hauptfunktionsnummer) Main function number (e.g. 10 = cash account, 11 general ledger account (debitor), 12 entry block, ... 20 = supplier account, 21 = customer account, ... 25 = supplier account (RHB), ... 90 = collective account (debitor), 91 = collective account (creditor), ... 98 = blocked)

    Declaration
    [DataMember(Name = "main_function_number", EmitDefaultValue = false)]
    public int? MainFunctionNumber { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Hauptfunktionsnummer) Main function number (e.g. 10 = cash account, 11 general ledger account (debitor), 12 entry block, ... 20 = supplier account, 21 = customer account, ... 25 = supplier account (RHB), ... 90 = collective account (debitor), 91 = collective account (creditor), ... 98 = blocked)

    | Improve this Doc View Source

    TaxRates

    (Steuersätze) Tax rates

    Declaration
    [DataMember(Name = "tax_rates", EmitDefaultValue = false)]
    public List<DatevGeneralLedgerAccountTaxRates> TaxRates { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DatevGeneralLedgerAccountTaxRates>

    (Steuersätze) Tax rates

    Methods

    | Improve this Doc View Source

    Equals(GeneralLedgerAccount)

    Returns true if GeneralLedgerAccount instances are equal

    Declaration
    public bool Equals(GeneralLedgerAccount input)
    Parameters
    Type Name Description
    GeneralLedgerAccount input

    Instance of GeneralLedgerAccount to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx