A customer has placed a purchase order and must now confirm it by fax, letter, or email. Following the confirmation, either Cleverbridge or the client must approve the order in the Commerce Assistant.
JSON Reference
This notification uses the Purchase Model.
Examples
{
"meta":{
"type":"AwaitingReleaseForPurchaseOrderNotification",
"date":"2019-10-30T13:02:54.365611",
"schemaUrl":"https://www.cleverbridge.com/JsonNotificationSchemas/AwaitingReleaseForPurchaseOrderNotification"
},
"purchaseId":168377690,
"configurationClientId": 864,
"status":"Pending",
"statusId":"PEN",
"billingContact":{
"language":"English",
"languageId":"en",
"locale":"en-US",
"company":"Your Company Name",
"firstname":"John",
"lastname":"Doe",
"companyRomanized":"Your Company Name",
"firstnameRomanized":"John",
"lastnameRomanized":"Doe",
"country":"Germany",
"countryId":"DE",
"email":"[email protected]"
},
"deliveryContact":{
"language":"English",
"languageId":"en",
"locale":"en-US",
"company":"Your Company Name",
"firstname":"John",
"lastname":"Doe",
"companyRomanized":"Your Company Name",
"firstnameRomanized":"John",
"lastnameRomanized":"Doe",
"country":"Germany",
"countryId":"DE",
"email":"[email protected]"
},
"licenseeContact":{
"language":"English",
"languageId":"en",
"locale":"en-US",
"company":"Your Company Name",
"firstname":"John",
"lastname":"Doe",
"companyRomanized":"Your Company Name",
"firstnameRomanized":"John",
"lastnameRomanized":"Doe",
"country":"Germany",
"countryId":"DE",
"email":"[email protected]"
},
"paymentInfo":{
"currency":"Euro",
"currencyId":"EUR",
"paymentType":"Wire transfer",
"paymentTypeId":"WTR_STD",
"isPurchaseOrder":true,
},
"creationTime":"2019-10-30T13:02:54.365611",
"lastModificationTime":"2019-10-30T13:02:55.672364",
"remoteAddress":"89.1.3.0",
"httpUserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
"httpEntryUrl":"https://shop.yourcustomdomain.com/1584/?scope=checkout\u0026cart=219783,219788,%20\u0026x-source=christmas%20newsletter\u0026x-reference=A5434A",
"httpReferer":"https://shop.yourcustomdomain.com/1584/?scope=checkout\u0026cart=219783,219788,%20\u0026x-source=christmas%20newsletter\u0026x-reference=A5434A",
"httpAcceptLanguage":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7",
"internalCustomer":"UUID-YOUR-UNIQUE-ID-1234-5678",
"customerConfirmationPageUrl":"https://shop.yourcustomdomain.com/1584/p/168377690-PshC04s31zTWdIFn1234",
"merchantOfRecord":"AG",
"items":[
{
"runningNumber":1,
"productId":219783,
"productName":"Film Now",
"productNameExtension":"Film Now for 12 months",
"yourProductId":"internal_id_219783",
"yourProductName":"Film Now",
"internalCategory":"Film",
"clientId":1584,
"quantity":1,
"yourCurrency":"Euro",
"yourCurrencyId":"EUR",
"profitCalculation":{
"grossRevenue":9.99,
"collectedVat":1.60,
"netRevenue":8.39,
"cbMarginPercentage":0.0,
"cbMarginFix":0.0,
"yourNetProfit":8.39,
"yourVat":1.60,
"yourGrossProfit":9.99
},
"yourPrice":{
"productSinglePrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
},
"productTotalPrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
},
"totalSinglePrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
},
"totalTotalPrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
}
},
"customerPrice":{
"productSinglePrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
},
"productTotalPrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
},
"totalSinglePrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
},
"totalTotalPrice":{
"netPrice":8.39,
"vatPrice":1.60,
"grossPrice":9.99,
"vatPercentage":19.0
}
},
"deliveries": [ ],
"recurringBilling":{
"subscriptionId":"S29327383",
"subscriptionItemRunningNo":1,
"subscriptionEventtypeId":"new",
"originalPurchaseId":168377690,
"originalPurchaseItemRunningNumber":1,
"intervalNumber":0,
"intervalLengthInDays":0,
"intervalLengthInMonths":12,
"gracePeriodDays":15,
"statusId":"ACT",
"status":"Active",
"itemStatusId":"ACT",
"itemStatus":"Active",
"cancellationUrl":"https://shop.yourcustomdomain.com/1584/crb/168377690-PshC04s31zTZdIRn1234-1",
"changePaymentSubscriptionUrl":"https://shop.yourcustomdomain.com/1584/scp/S29327383-05RlfQwTnDRP1234",
"nextBillingProfit":{
"grossRevenue":9.99,
"collectedVat":1.60,
"netRevenue":8.39,
"cbMarginPercentage":0.0,
"cbMarginFix":0.0,
"yourNetProfit":8.39,
"yourVat":1.60,
"yourGrossProfit":9.99
},
"renewalType":"Automatic"
}
},
{
"runningNumber":2,
"productId":219788,
"productName":"New Tunes",
"productNameExtension":"New Tunes",
"yourProductId":"internal_id_219788",
"yourProductName":"New Tunes",
"clientId":1584,
"quantity":1,
"yourCurrency":"Euro",
"yourCurrencyId":"EUR",
"profitCalculation":{
"grossRevenue":5.99,
"collectedVat":0.96,
"netRevenue":5.03,
"cbMarginPercentage":0.0,
"cbMarginFix":0.0,
"yourNetProfit":5.03,
"yourVat":0.96,
"yourGrossProfit":5.99
},
"yourPrice":{
"productSinglePrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
},
"productTotalPrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
},
"totalSinglePrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
},
"totalTotalPrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
}
},
"customerPrice":{
"productSinglePrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
},
"productTotalPrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
},
"totalSinglePrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
},
"totalTotalPrice":{
"netPrice":5.03,
"vatPrice":0.96,
"grossPrice":5.99,
"vatPercentage":19.0
}
},
}
],
"extraParameters":{
"x-reference":"A5434A",
"x-source":"christmas newsletter"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<cbn:AwaitingReleaseForPurchaseOrderNotification xmlns:cbn="http://xml.cleverbridge.com/3.13.0.13/cleverbridgeNotification.xsd">
<cbn:NotificationDate>2019-10-30T13:02:54.365611Z</cbn:NotificationDate>
<cbn:Purchase xmlns:cbt="http://xml.cleverbridge.com/3.13.0.13/cleverbridgeTypes.xsd" cbt:Id="168377690">
<cbt:Status>Pending</cbt:Status>
<cbt:StatusId>PEN</cbt:StatusId>
<cbt:BillingContact>
<cbt:Language>English</cbt:Language>
<cbt:LanguageId>en</cbt:LanguageId>
<cbt:Locale>en-US</cbt:Locale>
<cbt:Company>Your Company Name</cbt:Company>
<cbt:Firstname>John</cbt:Firstname>
<cbt:Lastname>Doe</cbt:Lastname>
<cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
<cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
<cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
<cbt:Country>Germany</cbt:Country>
<cbt:CountryId>DE</cbt:CountryId>
<cbt:Email>[email protected]</cbt:Email>
</cbt:BillingContact>
<cbt:DeliveryContact>
<cbt:Language>English</cbt:Language>
<cbt:LanguageId>en</cbt:LanguageId>
<cbt:Locale>en-US</cbt:Locale>
<cbt:Company>Your Company Name</cbt:Company>
<cbt:Firstname>John</cbt:Firstname>
<cbt:Lastname>Doe</cbt:Lastname>
<cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
<cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
<cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
<cbt:Country>Germany</cbt:Country>
<cbt:CountryId>DE</cbt:CountryId>
<cbt:Email>[email protected]</cbt:Email>
</cbt:DeliveryContact>
<cbt:LicenseeContact>
<cbt:Language>English</cbt:Language>
<cbt:LanguageId>en</cbt:LanguageId>
<cbt:Locale>en-US</cbt:Locale>
<cbt:Company>Your Company Name</cbt:Company>
<cbt:Firstname>John</cbt:Firstname>
<cbt:Lastname>Doe</cbt:Lastname>
<cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
<cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
<cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
<cbt:Country>Germany</cbt:Country>
<cbt:CountryId>DE</cbt:CountryId>
<cbt:Email>[email protected]</cbt:Email>
</cbt:LicenseeContact>
<cbt:PaymentInfo>
<cbt:Currency>Euro</cbt:Currency>
<cbt:CurrencyId>EUR</cbt:CurrencyId>
<cbt:PaymentType>Wire transfer</cbt:PaymentType>
<cbt:PaymentTypeId>WTR_STD</cbt:PaymentTypeId>
<cbt:IsPurchaseOrder>true</cbt:IsPurchaseOrder>
</cbt:PaymentInfo>
<cbt:CreationTime>2019-10-30T13:02:54.365611ZZ</cbt:CreationTime>
<cbt:LastModificationTime>2019-10-30T13:02:55.672364Z</cbt:LastModificationTime>
<cbt:SubscriptionRevenueCategoryId> </cbt:SubscriptionRevenueCategoryId>
<cbt:RemoteAddress>89.1.3.0</cbt:RemoteAddress>
<cbt:HttpUserAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36</cbt:HttpUserAgent>
<cbt:HttpEntryUrl>https://shop.yourcustomdomain.com/1584/?scope=checkout&cart=219783,219788,%20&x-source=christmas%20newsletter&x-reference=A5434A</cbt:HttpEntryUrl>
<cbt:HttpReferer>https://shop.yourcustomdomain.com/1584/?scope=checkout&cart=219783,219788,%20&x-source=christmas%20newsletter&x-reference=A5434A</cbt:HttpReferer>
<cbt:HttpAcceptLanguage>de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7</cbt:HttpAcceptLanguage>
<cbt:InternalCustomer>UUID-YOUR-UNIQUE-ID-1234-5678</cbt:InternalCustomer>
<cbt:CustomerConfirmationPageUrl>https://shop.yourcustomdomain.com/1584/p/168377690-PshC04s31rTWdIRn1234</cbt:CustomerConfirmationPageUrl>
<cbt:MerchantOfRecord>AG</cbt:MerchantOfRecord>
<cbt:Items>
<cbt:Item cbt:RunningNo="1">
<cbt:ProductId>219783</cbt:ProductId>
<cbt:ProductName>Film Now</cbt:ProductName>
<cbt:ProductNameExtension>Film Now for 12 months</cbt:ProductNameExtension>
<cbt:YourProductId>internal_id_219783</cbt:YourProductId>
<cbt:YourProductName>Film Now</cbt:YourProductName>
<cbt:InternalCategory>Film</cbt:InternalCategory>
<cbt:ClientId>1584</cbt:ClientId>
<cbt:Quantity>1</cbt:Quantity>
<cbt:YourCurrency>Euro</cbt:YourCurrency>
<cbt:YourCurrencyId>EUR</cbt:YourCurrencyId>
<cbt:ProfitCalculation>
<cbt:GrossRevenue>9.99</cbt:GrossRevenue>
<cbt:CollectedVat>1.60</cbt:CollectedVat>
<cbt:NetRevenue>8.39</cbt:NetRevenue>
<cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
<cbt:CbMarginFix>0</cbt:CbMarginFix>
<cbt:YourNetProfit>8.39</cbt:YourNetProfit>
<cbt:YourVat>1.60</cbt:YourVat>
<cbt:YourGrossProfit>9.99</cbt:YourGrossProfit>
</cbt:ProfitCalculation>
<cbt:YourPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:YourPrice>
<cbt:CustomerPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:CustomerPrice>
<cbt:Deliveries/>
<cbt:Additionals />
<cbt:ExtraParameters />
<cbt:RecurringBilling cbt:SubscriptionId="S29327383" cbt:SubscriptionItemRunningNo="1">
<cbt:SubscriptionEventtypeId>new</cbt:SubscriptionEventtypeId>
<cbt:OriginalPurchaseId>168377690</cbt:OriginalPurchaseId>
<cbt:OriginalPurchaseItemRunningNo>1</cbt:OriginalPurchaseItemRunningNo>
<cbt:IntervalNo>0</cbt:IntervalNo>
<cbt:GracePeriodDays>15</cbt:GracePeriodDays>
<cbt:StatusId>ACT</cbt:StatusId>
<cbt:Status>Active</cbt:Status>
<cbt:ItemStatusId>ACT</cbt:ItemStatusId>
<cbt:ItemStatus>Active</cbt:ItemStatus>
<cbt:NextBillingDate>2020-03-19T14:47:34.857671Z</cbt:NextBillingDate>
<cbt:CancellationUrl>https://shop.yourcustomdomain.com/1584/crb/168377690-PshC04s31zTWdDRn1234-1</cbt:CancellationUrl>
<cbt:ChangePaymentSubscriptionUrl>https://shop.yourcustomdomain.com/1584/scp/S29327383-05RlfQwTeCRP1234</cbt:ChangePaymentSubscriptionUrl>
<cbt:NextBillingProfit>
<cbt:GrossRevenue>9.99</cbt:GrossRevenue>
<cbt:CollectedVat>1.60</cbt:CollectedVat>
<cbt:NetRevenue>8.39</cbt:NetRevenue>
<cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
<cbt:CbMarginFix>0</cbt:CbMarginFix>
<cbt:YourNetProfit>8.39</cbt:YourNetProfit>
<cbt:YourVat>1.60</cbt:YourVat>
<cbt:YourGrossProfit>9.99</cbt:YourGrossProfit>
</cbt:NextBillingProfit>
<cbt:RenewalType>Automatic</cbt:RenewalType>
<cbt:IntervalLengthInMonths>12</cbt:IntervalLengthInMonths>
</cbt:RecurringBilling>
</cbt:Item>
<cbt:Item cbt:RunningNo="2">
<cbt:ProductId>219788</cbt:ProductId>
<cbt:ProductName>New Tunes</cbt:ProductName>
<cbt:ProductNameExtension>New Tunes</cbt:ProductNameExtension>
<cbt:YourProductId>internal_id_219788</cbt:YourProductId>
<cbt:YourProductName>New Tunes</cbt:YourProductName>
<cbt:ClientId>1584</cbt:ClientId>
<cbt:Quantity>1</cbt:Quantity>
<cbt:YourCurrency>Euro</cbt:YourCurrency>
<cbt:YourCurrencyId>EUR</cbt:YourCurrencyId>
<cbt:ProfitCalculation>
<cbt:GrossRevenue>5.99</cbt:GrossRevenue>
<cbt:CollectedVat>0.96</cbt:CollectedVat>
<cbt:NetRevenue>5.03</cbt:NetRevenue>
<cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
<cbt:CbMarginFix>0</cbt:CbMarginFix>
<cbt:YourNetProfit>5.03</cbt:YourNetProfit>
<cbt:YourVat>0.96</cbt:YourVat>
<cbt:YourGrossProfit>5.99</cbt:YourGrossProfit>
</cbt:ProfitCalculation>
<cbt:YourPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:YourPrice>
<cbt:CustomerPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:CustomerPrice>
<cbt:Deliveries/>
<cbt:Additionals />
<cbt:ExtraParameters />
</cbt:Item>
</cbt:Items>
<cbt:ExtraParameters>
<cbt:ExtraParameter>
<cbt:Key>x-reference</cbt:Key>
<cbt:Value>A5434A</cbt:Value>
</cbt:ExtraParameter>
<cbt:ExtraParameter>
<cbt:Key>x-source</cbt:Key>
<cbt:Value>christmas newsletter</cbt:Value>
</cbt:ExtraParameter>
</cbt:ExtraParameters>
<cbt:ConfigurationClientId>864</cbt:ConfigurationClientId>
</cbn:Purchase>
</cbn:AwaitingReleaseForPurchaseOrderNotification>