This howto will create email accounts extension package to your products

- CREATE file if don't exist "C:\Program Files (x86)\Atomia\AutomationServer\Common\ProvisioningDescriptions\Transformation Files\ProvisioningDescription.SomePackageExtensions.xml"

- ADD text   

<?xml version="1.0" encoding="UTF-8"?>
<provisioningDescription xmlns:xdt="">
      <packageExtension name="MailAddon" xdt:Transform="Insert">
            <group maxCount="1" name="MailAccount">
              <service name="MailAccount" />
          <extends name="BasePackage" /> 
          <extends name="PremiumPackage" />
          <!-- other packages for which we want to allow extension -->
          <extends name="PackSmallBusiness" />




- CREATE file "C:\Program Files (x86)\Atomia\BillingAPIs\BillingApi\Transformation Files\Web.SomePackageExtensions.config"

<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xdt="">
<atomiaBilling xmlns="atomiaBilling" provisioningPluginName="AtomiaProvisioningHosting" parallelScheduledTasks="false" xdt:Transform="SetAttributes(parallelScheduledTasks)" xdt:Locator="Match(provisioningPluginName)">
<provisioningOrder provisioningService="EmailAccountAddon" order="10" xdt:Transform="Insert" />
<atomiaProvisioningConfiguration xmlns="atomiaProvisioning" adPasswordPattern="cczddApb" provisioningServiceUsername="Administrator"
provisioningServicePassword="Administrator" administratorEmail=""
<provisioningDescription name="ProvisioningDescription">
<!-- Extension package -->
<package name="EmailAccountAddon" type="PackageExtension" xdt:Transform="Insert" >
<packageProperty key="EmailAccountAddon" />




- GOTO (Login as Main reseller)

- ADD New product

Provisioning service -> MailAddon <!--name of the extension-->

Product category -> Extra service

Custom attributes

"maximalproductvalue=10" <!--maximal number of units available to add in one pass-->

"minimalproductvalue=1" <!--minimal number of units available to add in one pass-->



"packages=HST-GLDY|HST-SMA-BUS" <!--where value is the name of product which can be extended with this package (replace it with the ones you want to be able to extend)-->

"allowmultiple=true" <!-- extension package can be added just once if you don't add this attribute -->


- LOGOUT from admin panel

After defining product you need to add it to Subreseller shop.

- GOTO (Login as Subreseller)

- ADD extension product to Subreseller shop

- LOGOUT from admin panel

Recreate all config files and restart services on GUI, Automation and Billing API machine

Final Note: In order for "Extra Services" to be present in BCP the extended product (eg. Gold Package, Premium, etc.) needs to have following  custom attribute  :

Paramater / value : hasextraservices / true