Guten Tag Zusammen,
beim Import einer Lieferantenrechnung können alle Daten wie Aufwandskonto, Belegdatum, Kostenstelle, etc. erkannt werden, bis auf das Personenkonto (= Gegenkonto).
Beim Import von Ausgangsrechnungen tritt das beschriebene Problem nicht auf.
Es wurde im Unternehmen Online auch folgende Option ausgewählt:
Rechnungsdatenschnittstelle - Für jede Position der Rechnung (brutto) soll ein Buchungsvorschlag erzeugt werden
Das zu importierende Personenkonto wurde in den Unternehmen-Online-Stammdaten und in den DATEV-FIBU-Stammdaten auch schon als Lieferant hinterlegt.
<?xml version="1.0" encoding="UTF-8"?>
<invoice xmlns="http://xml.datev.de/bedi/tps/invoice/v050" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generator_info="Projektron GmbH" generating_system="Projektron BCS" description="DATEV Import invoices" version="5.0" xml_data="Kopie nur zur Verbuchung berechtigt nicht zum Vorsteuerabzug" xsi:schemaLocation="http://xml.datev.de/bedi/tps/invoice/v050 Belegverwaltung_online_invoice_v050.xsd">
<invoice_info invoice_type="Rechnung" invoice_date="2020-12-31" invoice_id="RE-KS-10-2012-0212" delivery_date="2020-12-31" />
<invoice_party>
<address name="xxxx" street="xxxx" zip="xxxx" city="xxxx" country="xx" phone="xxxx" fax="xxxx" />
<booking_info_bp bp_account_no="702050" />
</invoice_party>
<supplier_party vat_id="xxxx">
<address name="xxxx" street="xxxx" zip="xxxx" city="xxxx" country="xx" phone="xxxx" fax="xxxx" />
</supplier_party>
<payment_conditions due_date="2021-03-31" payment_conditions_text="dummy_text" />
<invoice_item_list order_unit="Stück" quantity="1.00" description_short="empty">
<price_line_amount currency="EUR" tax="16.00" net_price_line_amount="5753.69" gross_price_line_amount="6674.28" />
<accounting_info cost_category_id="511" account_no="59062" booking_text="Ware_Leistung" />
</invoice_item_list>
<invoice_item_list order_unit="Stück" quantity="1.00" description_short="empty">
<price_line_amount currency="EUR" tax="16.00" net_price_line_amount="9009.73" gross_price_line_amount="10451.29" />
<accounting_info cost_category_id="513" account_no="59062" booking_text="Ware_Leistung" />
</invoice_item_list>
<total_amount currency="EUR" total_gross_amount_excluding_third-party_collection="17125.57">
<tax_line currency="EUR" gross_price_line_amount="17125.57" tax="16.00" net_price_line_amount="14763.42" tax_amount="2362.15" />
</total_amount>
</invoice>
Vielen Dank und liebe Grüße
Tobias Gross
Hallo @tobias_ ,
bei Lieferantenrechnungen/Eingangsrechnungen gehört der Part <booking_info_bp> in die <supplier party>.
Bei Ausgangsrechnungen gehört der Part in die <invoice party>.
<supplier party> = Leistungserbringer
<invoice party> = Leistungsempfänger
In dem abgebildeten Beispiel ist es also fehlerhaft. Wenn man das anpasst, sollte es auch mit dem Gegenkonto funktionieren. Falls nicht, müsste man sich das im Detail im Rahmen einer Beratung genauer anschauen:
https://www.terminland.de/datev_schnittstellenberatung > Schnittstellenspezifische Beratung > DATEV XML..
Viele Grüße
Vincent Franke