Class AccountingTransactionKeys
AccountingTransactionKeys
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class AccountingTransactionKeys : IEquatable<AccountingTransactionKeys>, IValidatableObject
Constructors
| Improve this Doc View SourceAccountingTransactionKeys(String, Nullable<AccountingTransactionKeys.AdditionalFunctionEnum>, String, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>, Nullable<Decimal>, Nullable<Boolean>, Nullable<Int32>, Nullable<Decimal>)
Initializes a new instance of the AccountingTransactionKeys class.
Declaration
public AccountingTransactionKeys(string id = null, AccountingTransactionKeys.AdditionalFunctionEnum? additionalFunction = null, string caption = null, int? casesRelatedToGoodsAndServices = null, DateTime? dateFrom = null, DateTime? dateTo = null, int? factor2Account1 = null, int? factor2Account2 = null, decimal? factor2Percent = null, bool? isTaxRateSelectable = null, int? number = null, decimal? taxRate = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Technical ID of the accounting transaction key. |
System.Nullable<AccountingTransactionKeys.AdditionalFunctionEnum> | additionalFunction | (Zusatzfunktion) Indicates which tax calculation is applied in connection with the tax key (not specified, input tax, VAT). |
System.String | caption | (Bezeichnung) Description of tax key. |
System.Nullable<System.Int32> | casesRelatedToGoodsAndServices | (Sachverhaltsnummer) Number indicating the cases related to goods and services, see Info Database, document 1034915. |
System.Nullable<System.DateTime> | dateFrom | (Nutzungsbeginn) Start date of the applicable tax rate. |
System.Nullable<System.DateTime> | dateTo | (Nutzungsende) End date of the applicable tax rate. |
System.Nullable<System.Int32> | factor2Account1 | (Faktor2 Konto 1) Factor2 Account 1 for individual tax keys. |
System.Nullable<System.Int32> | factor2Account2 | (Faktor2 Konto 2) Factor2 Account 2 for individual tax keys. |
System.Nullable<System.Decimal> | factor2Percent | (Faktor2 Prozent) Factor2 percent for individual tax keys. |
System.Nullable<System.Boolean> | isTaxRateSelectable | (Wählbarer Steuersatz) Selectable tax rate (if is_tax_rate_selectable = true, you have to specify a value for the tax rate (for example, 19%) when posting accounting sequences). |
System.Nullable<System.Int32> | number | (Nummer) Number of tax key. |
System.Nullable<System.Decimal> | taxRate | (Steuersatz) Tax rate applicable for the tax key. |
Properties
| Improve this Doc View SourceAdditionalFunction
(Zusatzfunktion) Indicates which tax calculation is applied in connection with the tax key (not specified, input tax, VAT)
Declaration
[DataMember(Name = "additional_function", EmitDefaultValue = false)]
public AccountingTransactionKeys.AdditionalFunctionEnum? AdditionalFunction { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AccountingTransactionKeys.AdditionalFunctionEnum> | (Zusatzfunktion) Indicates which tax calculation is applied in connection with the tax key (not specified, input tax, VAT) |
Caption
(Bezeichnung) Description of tax key
Declaration
[DataMember(Name = "caption", EmitDefaultValue = false)]
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bezeichnung) Description of tax key |
CasesRelatedToGoodsAndServices
(Sachverhaltsnummer) Number indicating the cases related to goods and services, see Info Database, document 1034915
Declaration
[DataMember(Name = "cases_related_to_goods_and_services", EmitDefaultValue = false)]
public int? CasesRelatedToGoodsAndServices { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Sachverhaltsnummer) Number indicating the cases related to goods and services, see Info Database, document 1034915 |
DateFrom
(Nutzungsbeginn) Start date of the applicable tax rate
Declaration
[DataMember(Name = "date_from", EmitDefaultValue = false)]
public DateTime? DateFrom { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Nutzungsbeginn) Start date of the applicable tax rate |
DateTo
(Nutzungsende) End date of the applicable tax rate
Declaration
[DataMember(Name = "date_to", EmitDefaultValue = false)]
public DateTime? DateTo { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Nutzungsende) End date of the applicable tax rate |
Factor2Account1
(Faktor2 Konto 1) Factor2 Account 1 for individual tax keys
Declaration
[DataMember(Name = "factor2_account1", EmitDefaultValue = false)]
public int? Factor2Account1 { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Faktor2 Konto 1) Factor2 Account 1 for individual tax keys |
Factor2Account2
(Faktor2 Konto 2) Factor2 Account 2 for individual tax keys
Declaration
[DataMember(Name = "factor2_account2", EmitDefaultValue = false)]
public int? Factor2Account2 { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Faktor2 Konto 2) Factor2 Account 2 for individual tax keys |
Factor2Percent
(Faktor2 Prozent) Factor2 percent for individual tax keys
Declaration
[DataMember(Name = "factor2_percent", EmitDefaultValue = false)]
public decimal? Factor2Percent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Faktor2 Prozent) Factor2 percent for individual tax keys |
Id
Technical ID of the accounting transaction key
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | Technical ID of the accounting transaction key |
IsTaxRateSelectable
(Wählbarer Steuersatz) Selectable tax rate (if is_tax_rate_selectable = true, you have to specify a value for the tax rate (for example, 19%) when posting accounting sequences)
Declaration
[DataMember(Name = "is_tax_rate_selectable", EmitDefaultValue = false)]
public bool? IsTaxRateSelectable { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Wählbarer Steuersatz) Selectable tax rate (if is_tax_rate_selectable = true, you have to specify a value for the tax rate (for example, 19%) when posting accounting sequences) |
Number
(Nummer) Number of tax key
Declaration
[DataMember(Name = "number", EmitDefaultValue = false)]
public int? Number { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Nummer) Number of tax key |
TaxRate
(Steuersatz) Tax rate applicable for the tax key
Declaration
[DataMember(Name = "tax_rate", EmitDefaultValue = false)]
public decimal? TaxRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Steuersatz) Tax rate applicable for the tax key |
Methods
| Improve this Doc View SourceEquals(AccountingTransactionKeys)
Returns true if AccountingTransactionKeys instances are equal
Declaration
public bool Equals(AccountingTransactionKeys input)
Parameters
Type | Name | Description |
---|---|---|
AccountingTransactionKeys | input | Instance of AccountingTransactionKeys to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
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
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
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 |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIValidatableObject.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 |