/Documents
Beschreibung
Legt einen neuen Beleg an. Die Eigenschaften des neuen Beleges müssen im Body des Requestes übertragen werden.
- Verwendet Backend-Prozess
Request
URI Parameters
None.
Body Parameters
Das Model enthält sämtliche Eigenschaften des Beleges. Bleiben diese leer, wird dennoch ein Beleg angelegt. Die Belegnummer wird dann automatisch vergeben.
Number
string
Length: including between 0 and 10
[Beleg.Belegnummer]
KindFlag
string
Length: including between 0 and 1
[Beleg.Belegtyp]
A - Angebot Kunde |
B - Bestellung |
E - Eingangsrechnung |
F - Auftrag |
G - Gutschrift
I - Inventur |
L - Lieferschein |
N - Anfrage |
P - Packzettel |
R - Rechnung
A - Angebot Kunde |
B - Bestellung |
E - Eingangsrechnung |
F - Auftrag |
G - Gutschrift
I - Inventur |
L - Lieferschein |
N - Anfrage |
P - Packzettel |
R - Rechnung
ExtraFields
Dictionary of string [key]
and string [value]
Die Extrafelder des Beleges.
PositionExtraFields
Dictionary of string [key]
and Dictionary of string [key]
and string [value] [value]
Die Extrafelder des Beleges.
Date
date
[Beleg.Datum]
BusinessPartner
Geschäftspartnerangaben
Payment
Zahlungsangaben für Belege
IsPrinted
boolean
[BELEG.Gedruckt]
EmployeeNumber
string
Length: including between 0 and 6
[BELEG.Mitarbeiter]
EmployeeLabel
string
Mitarbeiterbezeichnung
SalesmanNumber
string
Length: including between 0 and 6
[BELEG.Vertreter]
SalesmanLabel
string
Vertreterbezeichnung
WarehouseNumber
string
Length: including between 0 and 10
[BELEG.Lager]
WarehouseLabel
string
Lagerbezeichnung
CurrencyCode
string
Length: including between 0 and 3
[BELEG.Waehrungscode]
CurrencyLabel
string
Währungsbezeichnung
CurrencyExchangeRate
decimal number
[BELEG.Waehrungsfaktor]
DeliveryTermNumber
string
Length: including between 0 and 6
[BELEG.Lieferbedingung]
DeliveryTermLabel
string
Lieferbedingungsbezeichnung
DeliveryText
string
Length: including between 0 and 80
[BELEG.LText1]
DeliveryText2
string
Length: including between 0 and 80
[BELEG.LText2]
PriceGroupNumber
string
Length: including between 0 and 2
[BELEG.Preisgruppe]
PriceGroupLabel
string
Preisgruppenbezeichnung
PriceKindFlag
string
Length: including between 0 and 1
[BELEG.PreisTyp]
N - NetAmountto | B - Brutto | S - steuerfrei | E -EG (nur Eingangsbelege)
N - NetAmountto | B - Brutto | S - steuerfrei | E -EG (nur Eingangsbelege)
DiscountGroupNumber
string
Length: including between 0 and 6
[BELEG.Rabattgruppe]
DiscountGroupLabel
string
Rabattgruppenbezeichnung
DiscountAmount
decimal number
[BELEG.Belegrabatt]
CashDiscountDays
integer
[BELEG.Skontotage1]
CashDiscountDaysKind
integer
[BELEG.Skontotage1typ]
CashDiscountPercent
decimal number
[BELEG.Skontoprozent1]
CashDiscountLabel
string
Skonto1bezeichnung
CashDiscount2Days
integer
[BELEG.Skontotage2]
CashDiscount2DaysKind
integer
[BELEG.Skontotage2typ]
CashDiscount2Percent
decimal number
[BELEG.Skontoprozent]
CashDiscount2Label
string
Skonto2bezeichnung
AlternativeWirCurrencyAmount
decimal number
WIR (Wirtschaftsring)-Felder werden nur für die CH-Version benötigt.
WIR ist eine Komplementärwährung (http://de.wikipedia.org/wiki/Komplement%C3%A4rw%C3%A4hrung#Schweiz)
WIR ist eine Komplementärwährung (http://de.wikipedia.org/wiki/Komplement%C3%A4rw%C3%A4hrung#Schweiz)
AlternativeWirCurrencyPercent
decimal number
WIR (Wirtschaftsring)-Felder werden nur für die CH-Version benötigt.
WIR ist eine Komplementärwährung (http://de.wikipedia.org/wiki/Komplement%C3%A4rw%C3%A4hrung#Schweiz)
WIR ist eine Komplementärwährung (http://de.wikipedia.org/wiki/Komplement%C3%A4rw%C3%A4hrung#Schweiz)
AlternativeWirCurrencyKind
string
Length: including between 0 and 1
WIR (Wirtschaftsring)-Felder werden nur für die CH-Version benötigt.
WIR ist eine Komplementärwährung (http://de.wikipedia.org/wiki/Komplement%C3%A4rw%C3%A4hrung#Schweiz)
WIR ist eine Komplementärwährung (http://de.wikipedia.org/wiki/Komplement%C3%A4rw%C3%A4hrung#Schweiz)
DeliveryDate
date
[BELEG.Liefertermin]
OurReference
string
Length: including between 0 and 40
[BELEG.UnserZeichen]
LanguageCode
string
Length: including between 0 and 6
[BELEG.Sprache]
LanguageLabel
string
Sprachbezeichnung
DeliveryDocumentNumber
string
Length: including between 0 and 40
[BELEG.LieferBelegNr]
MaintenanceContractReference
integer
Verweiß auf Wartungsvertrag (V)
DefaultPrintTemplate
string
Length: including between 0 and 260
Letzte oder Standarddruckvorlage
BillingAddress
string
Length: including between 0 and 13
[BELEG.RechAdresse]
RateKind
integer
[BELEG.Kurstyp]
FixedRate
decimal number
[BELEG.Fixkurs]
EuropeanCountryCode
string
Length: including between 0 and 2
[BELEG.EULand]
benötigt für Intrastat (Innergemeinschaftliche Handelsstatistik)
benötigt für Intrastat (Innergemeinschaftliche Handelsstatistik)
TrafficRouteKind
string
Length: including between 0 and 1
[BELEG.Verkehrszweig]
benötigt für Intrastat (Innergemeinschaftliche Handelsstatistik)
benötigt für Intrastat (Innergemeinschaftliche Handelsstatistik)
TrafficRouteKindLabel
string
Verkehrszweigbezeichnung
InternationalLocationNumber
string
Length: including between 0 and 35
Die Global Location Number (GLN) dient zur weltweit eindeutigen Identifikation von Unternehmen. Früher wurde sie International Location Number (ILN) genannt. [BELEG.ILNNummer]
NativeInvoiceRecipientNumber
string
Length: including between 0 and 35
[BELEG.Orignummer]
EdiStatusKind
string
Length: including between 0 and 1
[BELEG.EDIStatus]
O - offen | B - versandbereit | V - versendet
O - offen | B - versandbereit | V - versendet
EdiStatusLabel
string
Statusbezeichnung
ValutaDate
date
[BELEG.ValutaDatum]
WarehouseLocationNumber
string
Length: including between 0 and 10
[BELEG.Standort]
WarehouseLocationLabel
string
Standortbezeichnung
PositionTotalRoundNearest
integer
[BELEG.RundungPos]
TotalRoundNearest
integer
[BELEG.RundungBel]
AssociationRegulatorNumber
string
Length: including between 0 and 10
[BELEG.VerbandsKLNr]
DelcrederePercent
decimal number
[BELEG.Delkredere]
StockTransferCode
string
Length: including between 0 and 12
[BELEG.Umlagerung]
Format: Belegtyp|Belegnummer
Format: Belegtyp|Belegnummer
DisplayName
string
Length: including between 0 and 80
[BELEG.Anzeigename]
ReturnMerchandiseAuthorizationNumber
string
Length: including between 0 and 10
[BELEG.RMANummer]
ReportCountryCode
string
Length: including between 0 and 2
[BELEG.Meldeland]
CustomField
Die 'Freien Felder' des Beleges.
DeliveryAddress
Die abweichende Lieferadresse
PaymentReference
string
[Beleg.Zahlungsreferenz]
HeaderText
string
Kopftext
FooterText
string
Fusstext
SurchargeArticleNumber
string
Length: including between 0 and 40
[BELEG.Belegaufschlagsartikel]
Request Formats
application/json
Beispiel:
{
"Number": "sample string 1",
"KindFlag": "sample string 2",
"ExtraFields": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"PositionExtraFields": {
"sample string 1": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"sample string 2": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
},
"Date": "2026-03-17T14:14:55.6892658+01:00",
"BusinessPartner": {
"BusinessPartnerReferenceNumber": "sample string 1",
"ReferenceAddressNumber": "sample string 2",
"BusinessPartnerContract": "sample string 3",
"BusinessPartnerContractDate": "2026-03-17T14:14:55.6892658+01:00",
"ContactPersonId": 4,
"LastName": "sample string 5",
"Company": "sample string 6",
"Salutation": "sample string 7",
"FirstName": "sample string 8",
"Address": {
"Number": "sample string 1",
"Street": "sample string 2",
"City": "sample string 3",
"ZipCode": "sample string 4",
"CountryId": "sample string 5",
"AdditionalInformation1": "sample string 6",
"AdditionalInformation2": "sample string 7",
"AdditionalInformation3": "sample string 8"
}
},
"Payment": {
"BankingDetailsId": 1,
"BankAccount": "sample string 2",
"IsCashSale": true,
"PaymentTerm": "sample string 4",
"PaymentTermLabel": "sample string 5",
"PaymentPeriod": 6,
"PaymentPeriodLabel": "sample string 7",
"PaymentPeriodKind": 8,
"PaymentDocumentReferenceNumber": "sample string 9",
"FinancialAccountNumber": "sample string 10",
"BankAccountGroup": "sample string 11",
"BankAccountGroupLabel": "sample string 12",
"CostCenterLabel": "sample string 13",
"FinancialAccountExportDate": "2026-03-17T14:14:55.6892658+01:00",
"FinancialAccountClause": "sample string 15",
"IsPaymentLock": true,
"CostCenterNumber": "sample string 17"
},
"IsPrinted": true,
"EmployeeNumber": "sample string 4",
"EmployeeLabel": "sample string 5",
"SalesmanNumber": "sample string 6",
"SalesmanLabel": "sample string 7",
"WarehouseNumber": "sample string 8",
"WarehouseLabel": "sample string 9",
"CurrencyCode": "sample string 10",
"CurrencyLabel": "sample string 11",
"CurrencyExchangeRate": 12.1,
"DeliveryTermNumber": "sample string 13",
"DeliveryTermLabel": "sample string 14",
"DeliveryText": "sample string 15",
"DeliveryText2": "sample string 16",
"PriceGroupNumber": "sample string 17",
"PriceGroupLabel": "sample string 18",
"PriceKindFlag": "sample string 19",
"DiscountGroupNumber": "sample string 20",
"DiscountGroupLabel": "sample string 21",
"DiscountAmount": 22.1,
"CashDiscountDays": 23,
"CashDiscountDaysKind": 24,
"CashDiscountPercent": 25.1,
"CashDiscountLabel": "sample string 26",
"CashDiscount2Days": 27,
"CashDiscount2DaysKind": 28,
"CashDiscount2Percent": 29.1,
"CashDiscount2Label": "sample string 30",
"AlternativeWirCurrencyAmount": 31.1,
"AlternativeWirCurrencyPercent": 32.1,
"AlternativeWirCurrencyKind": "sample string 33",
"DeliveryDate": "2026-03-17T14:14:55.6892658+01:00",
"OurReference": "sample string 34",
"LanguageCode": "sample string 35",
"LanguageLabel": "sample string 36",
"DeliveryDocumentNumber": "sample string 37",
"MaintenanceContractReference": 38,
"DefaultPrintTemplate": "sample string 39",
"BillingAddress": "sample string 40",
"RateKind": 41,
"FixedRate": 42.1,
"EuropeanCountryCode": "sample string 43",
"TrafficRouteKind": "sample string 44",
"TrafficRouteKindLabel": "sample string 45",
"InternationalLocationNumber": "sample string 46",
"NativeInvoiceRecipientNumber": "sample string 47",
"EdiStatusKind": "sample string 48",
"EdiStatusLabel": "sample string 49",
"ValutaDate": "2026-03-17T14:14:55.6892658+01:00",
"WarehouseLocationNumber": "sample string 50",
"WarehouseLocationLabel": "sample string 51",
"PositionTotalRoundNearest": 52,
"TotalRoundNearest": 53,
"AssociationRegulatorNumber": "sample string 54",
"DelcrederePercent": 55.1,
"StockTransferCode": "sample string 56",
"DisplayName": "sample string 57",
"ReturnMerchandiseAuthorizationNumber": "sample string 58",
"ReportCountryCode": "sample string 59",
"CustomField": {
"Text1": "sample string 1",
"Text2": "sample string 2",
"Number1": 1.1,
"Number2": 1.1,
"Number3": 1,
"Number4": 1,
"Date1": "2026-03-17T14:14:55.6892658+01:00",
"Date2": "2026-03-17T14:14:55.6892658+01:00",
"Flag1": true,
"Flag2": true,
"Flag3": true,
"Flag4": true
},
"DeliveryAddress": {
"Number": 1,
"Salutation": "sample string 2",
"Title": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Company": "sample string 6",
"Department": "sample string 7",
"Function": "sample string 8",
"Priority": 9,
"InternationalLocationNumber": "sample string 10",
"Address": {
"Street": "sample string 1",
"City": "sample string 2",
"ZipCode": "sample string 3",
"CountryFlag": "sample string 4",
"AdditionalInformation1": "sample string 5",
"AdditionalInformation2": "sample string 6",
"AdditionalInformation3": "sample string 7"
},
"PostOfficeBox": {
"Number": "sample string 1",
"ZipCode": "sample string 2",
"City": "sample string 3",
"CountryId": "sample string 4"
},
"Contact": {
"FaxNumber": "sample string 1",
"TelephoneNumber1": "sample string 2",
"TelephoneNumber2": "sample string 3",
"TelephoneNumber3": "sample string 4",
"EMail": "sample string 5",
"HomePageUrl": "sample string 6"
}
},
"PaymentReference": "sample string 60",
"HeaderText": "sample string 61",
"FooterText": "sample string 62",
"SurchargeArticleNumber": "sample string 63"
}
Response
Resource Description
Ein HTTP Status Code 201 (Created) bestätigt das erfolgreiche Anlegen.
DocumentKey
string
Schlüssel des Belegs
DocumentKind
string
Typ des Belegs
DocumentNumber
string
Nummer des Belegs
Response Formats
application/json
Kein Beispiel verfügbar.
