Class DatevAdvancePayment
DatevAdvancePayment
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevAdvancePayment : IEquatable<DatevAdvancePayment>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevAdvancePayment()
Initializes a new instance of the DatevAdvancePayment class.
Declaration
protected DatevAdvancePayment()
DatevAdvancePayment(String, Nullable<Decimal>, String, String, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the DatevAdvancePayment class.
Declaration
public DatevAdvancePayment(string euMemberState = null, decimal? euTaxRate = null, string orderNumber = null, string recordType = null, int? revenueAccount = null, int? taxKey = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | euMemberState | (EU-Mitgliedstaat) EU member state of the subsequent final invoice, see Info Database, document 1080169. Except Greece: The country code is EL.. |
System.Nullable<System.Decimal> | euTaxRate | (EU-Steuersatz) EU tax rate of the subsequent final invoice. |
System.String | orderNumber | (Auftragsnummer) Order number (required). |
System.String | recordType | (Buchungstyp) Record type (AA = requested advance payment/interim invoice, AG = received advance payment (cash receipt), SR = final invoice, SG = final invoice (cash receipt), SO = other). |
System.Nullable<System.Int32> | revenueAccount | (Erlöskonto) Revenue account of the subsequent final invoice, 8 digits (technical length). |
System.Nullable<System.Int32> | taxKey | (USt-Schlüssel) VAT key of the subsequent final invoice. |
Properties
| Improve this Doc View SourceEuMemberState
(EU-Mitgliedstaat) EU member state of the subsequent final invoice, see Info Database, document 1080169. Except Greece: The country code is EL.
Declaration
[DataMember(Name = "eu_member_state", EmitDefaultValue = false)]
public string EuMemberState { get; set; }
Property Value
Type | Description |
---|---|
System.String | (EU-Mitgliedstaat) EU member state of the subsequent final invoice, see Info Database, document 1080169. Except Greece: The country code is EL. |
EuTaxRate
(EU-Steuersatz) EU tax rate of the subsequent final invoice
Declaration
[DataMember(Name = "eu_tax_rate", EmitDefaultValue = false)]
public decimal? EuTaxRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (EU-Steuersatz) EU tax rate of the subsequent final invoice |
OrderNumber
(Auftragsnummer) Order number
Declaration
[DataMember(Name = "order_number", EmitDefaultValue = false)]
public string OrderNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Auftragsnummer) Order number |
RecordType
(Buchungstyp) Record type (AA = requested advance payment/interim invoice, AG = received advance payment (cash receipt), SR = final invoice, SG = final invoice (cash receipt), SO = other)
Declaration
[DataMember(Name = "record_type", EmitDefaultValue = false)]
public string RecordType { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Buchungstyp) Record type (AA = requested advance payment/interim invoice, AG = received advance payment (cash receipt), SR = final invoice, SG = final invoice (cash receipt), SO = other) |
RevenueAccount
(Erlöskonto) Revenue account of the subsequent final invoice, 8 digits (technical length)
Declaration
[DataMember(Name = "revenue_account", EmitDefaultValue = false)]
public int? RevenueAccount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Erlöskonto) Revenue account of the subsequent final invoice, 8 digits (technical length) |
TaxKey
(USt-Schlüssel) VAT key of the subsequent final invoice
Declaration
[DataMember(Name = "tax_key", EmitDefaultValue = false)]
public int? TaxKey { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (USt-Schlüssel) VAT key of the subsequent final invoice |
Methods
| Improve this Doc View SourceEquals(DatevAdvancePayment)
Returns true if DatevAdvancePayment instances are equal
Declaration
public bool Equals(DatevAdvancePayment input)
Parameters
Type | Name | Description |
---|---|---|
DatevAdvancePayment | input | Instance of DatevAdvancePayment 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 |