info@selectline.de | +49 391 5555-080 | SelectLine – steht jedem Unternehmen
/Accounting/BatchPostings/{batchPostingId}/Postings
Beschreibung

Legt eine Buchung an

  • Es wird das Recht "Anlegen" für die Daten "Buchungsstapel" benötigt.

Request

URI Parameters

batchPostingId
integer
Erforderlich
Nummer des Buchungsstapels

Body Parameters

Buchung

Model: CreateBatchPostingPostingDto
PostDate
date
Buchungsdatum

Period
string
Länge: einschließlich zwischen 0 und 7
Buchungsperiode

PostingDocument
string
Länge: einschließlich zwischen 0 und 40
Buchbeleg

NumberRange
string
Länge: einschließlich zwischen 0 und 15
Nummernkreis

BalanceType
Bei aktiviertem Steuerbilanzkreis können Buchungen exklusiv in der Steuerbilanz erfasst werden.

ServiceDate
date
Leistungsdatum

Positions
Enthält alle Buchungspositionen des Stapels
Request Formats
application/json
Beispiel:
    {
  "PostDate": "2024-11-24T16:10:36.4767143+01:00",
  "Period": "sample string 2",
  "PostingDocument": "sample string 3",
  "NumberRange": "sample string 4",
  "BalanceType": "TaxBalanceSheet",
  "ServiceDate": "2024-11-24T16:10:36.4767143+01:00",
  "Positions": [
    {
      "Account": "sample string 1",
      "OffsetAccount": "sample string 2",
      "Text": "sample string 3",
      "Text2": "sample string 4",
      "Amount": 5.1,
      "CashDiscount": 1.1,
      "TaxCode": "sample string 6",
      "Tax": 1.1,
      "TaxValue": 1.1,
      "Currency": "sample string 7",
      "CurrencyFactor": 1.1,
      "VATID": "sample string 8",
      "AdditionalInformation": "sample string 9",
      "OpenItem": {
        "CustomerSupplierNumber": "sample string 1",
        "OpenItemDocument": "sample string 2",
        "DueDate": "2024-11-24T16:10:36.4767143+01:00",
        "ValueDate": "2024-11-24T16:10:36.4767143+01:00",
        "DiscountableAmount": 1.1,
        "CashDiscount1Date": "2024-11-24T16:10:36.4767143+01:00",
        "CashDiscount1Percent": 1.1,
        "CashDiscount2Date": "2024-11-24T16:10:36.4767143+01:00",
        "CashDiscount2Percent": 1.1,
        "BankReference": "sample string 4",
        "PaymentBlock": true,
        "BankDetails": 1,
        "PaymentReference": "sample string 5",
        "DunningBlock": true,
        "IncomingPaymentMethod": "ForeignCurrencyAbroad",
        "OutgoingPaymentMethod": "ForeignCurrencyAbroad",
        "OpenItemSettlement": 1,
        "YourOrder": "sample string 6",
        "DeliveryReceiptNumber": "sample string 7",
        "ReferenceNumber": "sample string 8",
        "ParticipantNumber": "sample string 9",
        "Representative": "sample string 10",
        "Commission": 1.1,
        "CommissionAssesmentBasis": 1.1
      },
      "Costs": [
        {
          "CostMapping": "Account",
          "Amount": 1.1,
          "CostUsingType": "Fixed",
          "CostType": "sample string 2",
          "CostCentre": "sample string 3",
          "CostUnit": "sample string 4"
        },
        {
          "CostMapping": "Account",
          "Amount": 1.1,
          "CostUsingType": "Fixed",
          "CostType": "sample string 2",
          "CostCentre": "sample string 3",
          "CostUnit": "sample string 4"
        }
      ],
      "OSSProcess": "NoParticipation",
      "OSSTurnoverType": "TurnoverForGoodsCarried",
      "OSSTaxRate": "FullTaxRate"
    },
    {
      "Account": "sample string 1",
      "OffsetAccount": "sample string 2",
      "Text": "sample string 3",
      "Text2": "sample string 4",
      "Amount": 5.1,
      "CashDiscount": 1.1,
      "TaxCode": "sample string 6",
      "Tax": 1.1,
      "TaxValue": 1.1,
      "Currency": "sample string 7",
      "CurrencyFactor": 1.1,
      "VATID": "sample string 8",
      "AdditionalInformation": "sample string 9",
      "OpenItem": {
        "CustomerSupplierNumber": "sample string 1",
        "OpenItemDocument": "sample string 2",
        "DueDate": "2024-11-24T16:10:36.4767143+01:00",
        "ValueDate": "2024-11-24T16:10:36.4767143+01:00",
        "DiscountableAmount": 1.1,
        "CashDiscount1Date": "2024-11-24T16:10:36.4767143+01:00",
        "CashDiscount1Percent": 1.1,
        "CashDiscount2Date": "2024-11-24T16:10:36.4767143+01:00",
        "CashDiscount2Percent": 1.1,
        "BankReference": "sample string 4",
        "PaymentBlock": true,
        "BankDetails": 1,
        "PaymentReference": "sample string 5",
        "DunningBlock": true,
        "IncomingPaymentMethod": "ForeignCurrencyAbroad",
        "OutgoingPaymentMethod": "ForeignCurrencyAbroad",
        "OpenItemSettlement": 1,
        "YourOrder": "sample string 6",
        "DeliveryReceiptNumber": "sample string 7",
        "ReferenceNumber": "sample string 8",
        "ParticipantNumber": "sample string 9",
        "Representative": "sample string 10",
        "Commission": 1.1,
        "CommissionAssesmentBasis": 1.1
      },
      "Costs": [
        {
          "CostMapping": "Account",
          "Amount": 1.1,
          "CostUsingType": "Fixed",
          "CostType": "sample string 2",
          "CostCentre": "sample string 3",
          "CostUnit": "sample string 4"
        },
        {
          "CostMapping": "Account",
          "Amount": 1.1,
          "CostUsingType": "Fixed",
          "CostType": "sample string 2",
          "CostCentre": "sample string 3",
          "CostUnit": "sample string 4"
        }
      ],
      "OSSProcess": "NoParticipation",
      "OSSTurnoverType": "TurnoverForGoodsCarried",
      "OSSTaxRate": "FullTaxRate"
    }
  ]
}

Response

Resource Description

Model: BatchPostingPostingCreatedDto
Record
integer
Satznummer der Buchung

Response Formats
application/json
Beispiel:
    {
  "Record": 1
}