<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>262</ContextCount>
  <ElementCount>340</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>48</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0002000 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Unaudited Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/UnauditedCondensedConsolidatedBalanceSheets</Role>
      <ShortName>Unaudited Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Unaudited Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Unaudited Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Unaudited Condensed Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/UnauditedCondensedConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Unaudited Condensed Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/UnauditedCondensedConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Unaudited Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/BasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RecentAccountingPronouncements</Role>
      <ShortName>Recent Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValue</Role>
      <ShortName>Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Business and Asset Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/BusinessAndAssetAcquisitions</Role>
      <ShortName>Business and Asset Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Net (Loss) Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/NetLossIncomePerShare</Role>
      <ShortName>Net (Loss) Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Operations by Segments and Geographic Areas</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreas</Role>
      <ShortName>Operations by Segments and Geographic Areas</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Indebtedness</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/Indebtedness</Role>
      <ShortName>Indebtedness</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/DerivativeInstruments</Role>
      <ShortName>Derivative Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Postretirement and Other Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/PostretirementAndOtherEmployeeBenefits</Role>
      <ShortName>Postretirement and Other Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Recent Accounting Pronouncements (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RecentAccountingPronouncementsPolicies</Role>
      <ShortName>Recent Accounting Pronouncements (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/RecentAccountingPronouncements</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/RevenueRecognition</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValueTables</Role>
      <ShortName>Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/FairValue</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Net (Loss) Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/NetLossIncomePerShareTables</Role>
      <ShortName>Net (Loss) Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/NetLossIncomePerShare</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Operations by Segments and Geographic Areas (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasTables</Role>
      <ShortName>Operations by Segments and Geographic Areas (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreas</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Derivative Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/DerivativeInstrumentsTables</Role>
      <ShortName>Derivative Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/DerivativeInstruments</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Postretirement and Other Employee Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/PostretirementAndOtherEmployeeBenefitsTables</Role>
      <ShortName>Postretirement and Other Employee Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/PostretirementAndOtherEmployeeBenefits</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Recent Accounting Pronouncements Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RecentAccountingPronouncementsAdditionalInformationDetails</Role>
      <ShortName>Recent Accounting Pronouncements Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Revenue Recognition - Remaining Performance Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RevenueRecognitionRemainingPerformanceObligationDetails</Role>
      <ShortName>Revenue Recognition - Remaining Performance Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Revenue Recognition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RevenueRecognitionAdditionalInformationDetail</Role>
      <ShortName>Revenue Recognition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - Revenue Recognition - Summary of Contract Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/RevenueRecognitionSummaryOfContractAssetsAndLiabilitiesDetail</Role>
      <ShortName>Revenue Recognition - Summary of Contract Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail</Role>
      <ShortName>Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Fair Value - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValueAdditionalInformationDetail</Role>
      <ShortName>Fair Value - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Fair Value - Marketable Securities by Major Security Type (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValueMarketableSecuritiesByMajorSecurityTypeDetail</Role>
      <ShortName>Fair Value - Marketable Securities by Major Security Type (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Fair Value - Estimated Fair Value of Our Investments in Available for Sale Marketable Securities Classified (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValueEstimatedFairValueOfOurInvestmentsInAvailableForSaleMarketableSecuritiesClassifiedDetail</Role>
      <ShortName>Fair Value - Estimated Fair Value of Our Investments in Available for Sale Marketable Securities Classified (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Fair Value - Summary of Gross Unrealized Losses and Fair Values of Available for Sale Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/FairValueSummaryOfGrossUnrealizedLossesAndFairValuesOfAvailableForSaleInvestmentsDetail</Role>
      <ShortName>Fair Value - Summary of Gross Unrealized Losses and Fair Values of Available for Sale Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2405401 - Disclosure - Business and Asset Acquisitions - Fiscal Year 2019 Acquisition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/BusinessAndAssetAcquisitionsFiscalYear2019AcquisitionAdditionalInformationDetail</Role>
      <ShortName>Business and Asset Acquisitions - Fiscal Year 2019 Acquisition - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Net (Loss) Income Per Share - Schedule of Computation of Basic and Diluted Net Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/NetLossIncomePerShareScheduleOfComputationOfBasicAndDilutedNetIncomePerShareDetail</Role>
      <ShortName>Net (Loss) Income Per Share - Schedule of Computation of Basic and Diluted Net Income Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bottomline.com/role/NetLossIncomePerShareTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Operations by Segments and Geographic Areas - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasAdditionalInformationDetail</Role>
      <ShortName>Operations by Segments and Geographic Areas - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Operations by Segments and Geographic Areas - Schedule of Segment Reporting Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasScheduleOfSegmentReportingInformationDetail</Role>
      <ShortName>Operations by Segments and Geographic Areas - Schedule of Segment Reporting Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Operations by Segments and Geographic Areas - Reconciliation of Measure of Total Segment Profit to GAAP Income (Loss) Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasReconciliationOfMeasureOfTotalSegmentProfitToGaapIncomeLossBeforeIncomeTaxesDetail</Role>
      <ShortName>Operations by Segments and Geographic Areas - Reconciliation of Measure of Total Segment Profit to GAAP Income (Loss) Before Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2407405 - Disclosure - Operations by Segments and Geographic Areas - Schedule of Segment Depreciation and Amortization Expense Included in Measure of Segment Profit (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasScheduleOfSegmentDepreciationAndAmortizationExpenseIncludedInMeasureOfSegmentProfitDetail</Role>
      <ShortName>Operations by Segments and Geographic Areas - Schedule of Segment Depreciation and Amortization Expense Included in Measure of Segment Profit (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2407406 - Disclosure - Operations by Segments and Geographic Areas - Schedule of Disaggregated Revenue by Major Prodct Classification (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasScheduleOfDisaggregatedRevenueByMajorProdctClassificationDetails</Role>
      <ShortName>Operations by Segments and Geographic Areas - Schedule of Disaggregated Revenue by Major Prodct Classification (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2407407 - Disclosure - Operations by Segments and Geographic Areas - Schedule of Revenue Based on Point of Sale (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasScheduleOfRevenueBasedOnPointOfSaleDetail</Role>
      <ShortName>Operations by Segments and Geographic Areas - Schedule of Revenue Based on Point of Sale (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2407408 - Disclosure - Operations by Segments and Geographic Areas - Schedule of Long-Lived Assets, Based on Geographical Location, Excluding Deferred Tax Assets and Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/OperationsBySegmentsAndGeographicAreasScheduleOfLongLivedAssetsBasedOnGeographicalLocationExcludingDeferredTaxAssetsAndIntangibleAssetsDetail</Role>
      <ShortName>Operations by Segments and Geographic Areas - Schedule of Long-Lived Assets, Based on Geographical Location, Excluding Deferred Tax Assets and Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2408401 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Intangible Assets Subject to Amortization and for Intangible Assets Not Subject to Amortization (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssetsScheduleOfIntangibleAssetsSubjectToAmortizationAndForIntangibleAssetsNotSubjectToAmortizationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Intangible Assets Subject to Amortization and for Intangible Assets Not Subject to Amortization (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Estimated Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssetsScheduleOfEstimatedAmortizationExpenseDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Estimated Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Rollforward of Goodwill Balances, by Reportable Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/GoodwillAndOtherIntangibleAssetsScheduleOfRollforwardOfGoodwillBalancesByReportableSegmentDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Rollforward of Goodwill Balances, by Reportable Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Commitments and Contingencies - Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingenciesLeaseExpenseDetails</Role>
      <ShortName>Commitments and Contingencies - Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Commitments and Contingencies - Supplemental Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingenciesSupplementalBalanceSheetDetails</Role>
      <ShortName>Commitments and Contingencies - Supplemental Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Commitments and Contingencies - Supplemental Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingenciesSupplementalCashFlowsDetails</Role>
      <ShortName>Commitments and Contingencies - Supplemental Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Commitments and Contingencies - Maturity Schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/CommitmentsAndContingenciesMaturityScheduleDetails</Role>
      <ShortName>Commitments and Contingencies - Maturity Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2411401 - Disclosure - Indebtedness - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/IndebtednessAdditionalInformationDetail</Role>
      <ShortName>Indebtedness - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Derivative Instruments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/DerivativeInstrumentsAdditionalInformationDetail</Role>
      <ShortName>Derivative Instruments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Derivative Instruments - Summary of Fair Values of the Interest Rate Swap (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/DerivativeInstrumentsSummaryOfFairValuesOfInterestRateSwapDetail</Role>
      <ShortName>Derivative Instruments - Summary of Fair Values of the Interest Rate Swap (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2412404 - Disclosure - Derivative Instruments - Summary of Effect of Derivative Interest Rate Swap and Related Tax Effects in AOCI (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/DerivativeInstrumentsSummaryOfEffectOfDerivativeInterestRateSwapAndRelatedTaxEffectsInAociDetail</Role>
      <ShortName>Derivative Instruments - Summary of Effect of Derivative Interest Rate Swap and Related Tax Effects in AOCI (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Postretirement and Other Employee Benefits - Components of Net Periodic Pension Costs for the Swiss Pension Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bottomline.com/role/PostretirementAndOtherEmployeeBenefitsComponentsOfNetPeriodicPensionCostsForSwissPensionPlanDetail</Role>
      <ShortName>Postretirement and Other Employee Benefits - Components of Net Periodic Pension Costs for the Swiss Pension Plan (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="fy20q310qdoc.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - fy20q310qdoc.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - fy20q310qdoc.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="fy20q310qdoc.htm">fy20q310qdoc.htm</File>
    <File>epay-20200331.xsd</File>
    <File>epay-20200331_cal.xml</File>
    <File>epay-20200331_def.xml</File>
    <File>epay-20200331_lab.xml</File>
    <File>epay-20200331_pre.xml</File>
    <File>epay-311fy20q3.htm</File>
    <File>epay-312fy20q3.htm</File>
    <File>epay-321fy20q3.htm</File>
    <File>epay-322fy20q3.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
