riverty logo

Docs

Create Order

The creation of a order is the first step in the accounting process of Accounting as a Service.

More information can be found in our Link

Path

POST /businesses/{businessCode}/customers/{customerNumber}/orders
Successful Request for Visa payment

Request Example

    
        {
 "items": [
  {
   "vatType": "NORMAL",
   "quantity": 1,
   "productId": "BEF12346512A/1",
   "vatAmount": 19,
   "vatPercent": 19,
   "description": "Blumentopf XL (GRAU)",
   "positionType": "SALES_ARTICLE",
   "grossUnitPrice": 119,
   "orderItemReference": 1
  }
 ],
 "currency": "EUR",
 "orderDate": "2015-12-10T00:00:00.0000000",
 "orderType": "PHYSICAL_GOODS",
 "orderChannel": "ECOM",
 "billToAddress": {
  "email": "max.mustermann@outlook.com",
  "phone": "+491345789555",
  "title": "DR",
  "careOf": "Jane c/o John",
  "street": "Beispielstr.",
  "language": "de",
  "lastName": "Mustermann",
  "birthDate": "1983-09-15",
  "firstName": "Max",
  "postalCode": "48213",
  "salutation": "MRS",
  "countryCode": "DE",
  "nationality": "DE",
  "postalPlace": "Muenster",
  "streetNumber": "13A",
  "customerGroup": "Gold Clients",
  "taxIdentificationNumber": "DE999999999"
 },
 "shipToAddress": {
  "state": "AL",
  "title": "DR",
  "careOf": "Jane c/o John",
  "street": "Beispielstr.",
  "language": "de",
  "lastName": "Mustermann",
  "firstName": "Max",
  "postalCode": "48213",
  "salutation": "MRS",
  "countryCode": "DE",
  "postalPlace": "Muenster",
  "streetNumber": "13A"
 },
 "orderReference": "ODE12345678901",
 "paymentReference": {
  "paymentDetails": {
   "cardType": "VI",
   "cardHolder": "Max Mustermann",
   "expirationDate": {
    "year": 2018,
    "month": 12
   },
   "authorizedAmount": 119,
   "transactionToken": "8acda4a36b26b30a016b64b7bcd0225c",
   "authorizationDate": "2018-11-05T16:15:03.0000000+00:00",
   "merchantAccountId": "ECOM_WP",
   "settlementReference": "ODE12340849323"
  },
  "paymentMethodName": "VISA"
 },
 "supplyingCountry": "DE",
 "processAfterDunning": "HAND_OVER_FOR_DEBT_COLLECTION",
 "vatDeclarationCountry": "DE"
}
    

Response Example

    
        {
 "internalRequestId": "23c9579b-baaf-468f-a529-f876226e183c"
}