Details
{
"Type": "PostingHasInvalidCombinationOfAccounts",
"Title": "BadRequest",
"Status": 400
}
Steps to replicate the behavior:
route /Accounting/BatchPostings/{baichPostingId/Postings
mit
{
"PostDate": "2025-01-21",
"Period": "2025010",
"PostingDocument": "//ER",
"ServiceDate": "2025-01-20",
"Positions": [
{
"Account": "1220",
"Text": "Stadtwerke XYZ",
"Text2": "AR841 - Photovoltaik",
"Amount": "30",
"CashDiscount": 0,
"TaxCode": "",
"Tax": 0,
"TaxValue": 0,
"Currency": "EUR",
"CurrencyFactor": 1,
"VATID": "",
"AdditionalInformation": "",
"OSSProcess": "NoParticipation"
},
{
"Account": "8400",
"Text": "Einspeisung",
"Text2": "Photovoltaik",
"Amount": "-18",
"TaxCode": "3",
"Tax": "19",
"TaxValue": "-2.87",
"Currency": "EUR",
"CurrencyFactor": 1,
"OSSProcess": "NoParticipation"
},
{
"Account": "4240",
"Text": "Messgerät",
"Text2": "AR841 - Photovoltaik",
"Amount": "3",
"TaxCode": "9",
"Tax": "19",
"TaxValue": "0.48",
"Currency": "EUR",
"CurrencyFactor": 1,
"OSSProcess": "NoParticipation"
}
]
}
ausführen
Details
{ "Type": "PostingHasInvalidCombinationOfAccounts", "Title": "BadRequest", "Status": 400 }Steps to replicate the behavior:
route /Accounting/BatchPostings/{baichPostingId/Postings
mit
{ "PostDate": "2025-01-21", "Period": "2025010", "PostingDocument": "//ER", "ServiceDate": "2025-01-20", "Positions": [ { "Account": "1220", "Text": "Stadtwerke XYZ", "Text2": "AR841 - Photovoltaik", "Amount": "30", "CashDiscount": 0, "TaxCode": "", "Tax": 0, "TaxValue": 0, "Currency": "EUR", "CurrencyFactor": 1, "VATID": "", "AdditionalInformation": "", "OSSProcess": "NoParticipation" }, { "Account": "8400", "Text": "Einspeisung", "Text2": "Photovoltaik", "Amount": "-18", "TaxCode": "3", "Tax": "19", "TaxValue": "-2.87", "Currency": "EUR", "CurrencyFactor": 1, "OSSProcess": "NoParticipation" }, { "Account": "4240", "Text": "Messgerät", "Text2": "AR841 - Photovoltaik", "Amount": "3", "TaxCode": "9", "Tax": "19", "TaxValue": "0.48", "Currency": "EUR", "CurrencyFactor": 1, "OSSProcess": "NoParticipation" } ] }ausführen