PDF Export

JSON New Purchase Order

Example
{
  "purchaseOrderSource" : "REPLACE",
  "paymentMethod" : null,
  "shippingCostCode" : "0",
  "shippingCost" : null,
  "insuranceCode" : null,
  "insuranceAmount" : null,
  "debitAccountNumber" : null,
  "debitBankCode" : null,
  "debitCountryCode" : null,
  "debitAccountHolder" : null,
  "debitContinuous" : "N",
  "ccNumber" : null,
  "ccCompany" : null,
  "ccChecksum" : null,
  "ccHolder" : null,
  "ccExpiry" : null,
  "ccStartdate" : null,
  "ccIssuenumber" : null,
  "ccType" : null,
  "priceList" : "UK",
  "creditLimitCheck" : null,
  "giftParcel" : null,
  "partDeliveries" : null,
  "purchaseOrderCategory" : null,
  "seriesCode" : null,
  "externalOrderId" : "0000007582",
  "correspondenceLanguageCode" : null,
  "dateOfDelivery" : null,
  "cashHandInLater" : null,
  "iban" : null,
  "bic" : null,
  "depositNumber" : null,
  "cashCurrencyCode" : null,
  "cashAmount" : 0.0,
  "cashInAdvanceCurrencyCode" : null,
  "cashInAdvanceAmount" : 0.0,
  "purchaseOrderPriority" : null,
  "shippingMethod" : null,
  "shippingType" : null,
  "shippingForm" : null,
  "shippingTypeSuffix" : null,
  "dateOfPurchaseOrder" : "2017-03-03",
  "clientHasMoney" : null,
  "option" : null,
  "processingType" : null,
  "variableCode1" : null,
  "variableCode2" : null,
  "dsbEPaymentGuid" : null,
  "preliminaryCancellationCode" : null,
  "purchaseOrderNumber" : null,
  "preliminarySpotId" : null,
  "preliminaryPurchaseOrderSource" : null,
  "purchaseOrderInfo" : null,
  "positions" : [ ],
  "purchaseOrderAttributes" : [ ],
  "paymentType1" : "OB",
  "bpRelations" : [ {
      "role" : "AG",
      "bp" : { ... }
  } ]
}

Element Definitions

Field name Type Description
purchaseOrderSource AN purchase order source (mandatory)
paymentType1
paymentType2
paymentType3
AN Payment Type
max. 3 external payment types at the same time. paymentType1 is mandatory. For example cash, check, CC, invoice
(Coded field; content is declared by the department)
paymentMethod AN Payment method
shippingCostCode AN Shipping cost code
(Coded field; content is declared by the department)
shippingCost N Shipping costs
usually no entry
insuranceCode AN Insurance code
(Coded field; content is declared by the department)
insuranceAmount N Insurance amount
debitAccountNumber AN Account number of debit.
debitBankCode AN Bank code of debit
debitCountryCode AN country code as ISO country code
debitAccountHolder AN Account holder of debit
debitContinuous AN Continuous Debit
J = Yes
Y = Yes (methods with version 2.0.0 or higher)
N = No, only once
iban AN IBAN
bic AN BIC
depositNumber AN Deposit number
ccNumber AN CC Number
ccChecksum AN CC check number
ccCompany AN CC-company
(Coded field; content is declared by the department)
ccHolder AN CC holder
ccExpiry N CC expiry YYYYMM
ccStartdate N CC startdate YYYYMM
ccIssuenumber AN CC issue number
ccType AN CC type
priceList AN Price List
(Coded field; content is declared by the department)
extraPayDiscountList AN Surcharge / Discount of item:
Surcharge / Discount list
(Coded field; content is declared by the department)
extraPayDiscountRate N Surcharge / Discount rate (percentage)
If discount, sign is minus
Planned but not available yet!
extraPayDiscountAmount N Surcharge / Discount amount
If discount, sign is minus
Planned but not available yet!
extraPayDiscountOfPurchaseOrderAmount N Surcharge / Discount amount of purchase order If discount, sign is minus Use only after appropval of VHS/3 team.
creditLimitCheck AN Credit limit check
(Coded field; content is declared by the department)
maximumPurchaseOrderValueCheck AN Check max. purchase order value
J = test
Y = test (methods with Version 2.0.0 or higher)
N = no test
‘ ‘ = no declaration (Default value is applied)
minimumPurchaseOrderValueCheck AN Check min. purchase order value
J = test
Y = test (methods with Version 2.0.0 or higher)
N = no test
‘ ‘ = no declaration (Default value is applied).)
giftParcel AN Gift parcel tag
J = gift
Y = gift (methods with Version 2.0.0 or higher)
N = no gift
‘ ‘ = no declaration (no gift)
partDeliveries AN Number of deliveries
Values:
0 = unbounded
1 – 9 = according to customer wish
‘ ‘ = no entry (default value)
purchaseOrderCategory AN Purchase order category
classifies order (e.g. 24h delivery)
(Coded field; content is declared by the department)
seriesCode AN Code for Sequence and Series processing.
externalOrderId AN Purchase order ID
Reference to an external purchase order number
correspondenceLanguageCode N Correspondence language code
Determines in which language the order is processed (e. g. Print)
(Coded field; content is declared by the department)
(1 = English, 2 = German, more languages )
dateOfDelivery N Date of delivery (Format YYYY-MM-TT)
cashHandInLater AN Cash hand in later
(Coded field; content is declared by the department)
chequeCode AN Cheque code
chequeNumber AN Cheque number
chequeAccountNumber AN Cheque account number
chequeBankCode AN Cheque bank code
chequeCountryCode AN Cheque country code.
chequeBankName AN Cheque bank name
chequeAccountHolder AN Cheque account holder
chequeType AN Cheque type
(Coded field; content is declared by the department)
chequeCurrencyCode AN Cheque currency
(Coded field; content is declared by the department)
chequeAmount N Cheque amount
cashCurrencyCode AN Cash currency code
(Coded field; content is declared by the department)
cashAmount N Cash amount
cashInAdvanceCurrencyCode AN Cash in advance currency code
(Coded field; content is declared by the department)
cashInAdvanceAmount N Cash in advance amount
purchaseOrderPriority AN Purchase order priority
Controls the processing of the purchase order
(Coded field; content is declared by the department)
shippingMethod AN Shipping method
(Coded field; content is declared by the department)
00 = determined automatically by Back Office
shippingType AN Shipping type (Reference to shipping method)
(Coded field; content is declared by the department)
00 = determined automatically by Back Office
shippingTypeSuffix AN Shipping type suffix
empty
shippingForm AN Shipping form
00 = no declaration
01 = C. O. D.
dateOfPurchaseOrder N Date-of-purchase-order ISO Format
clientHasMoney N Client has the money, field for payment amount
option AN Option
processingType AN Processing Type (only if business-partner is used)
1 = only address
2 = purchase-order (default)
3 = only address but with automatic item assignment
4 = purchase-order with address modification
variableCode1 AN Field for variable data
variableCode2 AN Field for variable data
purchaseOrderInfo AN Purchase Order Information
dsbEPaymentGuid AN Transactions-ID of the authorisation. This is replied in the response of a Notify service.
preliminaryCancellationCode AN Preliminary cancellation code of a external system.
This is used to signal the VHS/3 that a purchase-order is already canceled and only transferred to the backend system in order to do statistical reporting.
purchaseOrderAttributes
bpRelations
* bpRole C business partner role. Business Partner with role AG is mandatory.
* bp business partner (see below)
positions purchase order items. At least one item must be sent.

bp

purchaseOrderAttributes

positions

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information