Skip to content

Buchung einer Rechnug für zB Photovoltaik Rechnung mit Einspeisung und Entgellt der Messstelle #475

@QS-Stang

Description

@QS-Stang

Details

  • Current version number: 25.3.3
  • Previous version number (optional):
  • Test status checked in Mobile Manager
  • Function or route (request): /Accounting/BatchPostings/{baichPostingId/Postings
  • Error (response):
{
  "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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions