Class DatevAccountingRecord
DatevAccountingRecord
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevAccountingRecord : IEquatable<DatevAccountingRecord>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevAccountingRecord(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, List<DatevAdditionalInformation>, DatevAdvancePayment, Nullable<Decimal>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>, Nullable<Decimal>, Nullable<DatevAccountingRecord.CashDiscountTypeEnum>, Nullable<Int32>, Nullable<Int32>, String, Nullable<DateTime>, Nullable<DatevAccountingRecord.DebitCreditIdentifierEnum>, Nullable<DateTime>, Nullable<DatevAccountingRecord.DifferingTaxationMethodEnum>, String, String, String, String, Nullable<Decimal>, Nullable<Decimal>, String, String, Nullable<Decimal>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, Nullable<DateTime>, Nullable<Decimal>, Nullable<DatevAccountingRecord.PaymentMethodEnum>, String, Nullable<Int32>, String, Nullable<Decimal>, String, Nullable<DateTime>, String, Nullable<Int32>)
Initializes a new instance of the DatevAccountingRecord class.
Declaration
public DatevAccountingRecord(int? accountingTransactionKey = null, int? accountingTransactionKey49AdditionalFunction = null, int? accountingTransactionKey49MainFunctionNumber = null, int? accountingTransactionKey49MainFunctionType = null, int? accountNumber = null, int? additionalFunctionsForGoodsAndServices = null, List<DatevAdditionalInformation> additionalInformation = null, DatevAdvancePayment advancePayment = null, decimal? amount = null, int? assessmentYear = null, DateTime? assignedDueDate = null, int? businessPartnerBankPosition = null, int? casesRelatedToGoodsAndServices = null, decimal? cashDiscount = null, DatevAccountingRecord.CashDiscountTypeEnum? cashDiscountType = DatevAccountingRecord.CashDiscountTypeEnum.Notspecified, int? circumstanceType = null, int? contraAccountNumber = null, string currencyCode = null, DateTime? date = null, DatevAccountingRecord.DebitCreditIdentifierEnum? debitCreditIdentifier = DatevAccountingRecord.DebitCreditIdentifierEnum.S, DateTime? deliveryDate = null, DatevAccountingRecord.DifferingTaxationMethodEnum? differingTaxationMethod = null, string documentField1 = null, string documentField2 = null, string documentLink = null, string documentSystem = null, decimal? euTaxRate = null, decimal? euTaxRateForCountryOfOrigin = null, string euVatId = null, string euVatIdForCountryOfOrigin = null, decimal? exchangeRate = null, bool? generalReversal = false, bool? hasCashDiscountBlock = false, bool? hasDunningBlock = false, bool? hasInterestBlock = false, string kost1CostCenterId = null, string kost2CostCenterId = null, DateTime? kostDate = null, decimal? kostQuantity = null, DatevAccountingRecord.PaymentMethodEnum? paymentMethod = null, string postingDescription = null, int? quantity = null, string receivableTypeId = null, decimal? selectableTaxRate = null, string sepaMandateReference = null, DateTime? tempDunningBlock = null, string variousAddressId = null, int? weight = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | accountingTransactionKey | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key. For more information, please refer to the Info Database, documents 9231347. |
System.Nullable<System.Int32> | accountingTransactionKey49AdditionalFunction | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, additional function, used in agricultural circumstances. |
System.Nullable<System.Int32> | accountingTransactionKey49MainFunctionNumber | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, main function number, used in agricultural circumstances. |
System.Nullable<System.Int32> | accountingTransactionKey49MainFunctionType | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, main function type, used in agricultural circumstances. |
System.Nullable<System.Int32> | accountNumber | (Sach- oder Personen-Kontonummer) General ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length), required functional field. |
System.Nullable<System.Int32> | additionalFunctionsForGoodsAndServices | (Steuersatz/Funktion) Tax rate/function for the goods/services circumstance. |
System.Collections.Generic.List<DatevAdditionalInformation> | additionalInformation | (Zusatzinformationen) Additional information that can be recorded with respect to accounting records; additional information always contains the following components; type and content of information; to use the additional information, both fields are mandatory. |
DatevAdvancePayment | advancePayment | (Anzahlung) Advance payment, if this property is used, it is also important to fill the property "document_field1".. |
System.Nullable<System.Decimal> | amount | (Umsatz) Amount. |
System.Nullable<System.Int32> | assessmentYear | (Veranlagungsjahr) Assessment year, format YYYY, Open Items information, public sector. |
System.Nullable<System.DateTime> | assignedDueDate | (Zugeordnete Fälligkeit) Assigned due date, Open Items information, public sector. |
System.Nullable<System.Int32> | businessPartnerBankPosition | (Geschäftspartnerbank) Business partner bank (numbering) if a specific business partner bank is to be used for a direct debit or bank transfer, only relevant for Open Items. |
System.Nullable<System.Int32> | casesRelatedToGoodsAndServices | (Sachverhalt L+L) Cases related to goods/services, as per Sect. 13 b (1) sentence 1, items 1 to 5 UStG. |
System.Nullable<System.Decimal> | cashDiscount | (Skonto-Betrag/-Abzug) Cash discount amount/deduction, only permissible with payments. |
System.Nullable<DatevAccountingRecord.CashDiscountTypeEnum> | cashDiscountType | (Skontotyp) Cash discount type (not specified, purchase of goods, purchase of raw materials and supplies). If this property is transferred, the property "cash_discount" must also be transferred. (default to CashDiscountTypeEnum.Notspecified). |
System.Nullable<System.Int32> | circumstanceType | (Sachverhalt) Circumstance type (0 = not specified, 31 = dunning interest, 40 = dunning fee, 84 = late payment charges) – the circumstance type is used by the DATEV accounting program to identify items as dunning interest/a dunning fee; for these items, no dunning interest will be calculated, for example, when drawing up payment reminders; only relevant for Open Items. |
System.Nullable<System.Int32> | contraAccountNumber | (Gegenkontonummer) Contra account number, general ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length). |
System.String | currencyCode | (Währung) 3-character ISO currency code – indicates the currency used for the amount, see Info Database, document 1080170. |
System.Nullable<System.DateTime> | date | (Belegdatum) Document date (the year will be ignored). |
System.Nullable<DatevAccountingRecord.DebitCreditIdentifierEnum> | debitCreditIdentifier | (Soll-/Haben-Kennzeichen des Umsatzes) Debit/credit identifier for amount, pertains to the account that is specified in the account_number field (default to DebitCreditIdentifierEnum.S). |
System.Nullable<System.DateTime> | deliveryDate | (Liefer-/Leistungsdatum) Date of delivery/service provision. The delivery date may not be later than the date in the field date. Additional information can be found here https://www.datev.de/go/ratgeber-leistungsdatum.. |
System.Nullable<DatevAccountingRecord.DifferingTaxationMethodEnum> | differingTaxationMethod | (Abweichende Besteuerungsart) Differing taxation method; for entries that are to be processed using a VAT method other than the classification contained in the client master data (not specified, taxation based on value of services rendered, taxation based on value of actual receipts, taxation based on value of actual receipts input tax deduction at payment (AT only), no vat calculation, lump sum). |
System.String | documentField1 | (Rechnungs-/Belegnummer) Invoice/document number, document field 1 is the key for managing Open Items. In the event of a payment or credit note, a comparison with Open Items is only performed if the document number is identical to document field 1; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /. |
System.String | documentField2 | (Belegfeld 2) Document field 2, document number or Open Items processing information; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + -.. |
System.String | documentLink | (Beleglink) Document link, identifies the entry document in a documentmanagement system, the property "document_link" must be transferred in conjunction with the property "document_system". |
System.String | documentSystem | (Dokumenten-Management-System) Document management system, program abbreviation for the document management system used, the property "document_system" must be transferred in conjunction with the property "document_link". |
System.Nullable<System.Decimal> | euTaxRate | (EU-Steuersatz Bestimmungsland) EU tax rate for country of destination, only for relevant EU accounting records. Additional for one Stop Shop, see Info Database 1020263. |
System.Nullable<System.Decimal> | euTaxRateForCountryOfOrigin | (USt-IdNr Bestimmungsland) VAT ID number for country of destination, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 and additional for one Stop Shop 1020263. |
System.String | euVatId | (USt-IdNr Bestimmungsland) VAT ID number for country of destination, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 and additional for one Stop Shop 1020263. |
System.String | euVatIdForCountryOfOrigin | (USt-IdNr Ursprungsland) VAT ID number for country of origin, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 additional for one Stop Shop 1020263. |
System.Nullable<System.Decimal> | exchangeRate | (Fremdwährungskurs) Exchange rate, used with accounting records in a foreign currency, stipulates how the amount stated and transferred in a foreign currency is to be translated into the base currency when a non-EU country is involved. |
System.Nullable<System.Boolean> | generalReversal | (Generalumkehrkennzeichen) General reversal identifier (default to false). |
System.Nullable<System.Boolean> | hasCashDiscountBlock | (Skonto-Sperre) Cash discount block, only permissible in connection with outgoing invoices (accounting records related to debitors) (default to false). |
System.Nullable<System.Boolean> | hasDunningBlock | (Mahn-/Zahl-Sperre) Payment/dunning block, invoice can be excluded from reminders/payment proposal. Only relevant for an invoice entry and a subledger account (open item bookkeeping) (default to false). |
System.Nullable<System.Boolean> | hasInterestBlock | (Zinssperre) Interest block, this field can be used to indicate an interest block; as a result, no interest will be calculated when creating a payment reminder for this item, only relevant for Open Item bookkeeping (default to false). |
System.String | kost1CostCenterId | (Kost1) Kost1, cost center, Kost1 is used to assign the transaction to a cost center for subsequent cost calculations. |
System.String | kost2CostCenterId | (Kost2) Kost2, cost center, Kost2 is used to assign the transaction to a cost center for subsequent cost calculations. |
System.Nullable<System.DateTime> | kostDate | (Kost-Datum) Cost date. |
System.Nullable<System.Decimal> | kostQuantity | (Kost-Menge) Cost quantity, the cost quantity field is used to record the value of a cost center's specific reference parameter, this reference parameter can be, for example, kg, g, cm, m or % and is defined in the cost calculation master data.<br>Attention: When using SKR 14 (agriculture and forestry), this field cannot be used. For this there are the fields quantity and weight.. |
System.Nullable<DatevAccountingRecord.PaymentMethodEnum> | paymentMethod | (Zahlweise) Payment method (not specified, direct debit, payment reminder, payment), Open Items information, public sector. |
System.String | postingDescription | (Buchungstext) Posting text. |
System.Nullable<System.Int32> | quantity | (Stück) Quantity, can only be submitted when using SKR 14 agriculture and forestry. |
System.String | receivableTypeId | (Forderungsart) Receivable type, Open Items information, public sector. |
System.Nullable<System.Decimal> | selectableTaxRate | (Steuersatz) Selectable tax rate. |
System.String | sepaMandateReference | (SEPA-Mandatsreferenz) SEPA mandate reference, an individual mandate identifier assigned by the payment recipient. |
System.Nullable<System.DateTime> | tempDunningBlock | (Temporäre Mahn-/Zahl-Sperre) Temporary dunning/payment block. |
System.String | variousAddressId | (Diverse Adressnummer) Various address number, only relevant for Open Item bookkeeping. |
System.Nullable<System.Int32> | weight | (Gewicht) Weight, can only be submitted when using SKR 14 agriculture and forestry. |
Properties
| Improve this Doc View SourceAccountingTransactionKey
(Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key. For more information, please refer to the Info Database, documents 9231347
Declaration
[DataMember(Name = "accounting_transaction_key", EmitDefaultValue = false)]
public int? AccountingTransactionKey { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key. For more information, please refer to the Info Database, documents 9231347 |
AccountingTransactionKey49AdditionalFunction
(Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, additional function, used in agricultural circumstances
Declaration
[DataMember(Name = "accounting_transaction_key49_additional_function", EmitDefaultValue = false)]
public int? AccountingTransactionKey49AdditionalFunction { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, additional function, used in agricultural circumstances |
AccountingTransactionKey49MainFunctionNumber
(Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, main function number, used in agricultural circumstances
Declaration
[DataMember(Name = "accounting_transaction_key49_main_function_number", EmitDefaultValue = false)]
public int? AccountingTransactionKey49MainFunctionNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, main function number, used in agricultural circumstances |
AccountingTransactionKey49MainFunctionType
(Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, main function type, used in agricultural circumstances
Declaration
[DataMember(Name = "accounting_transaction_key49_main_function_type", EmitDefaultValue = false)]
public int? AccountingTransactionKey49MainFunctionType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key 49/89, main function type, used in agricultural circumstances |
AccountNumber
(Sach- oder Personen-Kontonummer) General ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length), required functional field
Declaration
[DataMember(Name = "account_number", EmitDefaultValue = false)]
public int? AccountNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Sach- oder Personen-Kontonummer) General ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length), required functional field |
AdditionalFunctionsForGoodsAndServices
(Steuersatz/Funktion) Tax rate/function for the goods/services circumstance
Declaration
[DataMember(Name = "additional_functions_for_goods_and_services", EmitDefaultValue = false)]
public int? AdditionalFunctionsForGoodsAndServices { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Steuersatz/Funktion) Tax rate/function for the goods/services circumstance |
AdditionalInformation
(Zusatzinformationen) Additional information that can be recorded with respect to accounting records; additional information always contains the following components; type and content of information; to use the additional information, both fields are mandatory
Declaration
[DataMember(Name = "additional_information", EmitDefaultValue = false)]
public List<DatevAdditionalInformation> AdditionalInformation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DatevAdditionalInformation> | (Zusatzinformationen) Additional information that can be recorded with respect to accounting records; additional information always contains the following components; type and content of information; to use the additional information, both fields are mandatory |
AdvancePayment
(Anzahlung) Advance payment, if this property is used, it is also important to fill the property "document_field1".
Declaration
[DataMember(Name = "advance_payment", EmitDefaultValue = false)]
public DatevAdvancePayment AdvancePayment { get; set; }
Property Value
Type | Description |
---|---|
DatevAdvancePayment | (Anzahlung) Advance payment, if this property is used, it is also important to fill the property "document_field1". |
Amount
(Umsatz) Amount
Declaration
[DataMember(Name = "amount", EmitDefaultValue = false)]
public decimal? Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Umsatz) Amount |
AssessmentYear
(Veranlagungsjahr) Assessment year, format YYYY, Open Items information, public sector
Declaration
[DataMember(Name = "assessment_year", EmitDefaultValue = false)]
public int? AssessmentYear { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Veranlagungsjahr) Assessment year, format YYYY, Open Items information, public sector |
AssignedDueDate
(Zugeordnete Fälligkeit) Assigned due date, Open Items information, public sector
Declaration
[DataMember(Name = "assigned_due_date", EmitDefaultValue = false)]
public DateTime? AssignedDueDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Zugeordnete Fälligkeit) Assigned due date, Open Items information, public sector |
BusinessPartnerBankPosition
(Geschäftspartnerbank) Business partner bank (numbering) if a specific business partner bank is to be used for a direct debit or bank transfer, only relevant for Open Items
Declaration
[DataMember(Name = "business_partner_bank_position", EmitDefaultValue = false)]
public int? BusinessPartnerBankPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Geschäftspartnerbank) Business partner bank (numbering) if a specific business partner bank is to be used for a direct debit or bank transfer, only relevant for Open Items |
CasesRelatedToGoodsAndServices
(Sachverhalt L+L) Cases related to goods/services, as per Sect. 13 b (1) sentence 1, items 1 to 5 UStG
Declaration
[DataMember(Name = "cases_related_to_goods_and_services", EmitDefaultValue = false)]
public int? CasesRelatedToGoodsAndServices { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Sachverhalt L+L) Cases related to goods/services, as per Sect. 13 b (1) sentence 1, items 1 to 5 UStG |
CashDiscount
(Skonto-Betrag/-Abzug) Cash discount amount/deduction, only permissible with payments
Declaration
[DataMember(Name = "cash_discount", EmitDefaultValue = false)]
public decimal? CashDiscount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Skonto-Betrag/-Abzug) Cash discount amount/deduction, only permissible with payments |
CashDiscountType
(Skontotyp) Cash discount type (not specified, purchase of goods, purchase of raw materials and supplies). If this property is transferred, the property "cash_discount" must also be transferred.
Declaration
[DataMember(Name = "cash_discount_type", EmitDefaultValue = false)]
public DatevAccountingRecord.CashDiscountTypeEnum? CashDiscountType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevAccountingRecord.CashDiscountTypeEnum> | (Skontotyp) Cash discount type (not specified, purchase of goods, purchase of raw materials and supplies). If this property is transferred, the property "cash_discount" must also be transferred. |
CircumstanceType
(Sachverhalt) Circumstance type (0 = not specified, 31 = dunning interest, 40 = dunning fee, 84 = late payment charges) – the circumstance type is used by the DATEV accounting program to identify items as dunning interest/a dunning fee; for these items, no dunning interest will be calculated, for example, when drawing up payment reminders; only relevant for Open Items
Declaration
[DataMember(Name = "circumstance_type", EmitDefaultValue = false)]
public int? CircumstanceType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Sachverhalt) Circumstance type (0 = not specified, 31 = dunning interest, 40 = dunning fee, 84 = late payment charges) – the circumstance type is used by the DATEV accounting program to identify items as dunning interest/a dunning fee; for these items, no dunning interest will be calculated, for example, when drawing up payment reminders; only relevant for Open Items |
ContraAccountNumber
(Gegenkontonummer) Contra account number, general ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length)
Declaration
[DataMember(Name = "contra_account_number", EmitDefaultValue = false)]
public int? ContraAccountNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Gegenkontonummer) Contra account number, general ledger or subledger account number shown in maximum length, 8 digits for general ledger accounts, 9 digits for subledger accounts (technical length) |
CurrencyCode
(Währung) 3-character ISO currency code – indicates the currency used for the amount, see Info Database, document 1080170
Declaration
[DataMember(Name = "currency_code", EmitDefaultValue = false)]
public string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Währung) 3-character ISO currency code – indicates the currency used for the amount, see Info Database, document 1080170 |
Date
(Belegdatum) Document date (the year will be ignored)
Declaration
[DataMember(Name = "date", EmitDefaultValue = false)]
public DateTime? Date { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Belegdatum) Document date (the year will be ignored) |
DebitCreditIdentifier
(Soll-/Haben-Kennzeichen des Umsatzes) Debit/credit identifier for amount, pertains to the account that is specified in the account_number field
Declaration
[DataMember(Name = "debit_credit_identifier", EmitDefaultValue = false)]
public DatevAccountingRecord.DebitCreditIdentifierEnum? DebitCreditIdentifier { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevAccountingRecord.DebitCreditIdentifierEnum> | (Soll-/Haben-Kennzeichen des Umsatzes) Debit/credit identifier for amount, pertains to the account that is specified in the account_number field |
DeliveryDate
(Liefer-/Leistungsdatum) Date of delivery/service provision. The delivery date may not be later than the date in the field date. Additional information can be found here https://www.datev.de/go/ratgeber-leistungsdatum.
Declaration
[DataMember(Name = "delivery_date", EmitDefaultValue = false)]
public DateTime? DeliveryDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Liefer-/Leistungsdatum) Date of delivery/service provision. The delivery date may not be later than the date in the field date. Additional information can be found here https://www.datev.de/go/ratgeber-leistungsdatum. |
DifferingTaxationMethod
(Abweichende Besteuerungsart) Differing taxation method; for entries that are to be processed using a VAT method other than the classification contained in the client master data (not specified, taxation based on value of services rendered, taxation based on value of actual receipts, taxation based on value of actual receipts input tax deduction at payment (AT only), no vat calculation, lump sum)
Declaration
[DataMember(Name = "differing_taxation_method", EmitDefaultValue = false)]
public DatevAccountingRecord.DifferingTaxationMethodEnum? DifferingTaxationMethod { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevAccountingRecord.DifferingTaxationMethodEnum> | (Abweichende Besteuerungsart) Differing taxation method; for entries that are to be processed using a VAT method other than the classification contained in the client master data (not specified, taxation based on value of services rendered, taxation based on value of actual receipts, taxation based on value of actual receipts input tax deduction at payment (AT only), no vat calculation, lump sum) |
DocumentField1
(Rechnungs-/Belegnummer) Invoice/document number, document field 1 is the key for managing Open Items. In the event of a payment or credit note, a comparison with Open Items is only performed if the document number is identical to document field 1; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /
Declaration
[DataMember(Name = "document_field1", EmitDefaultValue = false)]
public string DocumentField1 { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Rechnungs-/Belegnummer) Invoice/document number, document field 1 is the key for managing Open Items. In the event of a payment or credit note, a comparison with Open Items is only performed if the document number is identical to document field 1; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - / |
DocumentField2
(Belegfeld 2) Document field 2, document number or Open Items processing information; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + -.
Declaration
[DataMember(Name = "document_field2", EmitDefaultValue = false)]
public string DocumentField2 { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Belegfeld 2) Document field 2, document number or Open Items processing information; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + -. |
DocumentLink
(Beleglink) Document link, identifies the entry document in a documentmanagement system, the property "document_link" must be transferred in conjunction with the property "document_system"
Declaration
[DataMember(Name = "document_link", EmitDefaultValue = false)]
public string DocumentLink { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Beleglink) Document link, identifies the entry document in a documentmanagement system, the property "document_link" must be transferred in conjunction with the property "document_system" |
DocumentSystem
(Dokumenten-Management-System) Document management system, program abbreviation for the document management system used, the property "document_system" must be transferred in conjunction with the property "document_link"
Declaration
[DataMember(Name = "document_system", EmitDefaultValue = false)]
public string DocumentSystem { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Dokumenten-Management-System) Document management system, program abbreviation for the document management system used, the property "document_system" must be transferred in conjunction with the property "document_link" |
EuTaxRate
(EU-Steuersatz Bestimmungsland) EU tax rate for country of destination, only for relevant EU accounting records. Additional for one Stop Shop, see Info Database 1020263
Declaration
[DataMember(Name = "eu_tax_rate", EmitDefaultValue = false)]
public decimal? EuTaxRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (EU-Steuersatz Bestimmungsland) EU tax rate for country of destination, only for relevant EU accounting records. Additional for one Stop Shop, see Info Database 1020263 |
EuTaxRateForCountryOfOrigin
(USt-IdNr Bestimmungsland) VAT ID number for country of destination, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 and additional for one Stop Shop 1020263
Declaration
[DataMember(Name = "eu_tax_rate_for_country_of_origin", EmitDefaultValue = false)]
public decimal? EuTaxRateForCountryOfOrigin { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (USt-IdNr Bestimmungsland) VAT ID number for country of destination, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 and additional for one Stop Shop 1020263 |
EuVatId
(USt-IdNr Bestimmungsland) VAT ID number for country of destination, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 and additional for one Stop Shop 1020263
Declaration
[DataMember(Name = "eu_vat_id", EmitDefaultValue = false)]
public string EuVatId { get; set; }
Property Value
Type | Description |
---|---|
System.String | (USt-IdNr Bestimmungsland) VAT ID number for country of destination, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 and additional for one Stop Shop 1020263 |
EuVatIdForCountryOfOrigin
(USt-IdNr Ursprungsland) VAT ID number for country of origin, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 additional for one Stop Shop 1020263
Declaration
[DataMember(Name = "eu_vat_id_for_country_of_origin", EmitDefaultValue = false)]
public string EuVatIdForCountryOfOrigin { get; set; }
Property Value
Type | Description |
---|---|
System.String | (USt-IdNr Ursprungsland) VAT ID number for country of origin, composed of a 2-character country code and the 13-digit VAT number (e.g. FR12345678901), see Info Database, document 1080169 additional for one Stop Shop 1020263 |
ExchangeRate
(Fremdwährungskurs) Exchange rate, used with accounting records in a foreign currency, stipulates how the amount stated and transferred in a foreign currency is to be translated into the base currency when a non-EU country is involved
Declaration
[DataMember(Name = "exchange_rate", EmitDefaultValue = false)]
public decimal? ExchangeRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Fremdwährungskurs) Exchange rate, used with accounting records in a foreign currency, stipulates how the amount stated and transferred in a foreign currency is to be translated into the base currency when a non-EU country is involved |
GeneralReversal
(Generalumkehrkennzeichen) General reversal identifier
Declaration
[DataMember(Name = "general_reversal", EmitDefaultValue = false)]
public bool? GeneralReversal { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Generalumkehrkennzeichen) General reversal identifier |
HasCashDiscountBlock
(Skonto-Sperre) Cash discount block, only permissible in connection with outgoing invoices (accounting records related to debitors)
Declaration
[DataMember(Name = "has_cash_discount_block", EmitDefaultValue = false)]
public bool? HasCashDiscountBlock { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Skonto-Sperre) Cash discount block, only permissible in connection with outgoing invoices (accounting records related to debitors) |
HasDunningBlock
(Mahn-/Zahl-Sperre) Payment/dunning block, invoice can be excluded from reminders/payment proposal. Only relevant for an invoice entry and a subledger account (open item bookkeeping)
Declaration
[DataMember(Name = "has_dunning_block", EmitDefaultValue = false)]
public bool? HasDunningBlock { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Mahn-/Zahl-Sperre) Payment/dunning block, invoice can be excluded from reminders/payment proposal. Only relevant for an invoice entry and a subledger account (open item bookkeeping) |
HasInterestBlock
(Zinssperre) Interest block, this field can be used to indicate an interest block; as a result, no interest will be calculated when creating a payment reminder for this item, only relevant for Open Item bookkeeping
Declaration
[DataMember(Name = "has_interest_block", EmitDefaultValue = false)]
public bool? HasInterestBlock { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Zinssperre) Interest block, this field can be used to indicate an interest block; as a result, no interest will be calculated when creating a payment reminder for this item, only relevant for Open Item bookkeeping |
Kost1CostCenterId
(Kost1) Kost1, cost center, Kost1 is used to assign the transaction to a cost center for subsequent cost calculations
Declaration
[DataMember(Name = "kost1_cost_center_id", EmitDefaultValue = false)]
public string Kost1CostCenterId { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Kost1) Kost1, cost center, Kost1 is used to assign the transaction to a cost center for subsequent cost calculations |
Kost2CostCenterId
(Kost2) Kost2, cost center, Kost2 is used to assign the transaction to a cost center for subsequent cost calculations
Declaration
[DataMember(Name = "kost2_cost_center_id", EmitDefaultValue = false)]
public string Kost2CostCenterId { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Kost2) Kost2, cost center, Kost2 is used to assign the transaction to a cost center for subsequent cost calculations |
KostDate
(Kost-Datum) Cost date
Declaration
[DataMember(Name = "kost_date", EmitDefaultValue = false)]
public DateTime? KostDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Kost-Datum) Cost date |
KostQuantity
(Kost-Menge) Cost quantity, the cost quantity field is used to record the value of a cost center's specific reference parameter, this reference parameter can be, for example, kg, g, cm, m or % and is defined in the cost calculation master data.<br>Attention: When using SKR 14 (agriculture and forestry), this field cannot be used. For this there are the fields quantity and weight.
Declaration
[DataMember(Name = "kost_quantity", EmitDefaultValue = false)]
public decimal? KostQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Kost-Menge) Cost quantity, the cost quantity field is used to record the value of a cost center's specific reference parameter, this reference parameter can be, for example, kg, g, cm, m or % and is defined in the cost calculation master data.<br>Attention: When using SKR 14 (agriculture and forestry), this field cannot be used. For this there are the fields quantity and weight. |
PaymentMethod
(Zahlweise) Payment method (not specified, direct debit, payment reminder, payment), Open Items information, public sector
Declaration
[DataMember(Name = "payment_method", EmitDefaultValue = false)]
public DatevAccountingRecord.PaymentMethodEnum? PaymentMethod { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevAccountingRecord.PaymentMethodEnum> | (Zahlweise) Payment method (not specified, direct debit, payment reminder, payment), Open Items information, public sector |
PostingDescription
(Buchungstext) Posting text
Declaration
[DataMember(Name = "posting_description", EmitDefaultValue = false)]
public string PostingDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Buchungstext) Posting text |
Quantity
(Stück) Quantity, can only be submitted when using SKR 14 agriculture and forestry
Declaration
[DataMember(Name = "quantity", EmitDefaultValue = false)]
public int? Quantity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Stück) Quantity, can only be submitted when using SKR 14 agriculture and forestry |
ReceivableTypeId
(Forderungsart) Receivable type, Open Items information, public sector
Declaration
[DataMember(Name = "receivable_type_id", EmitDefaultValue = false)]
public string ReceivableTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Forderungsart) Receivable type, Open Items information, public sector |
SelectableTaxRate
(Steuersatz) Selectable tax rate
Declaration
[DataMember(Name = "selectable_tax_rate", EmitDefaultValue = false)]
public decimal? SelectableTaxRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Steuersatz) Selectable tax rate |
SepaMandateReference
(SEPA-Mandatsreferenz) SEPA mandate reference, an individual mandate identifier assigned by the payment recipient
Declaration
[DataMember(Name = "sepa_mandate_reference", EmitDefaultValue = false)]
public string SepaMandateReference { get; set; }
Property Value
Type | Description |
---|---|
System.String | (SEPA-Mandatsreferenz) SEPA mandate reference, an individual mandate identifier assigned by the payment recipient |
TempDunningBlock
(Temporäre Mahn-/Zahl-Sperre) Temporary dunning/payment block
Declaration
[DataMember(Name = "temp_dunning_block", EmitDefaultValue = false)]
public DateTime? TempDunningBlock { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Temporäre Mahn-/Zahl-Sperre) Temporary dunning/payment block |
VariousAddressId
(Diverse Adressnummer) Various address number, only relevant for Open Item bookkeeping
Declaration
[DataMember(Name = "various_address_id", EmitDefaultValue = false)]
public string VariousAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Diverse Adressnummer) Various address number, only relevant for Open Item bookkeeping |
Weight
(Gewicht) Weight, can only be submitted when using SKR 14 agriculture and forestry
Declaration
[DataMember(Name = "weight", EmitDefaultValue = false)]
public int? Weight { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Gewicht) Weight, can only be submitted when using SKR 14 agriculture and forestry |
Methods
| Improve this Doc View SourceEquals(DatevAccountingRecord)
Returns true if DatevAccountingRecord instances are equal
Declaration
public bool Equals(DatevAccountingRecord input)
Parameters
Type | Name | Description |
---|---|---|
DatevAccountingRecord | input | Instance of DatevAccountingRecord 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 |