<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e2294-1d5e-7356-a374-7896e06bc712,g:e00a6c46-5940-4561-98f5-274cd60a7b8f-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.bill.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="bill-20260630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e2294-1f16-7f76-90a7-ee9a15d84e83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_StatementTable_019e2294-1f16-7f76-90a7-ee9a15d84e83" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e2294-1f16-7497-8957-6cb2d384f533" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e2294-1f16-7f76-90a7-ee9a15d84e83" xlink:to="loc_srt_ProductOrServiceAxis_019e2294-1f16-7497-8957-6cb2d384f533" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1f16-7497-8957-6cb2d384f533_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1f16-7497-8957-6cb2d384f533" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1f16-7497-8957-6cb2d384f533_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1f16-7dcc-9e3f-c381f526497a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1f16-7497-8957-6cb2d384f533" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1f16-7dcc-9e3f-c381f526497a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1f16-7596-8531-4d6bfc85acc1" xlink:href="bill-20260630.xsd#bill_SubscriptionAndTransactionFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1f16-7dcc-9e3f-c381f526497a" xlink:to="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1f16-7596-8531-4d6bfc85acc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_InterestOnFundsHeldForCustomersMember_019e2294-1f16-71a5-b0e1-e7907ba2428d" xlink:href="bill-20260630.xsd#bill_InterestOnFundsHeldForCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1f16-7dcc-9e3f-c381f526497a" xlink:to="loc_bill_InterestOnFundsHeldForCustomersMember_019e2294-1f16-71a5-b0e1-e7907ba2428d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract_019e2294-1f16-7ef4-b4ef-27daa1d195d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_DisaggregationOfRevenueAbstract_019e2294-1f16-7ef4-b4ef-27daa1d195d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2294-1f16-7813-a466-eaa973b85a90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract_019e2294-1f16-7ef4-b4ef-27daa1d195d3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2294-1f16-7813-a466-eaa973b85a90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenueAbstract_019e2294-1f16-71a0-8ac3-cdabdaf76375" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_CostOfRevenueAbstract_019e2294-1f16-71a0-8ac3-cdabdaf76375" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e2294-1f16-7314-8e0f-b55f3473ee99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_019e2294-1f16-71a0-8ac3-cdabdaf76375" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_019e2294-1f16-7314-8e0f-b55f3473ee99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_019e2294-1f16-73ef-ad47-669b66c1248c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_019e2294-1f16-71a0-8ac3-cdabdaf76375" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_019e2294-1f16-73ef-ad47-669b66c1248c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e2294-1f16-7ad0-a41b-5f2baa5924a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_019e2294-1f16-71a0-8ac3-cdabdaf76375" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e2294-1f16-7ad0-a41b-5f2baa5924a4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019e2294-1f16-77e4-bdb2-cdde601c0a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_GrossProfit_019e2294-1f16-77e4-bdb2-cdde601c0a9c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e2294-1f16-7d18-9db7-b4b289dacf23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e2294-1f16-7d18-9db7-b4b289dacf23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019e2294-1f16-7844-9664-d9c9d4db763f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019e2294-1f16-7844-9664-d9c9d4db763f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e2294-1f16-7d74-934c-ebcedb2b5409" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e2294-1f16-7d74-934c-ebcedb2b5409" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AcquiredCardReceivablesAndAccountsReceivableCreditLossExpenseReversal_019e2294-1f16-7563-9097-138e34035fdb" xlink:href="bill-20260630.xsd#bill_AcquiredCardReceivablesAndAccountsReceivableCreditLossExpenseReversal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_bill_AcquiredCardReceivablesAndAccountsReceivableCreditLossExpenseReversal_019e2294-1f16-7563-9097-138e34035fdb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e2294-1f16-7020-a7f7-7426710c514b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e2294-1f16-7020-a7f7-7426710c514b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RestructuringChargesAndOtherShareBasedCompensationExpense_019e2294-1f16-7a12-9b79-bc34b97b486a" xlink:href="bill-20260630.xsd#bill_RestructuringChargesAndOtherShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_bill_RestructuringChargesAndOtherShareBasedCompensationExpense_019e2294-1f16-7a12-9b79-bc34b97b486a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e2294-1f16-7877-9449-41f991556a15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_019e2294-1f16-7b92-94fb-3cc21a37897f" xlink:to="loc_us-gaap_OperatingExpenses_019e2294-1f16-7877-9449-41f991556a15" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e2294-1f16-7209-ba35-8471b5b721b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e2294-1f16-7209-ba35-8471b5b721b8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e2294-1f16-700c-9eed-e868b4e53533" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e2294-1f16-700c-9eed-e868b4e53533" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e2294-1f16-7a43-88bf-dcb7ba601192" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e2294-1f16-7a43-88bf-dcb7ba601192" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e2294-1f16-7cf7-873e-b860360d4483" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e2294-1f16-7cf7-873e-b860360d4483" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2294-1f16-76be-a8c2-5f57bc194aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_NetIncomeLoss_019e2294-1f16-76be-a8c2-5f57bc194aa4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_019e2294-1f16-7ccb-86be-403163e59c34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_EarningsPerShareAbstract_019e2294-1f16-7ccb-86be-403163e59c34" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_019e2294-1f16-7c63-85c3-2cf2b4eb8731" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_019e2294-1f16-7ccb-86be-403163e59c34" xlink:to="loc_us-gaap_EarningsPerShareBasic_019e2294-1f16-7c63-85c3-2cf2b4eb8731" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_019e2294-1f16-7f3b-878a-babc1e9c53d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_019e2294-1f16-7ccb-86be-403163e59c34" xlink:to="loc_us-gaap_EarningsPerShareDiluted_019e2294-1f16-7f3b-878a-babc1e9c53d1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_019e2294-1f16-7b4d-b571-2b8868eb00ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-74ec-91fe-636095a062dc" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_019e2294-1f16-7b4d-b571-2b8868eb00ce" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e2294-1f16-75d2-a996-c61a1eb2b012" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_019e2294-1f16-7b4d-b571-2b8868eb00ce" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e2294-1f16-75d2-a996-c61a1eb2b012" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e2294-1f16-793e-95c9-c2a49f772168" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_019e2294-1f16-7b4d-b571-2b8868eb00ce" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e2294-1f16-793e-95c9-c2a49f772168" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="bill-20260630.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e2294-1f16-7854-8db4-bd982fd94e94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e2294-1f16-7f88-b87e-54f190d9ac9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-7854-8db4-bd982fd94e94" xlink:to="loc_us-gaap_StatementTable_019e2294-1f16-7f88-b87e-54f190d9ac9c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019e2294-1f16-75d1-92be-56e880e37f25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e2294-1f16-7f88-b87e-54f190d9ac9c" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019e2294-1f16-75d1-92be-56e880e37f25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e2294-1f16-75d1-92be-56e880e37f25_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e2294-1f16-75d1-92be-56e880e37f25" xlink:to="loc_us-gaap_EquityComponentDomain_019e2294-1f16-75d1-92be-56e880e37f25_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e2294-1f16-7cac-9806-86a3ad3fa19b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e2294-1f16-75d1-92be-56e880e37f25" xlink:to="loc_us-gaap_EquityComponentDomain_019e2294-1f16-7cac-9806-86a3ad3fa19b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019e2294-1f16-7ce2-8f05-7d8744ddb4ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e2294-1f16-7cac-9806-86a3ad3fa19b" xlink:to="loc_us-gaap_CommonStockMember_019e2294-1f16-7ce2-8f05-7d8744ddb4ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019e2294-1f16-7ddf-bd10-dbbc6d5404c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e2294-1f16-7cac-9806-86a3ad3fa19b" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019e2294-1f16-7ddf-bd10-dbbc6d5404c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019e2294-1f16-7665-958f-df2b15b19be1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e2294-1f16-7cac-9806-86a3ad3fa19b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019e2294-1f16-7665-958f-df2b15b19be1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019e2294-1f16-7519-af60-b925a1ecf111" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e2294-1f16-7cac-9806-86a3ad3fa19b" xlink:to="loc_us-gaap_RetainedEarningsMember_019e2294-1f16-7519-af60-b925a1ecf111" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e2294-1f16-7854-8db4-bd982fd94e94" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019e2294-1f16-71a7-94e9-03907efa6061" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019e2294-1f16-71a7-94e9-03907efa6061" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2294-1f16-7e6e-aa16-734321f6da68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_StockholdersEquity_019e2294-1f16-7e6e-aa16-734321f6da68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_StockIssuedDuringPeriodSharesStockOptionsExercisedAndReleaseOfRestrictedStockUnits_019e2294-1f16-7b9b-97ce-0a69c0f3da90" xlink:href="bill-20260630.xsd#bill_StockIssuedDuringPeriodSharesStockOptionsExercisedAndReleaseOfRestrictedStockUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_bill_StockIssuedDuringPeriodSharesStockOptionsExercisedAndReleaseOfRestrictedStockUnits_019e2294-1f16-7b9b-97ce-0a69c0f3da90" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_StockIssuedDuringPeriodValueStockOptionsExercisedAndReleaseOfRestrictedStockUnits_019e2294-1f16-72b0-8fda-9bd2fa8bf76e" xlink:href="bill-20260630.xsd#bill_StockIssuedDuringPeriodValueStockOptionsExercisedAndReleaseOfRestrictedStockUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_bill_StockIssuedDuringPeriodValueStockOptionsExercisedAndReleaseOfRestrictedStockUnits_019e2294-1f16-72b0-8fda-9bd2fa8bf76e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019e2294-1f16-75c5-96a2-7875b764d364" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019e2294-1f16-75c5-96a2-7875b764d364" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019e2294-1f16-771e-a918-cf50eb57bfcb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019e2294-1f16-771e-a918-cf50eb57bfcb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019e2294-1f16-7c9b-aa74-bacace49543f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019e2294-1f16-7c9b-aa74-bacace49543f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019e2294-1f16-741b-a977-b39f3876d86a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019e2294-1f16-741b-a977-b39f3876d86a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AdjustmentsToAdditionalPaidInCapitalUnwindOfCappedCalls_019e2294-1f16-733f-b062-758f220c5743" xlink:href="bill-20260630.xsd#bill_AdjustmentsToAdditionalPaidInCapitalUnwindOfCappedCalls"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_bill_AdjustmentsToAdditionalPaidInCapitalUnwindOfCappedCalls_019e2294-1f16-733f-b062-758f220c5743" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AdjustmentToAdditionalPaidInCapitalPurchaseOfCappedCalls_019e2294-1f16-7a24-a91c-a423c7dd488e" xlink:href="bill-20260630.xsd#bill_AdjustmentToAdditionalPaidInCapitalPurchaseOfCappedCalls"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_bill_AdjustmentToAdditionalPaidInCapitalPurchaseOfCappedCalls_019e2294-1f16-7a24-a91c-a423c7dd488e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019e2294-1f16-77ae-be4d-b5202cf877dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019e2294-1f16-77ae-be4d-b5202cf877dd" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2294-1f16-7f39-b743-d0e5af9479aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e2294-1f16-7f39-b743-d0e5af9479aa" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2294-1f16-7e87-81f4-49d8efbd0079" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e2294-1f16-7e2b-8236-1f96c42c9791" xlink:to="loc_us-gaap_NetIncomeLoss_019e2294-1f16-7e87-81f4-49d8efbd0079" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019e2294-1f16-709f-9de2-d355bee8062d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2294-1f16-79b8-b911-c77e98e3f591" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical" xlink:type="simple" xlink:href="bill-20260630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c7-3118-75bd-bfdd-672d846d2a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01a010c7-3118-76f0-97c6-e21bbc1a60c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c7-3118-75bd-bfdd-672d846d2a0c" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01a010c7-3118-76f0-97c6-e21bbc1a60c2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c7-7c33-7772-bd75-a001c67f0f39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01a010c7-3118-76f0-97c6-e21bbc1a60c2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c7-7c33-7772-bd75-a001c67f0f39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c7-7c33-7772-bd75-a001c67f0f39_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c7-7c33-7772-bd75-a001c67f0f39" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c7-7c33-7772-bd75-a001c67f0f39_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c7-7c33-7bab-873d-6590d5f522f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c7-7c33-7772-bd75-a001c67f0f39" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c7-7c33-7bab-873d-6590d5f522f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01a010c7-be29-7a2e-b4bd-e5c37188c876" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c7-7c33-7bab-873d-6590d5f522f4" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01a010c7-be29-7a2e-b4bd-e5c37188c876" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_01a010c7-3118-7be6-a582-7d17eccb091d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c7-3118-75bd-bfdd-672d846d2a0c" xlink:to="loc_us-gaap_AdjustmentForAmortization_01a010c7-3118-7be6-a582-7d17eccb091d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesOfferingofConvertibleNotesDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesOfferingofConvertibleNotesDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesOfferingofConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7811-b5f0-5e19c9e5b814" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7811-b5f0-5e19c9e5b814" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe4-7577-89ce-bfcfccb069bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7811-b5f0-5e19c9e5b814" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe4-7577-89ce-bfcfccb069bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-7577-89ce-bfcfccb069bc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe4-7577-89ce-bfcfccb069bc" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-7577-89ce-bfcfccb069bc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-79ef-8c42-7ced23bc6d0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe4-7577-89ce-bfcfccb069bc" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-79ef-8c42-7ced23bc6d0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe4-7145-bbc5-77a75e9ed83b" xlink:href="bill-20260630.xsd#bill_TwoThousandThirtyConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-79ef-8c42-7ced23bc6d0e" xlink:to="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe4-7145-bbc5-77a75e9ed83b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe4-78ec-b5b5-b13cb6af1c66" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-79ef-8c42-7ced23bc6d0e" xlink:to="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe4-78ec-b5b5-b13cb6af1c66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe4-722d-97d2-bcff59824fc7" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentySevenConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe4-79ef-8c42-7ced23bc6d0e" xlink:to="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe4-722d-97d2-bcff59824fc7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019e2294-1fe4-7d56-a475-4877852dc087" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019e2294-1fe4-7d56-a475-4877852dc087" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e2294-1fe4-7dce-81a9-36a8f95b734d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e2294-1fe4-7dce-81a9-36a8f95b734d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_019e2294-1fe4-7d2b-8594-de970c188a37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_019e2294-1fe4-7d2b-8594-de970c188a37" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_PaymentsForConvertibleSeniorNotesCappedCall_019e2294-1fe4-7d55-be59-73316e3f49f6" xlink:href="bill-20260630.xsd#bill_PaymentsForConvertibleSeniorNotesCappedCall"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_bill_PaymentsForConvertibleSeniorNotesCappedCall_019e2294-1fe4-7d55-be59-73316e3f49f6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_019e2294-1fe4-75ac-b0df-c15a28a0b50e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_019e2294-1fe4-75ac-b0df-c15a28a0b50e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e2294-1fe4-7fc7-a7c2-0e01345b9805" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-749d-8b4e-bb66c5a39fe9" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e2294-1fe4-7fc7-a7c2-0e01345b9805" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesSegmentReportingDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesSegmentReportingDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesSegmentReportingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e4f7b-f115-73a4-87bc-0ed71285fc72" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e4f7b-f115-73a4-87bc-0ed71285fc72" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019e4f7c-48cc-76a1-ab7c-752b9038dcca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e4f7b-f115-73a4-87bc-0ed71285fc72" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019e4f7c-48cc-76a1-ab7c-752b9038dcca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_019e2294-1fe4-7ec9-b014-b3b9abaa11fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_us-gaap_NumberOfOperatingSegments_019e2294-1fe4-7ec9-b014-b3b9abaa11fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RewardsAndPromotionsExpense_019e4f7b-f115-718a-acda-4cefa3a14cb5" xlink:href="bill-20260630.xsd#bill_RewardsAndPromotionsExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_bill_RewardsAndPromotionsExpense_019e4f7b-f115-718a-acda-4cefa3a14cb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RevenueFromNonUSCustomersPercentage_019e2294-1fe4-7f2d-ad37-18dfa765257e" xlink:href="bill-20260630.xsd#bill_RevenueFromNonUSCustomersPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_bill_RevenueFromNonUSCustomersPercentage_019e2294-1fe4-7f2d-ad37-18dfa765257e" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesSegmentReportingDetails_1" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesSegmentReportingDetails_1"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesSegmentReportingDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e4f7b-f115-73a4-87bc-0ed71285fc72" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e4f7b-f115-73a4-87bc-0ed71285fc72" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_019e2294-1fe4-7ec9-b014-b3b9abaa11fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_us-gaap_NumberOfOperatingSegments_019e2294-1fe4-7ec9-b014-b3b9abaa11fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RewardsAndPromotionsExpense_019e4f7b-f115-718a-acda-4cefa3a14cb5" xlink:href="bill-20260630.xsd#bill_RewardsAndPromotionsExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_bill_RewardsAndPromotionsExpense_019e4f7b-f115-718a-acda-4cefa3a14cb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RevenueFromNonUSCustomersPercentage_019e2294-1fe4-7f2d-ad37-18dfa765257e" xlink:href="bill-20260630.xsd#bill_RevenueFromNonUSCustomersPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e4f7b-f115-7f1a-965e-c9505730e0d3" xlink:to="loc_bill_RevenueFromNonUSCustomersPercentage_019e2294-1fe4-7f2d-ad37-18dfa765257e" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesFundsHeldForCustomersandCustomerFundDepositsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesFundsHeldForCustomersandCustomerFundDepositsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesFundsHeldForCustomersandCustomerFundDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7428-8639-76045a95884a" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-740e-8d4d-80b9edf30261" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7428-8639-76045a95884a" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-740e-8d4d-80b9edf30261" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-1fe4-7ea5-8995-a6a29028ae2d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-740e-8d4d-80b9edf30261" xlink:to="loc_srt_RangeAxis_019e2294-1fe4-7ea5-8995-a6a29028ae2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-7ea5-8995-a6a29028ae2d_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7ea5-8995-a6a29028ae2d" xlink:to="loc_srt_RangeMember_019e2294-1fe4-7ea5-8995-a6a29028ae2d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-7ceb-8bb6-49abbc7637a5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7ea5-8995-a6a29028ae2d" xlink:to="loc_srt_RangeMember_019e2294-1fe4-7ceb-8bb6-49abbc7637a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e2294-1fe4-7786-86e2-5b1eeabacaae" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-7ceb-8bb6-49abbc7637a5" xlink:to="loc_srt_MinimumMember_019e2294-1fe4-7786-86e2-5b1eeabacaae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e2294-1fe4-742c-a434-72ead364a72a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-7ceb-8bb6-49abbc7637a5" xlink:to="loc_srt_MaximumMember_019e2294-1fe4-742c-a434-72ead364a72a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersMoneyMarketFundsAndMarketableDebtSecuritiesMaximumMaturityPeriod_019e2294-1fe4-7b1a-8238-c31dcec93918" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersMoneyMarketFundsAndMarketableDebtSecuritiesMaximumMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7428-8639-76045a95884a" xlink:to="loc_bill_FundsHeldForCustomersMoneyMarketFundsAndMarketableDebtSecuritiesMaximumMaturityPeriod_019e2294-1fe4-7b1a-8238-c31dcec93918" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersMarketableDebtSecuritiesMaturityPeriod_019e2294-1fe4-7de1-9086-ddc46a465da8" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersMarketableDebtSecuritiesMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7428-8639-76045a95884a" xlink:to="loc_bill_FundsHeldForCustomersMarketableDebtSecuritiesMaturityPeriod_019e2294-1fe4-7de1-9086-ddc46a465da8" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesPropertyandEquipmentDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7765-9142-eaef71030524" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7836-8fe7-a670cb109e4a" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7765-9142-eaef71030524" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7836-8fe7-a670cb109e4a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-1fe4-7404-96dc-de73773b29f9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7836-8fe7-a670cb109e4a" xlink:to="loc_srt_RangeAxis_019e2294-1fe4-7404-96dc-de73773b29f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-7404-96dc-de73773b29f9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7404-96dc-de73773b29f9" xlink:to="loc_srt_RangeMember_019e2294-1fe4-7404-96dc-de73773b29f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-75c0-b2a1-cf4d9c3ea43c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7404-96dc-de73773b29f9" xlink:to="loc_srt_RangeMember_019e2294-1fe4-75c0-b2a1-cf4d9c3ea43c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e2294-1fe4-7e55-9d86-66e2147ffd52" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-75c0-b2a1-cf4d9c3ea43c" xlink:to="loc_srt_MinimumMember_019e2294-1fe4-7e55-9d86-66e2147ffd52" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e2294-1fe4-7362-9eae-32f95da6c1fd" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-75c0-b2a1-cf4d9c3ea43c" xlink:to="loc_srt_MaximumMember_019e2294-1fe4-7362-9eae-32f95da6c1fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019e2294-1fe4-7bb8-81dd-ee8438faef99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7765-9142-eaef71030524" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019e2294-1fe4-7bb8-81dd-ee8438faef99" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesIntangibleAssetsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-78db-863c-07d471df2324" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-73f2-a0a9-fef278fbf46e" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-78db-863c-07d471df2324" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-73f2-a0a9-fef278fbf46e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-1fe4-7a15-bbfb-c7c127b30139" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-73f2-a0a9-fef278fbf46e" xlink:to="loc_srt_RangeAxis_019e2294-1fe4-7a15-bbfb-c7c127b30139" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-7a15-bbfb-c7c127b30139_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7a15-bbfb-c7c127b30139" xlink:to="loc_srt_RangeMember_019e2294-1fe4-7a15-bbfb-c7c127b30139_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-71b7-917e-9e7f08297ca7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7a15-bbfb-c7c127b30139" xlink:to="loc_srt_RangeMember_019e2294-1fe4-71b7-917e-9e7f08297ca7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e2294-1fe4-7287-b282-efccf3725fee" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-71b7-917e-9e7f08297ca7" xlink:to="loc_srt_MinimumMember_019e2294-1fe4-7287-b282-efccf3725fee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e2294-1fe4-7b38-a5e5-769bf9d212d8" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-71b7-917e-9e7f08297ca7" xlink:to="loc_srt_MaximumMember_019e2294-1fe4-7b38-a5e5-769bf9d212d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019e2294-1fe4-70f3-9b64-15e08118a718" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-78db-863c-07d471df2324" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019e2294-1fe4-70f3-9b64-15e08118a718" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesLeasesDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesLeasesDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e2294-1fe4-7aeb-a0bd-05c1030edb2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_019e2294-1fe4-7ffe-b248-ba65f9a216b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e2294-1fe4-7aeb-a0bd-05c1030edb2b" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_019e2294-1fe4-7ffe-b248-ba65f9a216b1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-1fe4-775b-9144-62b1d66bd65e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_019e2294-1fe4-7ffe-b248-ba65f9a216b1" xlink:to="loc_srt_RangeAxis_019e2294-1fe4-775b-9144-62b1d66bd65e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-775b-9144-62b1d66bd65e_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-775b-9144-62b1d66bd65e" xlink:to="loc_srt_RangeMember_019e2294-1fe4-775b-9144-62b1d66bd65e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-7cdd-a106-c0d3858c34d8" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-775b-9144-62b1d66bd65e" xlink:to="loc_srt_RangeMember_019e2294-1fe4-7cdd-a106-c0d3858c34d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e2294-1fe4-7909-aa51-2ddb60c525e7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-7cdd-a106-c0d3858c34d8" xlink:to="loc_srt_MinimumMember_019e2294-1fe4-7909-aa51-2ddb60c525e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_019e2294-1fe4-70f2-af6c-90303ee17617" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e2294-1fe4-7aeb-a0bd-05c1030edb2b" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_019e2294-1fe4-70f2-af6c-90303ee17617" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#TheCompanyandItsSignificantAccountingPoliciesStockBasedCompensationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/TheCompanyandItsSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7434-bc14-01b9ade1a4b6" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7c44-a42a-6585e313837b" xlink:href="bill-20260630.xsd#bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7434-bc14-01b9ade1a4b6" xlink:to="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7c44-a42a-6585e313837b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e2294-1fe4-77a2-b90a-9788069a55ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7c44-a42a-6585e313837b" xlink:to="loc_us-gaap_AwardTypeAxis_019e2294-1fe4-77a2-b90a-9788069a55ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe4-77a2-b90a-9788069a55ed_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe4-77a2-b90a-9788069a55ed" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe4-77a2-b90a-9788069a55ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe4-7ce7-a3ee-4b6bb8199898" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe4-77a2-b90a-9788069a55ed" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe4-7ce7-a3ee-4b6bb8199898" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe4-7678-bdbb-5834511dea6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe4-7ce7-a3ee-4b6bb8199898" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe4-7678-bdbb-5834511dea6f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_MarketBasedRestrictedStockUnitsMember_019e2294-1fe4-743b-ae44-5bdfec5dd954" xlink:href="bill-20260630.xsd#bill_MarketBasedRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe4-7ce7-a3ee-4b6bb8199898" xlink:to="loc_bill_MarketBasedRestrictedStockUnitsMember_019e2294-1fe4-743b-ae44-5bdfec5dd954" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-1fe4-7db7-ac37-26dcb13e3e1f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTable_019e2294-1fe4-7c44-a42a-6585e313837b" xlink:to="loc_srt_RangeAxis_019e2294-1fe4-7db7-ac37-26dcb13e3e1f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-7db7-ac37-26dcb13e3e1f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7db7-ac37-26dcb13e3e1f" xlink:to="loc_srt_RangeMember_019e2294-1fe4-7db7-ac37-26dcb13e3e1f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe4-722c-9485-6e77528ce541" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-1fe4-7db7-ac37-26dcb13e3e1f" xlink:to="loc_srt_RangeMember_019e2294-1fe4-722c-9485-6e77528ce541" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e2294-1fe4-7f7b-a867-07ce1acf538e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-722c-9485-6e77528ce541" xlink:to="loc_srt_MinimumMember_019e2294-1fe4-7f7b-a867-07ce1acf538e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e2294-1fe4-76c6-ba31-4883f33190ef" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe4-722c-9485-6e77528ce541" xlink:to="loc_srt_MaximumMember_019e2294-1fe4-76c6-ba31-4883f33190ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019e2294-1fe4-729b-9f14-54bf0692264e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7434-bc14-01b9ade1a4b6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019e2294-1fe4-729b-9f14-54bf0692264e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_EmployeeStockPurchasePlanPurchaseRightsOfferingPeriod_019e2294-1fe4-71fb-a50d-dc1b71313e55" xlink:href="bill-20260630.xsd#bill_EmployeeStockPurchasePlanPurchaseRightsOfferingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesLineItems_019e2294-1fe4-7434-bc14-01b9ade1a4b6" xlink:to="loc_bill_EmployeeStockPurchasePlanPurchaseRightsOfferingPeriod_019e2294-1fe4-71fb-a50d-dc1b71313e55" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/RevenueScheduleofSubscriptionandTransactionFeesDisaggregatedbyCustomerCategoryDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#RevenueScheduleofSubscriptionandTransactionFeesDisaggregatedbyCustomerCategoryDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/RevenueScheduleofSubscriptionandTransactionFeesDisaggregatedbyCustomerCategoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7510-90c3-cd2a0fe876a7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7cce-8822-0565d72e48db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7510-90c3-cd2a0fe876a7" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7cce-8822-0565d72e48db" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e2294-1fe4-705f-bfb9-cd91afca2d0f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7cce-8822-0565d72e48db" xlink:to="loc_srt_ProductOrServiceAxis_019e2294-1fe4-705f-bfb9-cd91afca2d0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-705f-bfb9-cd91afca2d0f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe4-705f-bfb9-cd91afca2d0f" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-705f-bfb9-cd91afca2d0f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-7038-8534-e6807ab1677e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe4-705f-bfb9-cd91afca2d0f" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-7038-8534-e6807ab1677e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe4-7d81-b518-cdce0491ad1c" xlink:href="bill-20260630.xsd#bill_SubscriptionAndTransactionFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-7038-8534-e6807ab1677e" xlink:to="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe4-7d81-b518-cdce0491ad1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_IntegratedPlatformMember_019e2294-1fe4-73f3-82a3-d34c6d5ca4ba" xlink:href="bill-20260630.xsd#bill_IntegratedPlatformMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe4-7d81-b518-cdce0491ad1c" xlink:to="loc_bill_IntegratedPlatformMember_019e2294-1fe4-73f3-82a3-d34c6d5ca4ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AccountsPayableAndAccountsReceivableSolutionsMember_019e2294-1fe4-7e0b-bb5f-5a5b114bdd90" xlink:href="bill-20260630.xsd#bill_AccountsPayableAndAccountsReceivableSolutionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IntegratedPlatformMember_019e2294-1fe4-73f3-82a3-d34c6d5ca4ba" xlink:to="loc_bill_AccountsPayableAndAccountsReceivableSolutionsMember_019e2294-1fe4-7e0b-bb5f-5a5b114bdd90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_SpendAndExpenseInterchangeRevenueMember_019e2294-1fe4-71ac-b19a-a7953416c382" xlink:href="bill-20260630.xsd#bill_SpendAndExpenseInterchangeRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IntegratedPlatformMember_019e2294-1fe4-73f3-82a3-d34c6d5ca4ba" xlink:to="loc_bill_SpendAndExpenseInterchangeRevenueMember_019e2294-1fe4-71ac-b19a-a7953416c382" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_EmbeddedAndOtherSolutionsMember_019e2294-1fe4-725d-8177-870fc6192264" xlink:href="bill-20260630.xsd#bill_EmbeddedAndOtherSolutionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe4-7d81-b518-cdce0491ad1c" xlink:to="loc_bill_EmbeddedAndOtherSolutionsMember_019e2294-1fe4-725d-8177-870fc6192264" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_InterestOnFundsHeldForCustomersMember_019e2294-1fe4-7382-9dcb-5e3b86140601" xlink:href="bill-20260630.xsd#bill_InterestOnFundsHeldForCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-7038-8534-e6807ab1677e" xlink:to="loc_bill_InterestOnFundsHeldForCustomersMember_019e2294-1fe4-7382-9dcb-5e3b86140601" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2294-1fe4-7219-9020-297eb83871d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7510-90c3-cd2a0fe876a7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e2294-1fe4-7219-9020-297eb83871d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueNotFromContractWithCustomer_019f6067-2231-7028-a1ac-de8998a6a017" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueNotFromContractWithCustomer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7510-90c3-cd2a0fe876a7" xlink:to="loc_us-gaap_RevenueNotFromContractWithCustomer_019f6067-2231-7028-a1ac-de8998a6a017" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/RevenueAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#RevenueAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/RevenueAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7956-950a-5439c8c2893b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7956-950a-5439c8c2893b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019e2294-1fe4-74c7-9972-a54209010ec5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7956-950a-5439c8c2893b" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019e2294-1fe4-74c7-9972-a54209010ec5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019e2294-1fe4-7ab0-a1d4-8ef55d77803b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019e2294-1fe4-7ab0-a1d4-8ef55d77803b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_019e2294-1fe4-71e2-949f-8b4d15095577" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_019e2294-1fe4-71e2-949f-8b4d15095577" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019e2294-1fe4-7a07-8284-58206c618550" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019e2294-1fe4-7a07-8284-58206c618550" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019e2294-1fe4-7f42-8d90-6c8fe08825e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019e2294-1fe4-7f42-8d90-6c8fe08825e1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnbilledReceivablesCurrent_019e2294-1fe4-7f5d-8d54-e99984717586" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnbilledReceivablesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_UnbilledReceivablesCurrent_019e2294-1fe4-7f5d-8d54-e99984717586" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredSalesCommissions_019e2294-1fe4-7b03-93e9-895314da26c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDeferredSalesCommissions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_AmortizationOfDeferredSalesCommissions_019e2294-1fe4-7b03-93e9-895314da26c8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredCharges_019e2294-1fe4-7d41-b515-859fa672814c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDeferredCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_AmortizationOfDeferredCharges_019e2294-1fe4-7d41-b515-859fa672814c" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/RevenueAdditionalInformationDetails_1" xlink:type="simple" xlink:href="bill-20260630.xsd#RevenueAdditionalInformationDetails_1"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/RevenueAdditionalInformationDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7956-950a-5439c8c2893b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019e2294-1fe4-7956-950a-5439c8c2893b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019e2294-1fe4-7ab0-a1d4-8ef55d77803b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019e2294-1fe4-7ab0-a1d4-8ef55d77803b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_019e2294-1fe4-71e2-949f-8b4d15095577" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_019e2294-1fe4-71e2-949f-8b4d15095577" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019e2294-1fe4-7a07-8284-58206c618550" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019e2294-1fe4-7a07-8284-58206c618550" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019e2294-1fe4-7f42-8d90-6c8fe08825e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019e2294-1fe4-7f42-8d90-6c8fe08825e1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnbilledReceivablesCurrent_019e2294-1fe4-7f5d-8d54-e99984717586" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnbilledReceivablesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_UnbilledReceivablesCurrent_019e2294-1fe4-7f5d-8d54-e99984717586" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredSalesCommissions_019e2294-1fe4-7b03-93e9-895314da26c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDeferredSalesCommissions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_AmortizationOfDeferredSalesCommissions_019e2294-1fe4-7b03-93e9-895314da26c8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredCharges_019e2294-1fe4-7d41-b515-859fa672814c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDeferredCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019e2294-1fe4-7a18-9dd9-15058ac50905" xlink:to="loc_us-gaap_AmortizationOfDeferredCharges_019e2294-1fe4-7d41-b515-859fa672814c" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/RevenueScheduleofDeferredCostsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#RevenueScheduleofDeferredCostsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/RevenueScheduleofDeferredCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_DeferredCostsLineItems_019e2294-1fe4-7fce-bfd9-e1813df699c8" xlink:href="bill-20260630.xsd#bill_DeferredCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DeferredCostsTable_019e2294-1fe4-71f8-8868-4ac87d90d450" xlink:href="bill-20260630.xsd#bill_DeferredCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_DeferredCostsLineItems_019e2294-1fe4-7fce-bfd9-e1813df699c8" xlink:to="loc_bill_DeferredCostsTable_019e2294-1fe4-71f8-8868-4ac87d90d450" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e2294-1fe4-7a90-8d44-cd17ebde4112" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_DeferredCostsTable_019e2294-1fe4-71f8-8868-4ac87d90d450" xlink:to="loc_srt_ProductOrServiceAxis_019e2294-1fe4-7a90-8d44-cd17ebde4112" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-7a90-8d44-cd17ebde4112_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe4-7a90-8d44-cd17ebde4112" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-7a90-8d44-cd17ebde4112_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-78ec-ab8e-1b8cf7d2f087" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe4-7a90-8d44-cd17ebde4112" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-78ec-ab8e-1b8cf7d2f087" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DeferredSalesCommissionsMember_019e2294-1fe4-7de1-8c04-f5dfe91e07b5" xlink:href="bill-20260630.xsd#bill_DeferredSalesCommissionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-78ec-ab8e-1b8cf7d2f087" xlink:to="loc_bill_DeferredSalesCommissionsMember_019e2294-1fe4-7de1-8c04-f5dfe91e07b5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DeferredServiceCostsMember_019e2294-1fe4-7ef0-addc-8aacc8a976c6" xlink:href="bill-20260630.xsd#bill_DeferredServiceCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1fe4-78ec-ab8e-1b8cf7d2f087" xlink:to="loc_bill_DeferredServiceCostsMember_019e2294-1fe4-7ef0-addc-8aacc8a976c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrent_019e2294-1fe4-72a8-a5d8-698463fb3ce1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCostsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_DeferredCostsLineItems_019e2294-1fe4-7fce-bfd9-e1813df699c8" xlink:to="loc_us-gaap_DeferredCostsCurrent_019e2294-1fe4-72a8-a5d8-698463fb3ce1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCosts_019e2294-1fe4-717c-b256-94e8831e90d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_DeferredCostsLineItems_019e2294-1fe4-7fce-bfd9-e1813df699c8" xlink:to="loc_us-gaap_DeferredCosts_019e2294-1fe4-717c-b256-94e8831e90d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_019e2294-1fe4-76a5-bd31-2bcd6c0ccdc6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCostsCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_DeferredCostsLineItems_019e2294-1fe4-7fce-bfd9-e1813df699c8" xlink:to="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_019e2294-1fe4-76a5-bd31-2bcd6c0ccdc6" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/FairValueMeasurementScheduleofFairValueofAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#FairValueMeasurementScheduleofFairValueofAssetsandLiabilitiesMeasuredonRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/FairValueMeasurementScheduleofFairValueofAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e2294-1fe5-76ad-b0ea-31a50fff3793" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e2294-1fe4-7313-9f8e-f4b092760286" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e2294-1fe5-76ad-b0ea-31a50fff3793" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e2294-1fe4-7313-9f8e-f4b092760286" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e2294-1fe4-7761-92d0-804a7404a0ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e2294-1fe4-7313-9f8e-f4b092760286" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e2294-1fe4-7761-92d0-804a7404a0ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e2294-1fe4-7761-92d0-804a7404a0ad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e2294-1fe4-7761-92d0-804a7404a0ad" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e2294-1fe4-7761-92d0-804a7404a0ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e2294-1fe4-7e5d-b9e7-748ecd1941ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e2294-1fe4-7761-92d0-804a7404a0ad" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e2294-1fe4-7e5d-b9e7-748ecd1941ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019e2294-1fe4-7f7e-b83a-71c96ba15a54" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e2294-1fe4-7e5d-b9e7-748ecd1941ce" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019e2294-1fe4-7f7e-b83a-71c96ba15a54" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019e2294-1fe4-76bd-b18c-b2092f7d0c74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e2294-1fe4-7e5d-b9e7-748ecd1941ce" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019e2294-1fe4-76bd-b18c-b2092f7d0c74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_019e2294-1fe5-7bc4-9004-997485e9b8cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e2294-1fe4-7313-9f8e-f4b092760286" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_019e2294-1fe5-7bc4-9004-997485e9b8cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-7bc4-9004-997485e9b8cb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019e2294-1fe5-7bc4-9004-997485e9b8cb" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-7bc4-9004-997485e9b8cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-711d-8c02-7f8e09c3e645" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019e2294-1fe5-7bc4-9004-997485e9b8cb" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-711d-8c02-7f8e09c3e645" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_019e2294-1fe5-74aa-b1b5-79c81812d18e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-711d-8c02-7f8e09c3e645" xlink:to="loc_us-gaap_MoneyMarketFundsMember_019e2294-1fe5-74aa-b1b5-79c81812d18e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019e2294-1fe5-7bc7-a908-a1bb7128499a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-711d-8c02-7f8e09c3e645" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019e2294-1fe5-7bc7-a908-a1bb7128499a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_019e4fc1-ae1e-7b79-a39e-515c48c51fb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CertificatesOfDepositMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e2294-1fe5-711d-8c02-7f8e09c3e645" xlink:to="loc_us-gaap_CertificatesOfDepositMember_019e4fc1-ae1e-7b79-a39e-515c48c51fb2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe4-75df-b7ac-88cd96d8ef3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e2294-1fe4-7313-9f8e-f4b092760286" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe4-75df-b7ac-88cd96d8ef3c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-75df-b7ac-88cd96d8ef3c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe4-75df-b7ac-88cd96d8ef3c" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-75df-b7ac-88cd96d8ef3c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe4-75df-b7ac-88cd96d8ef3c" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019e4fc3-645e-7178-b9f1-ae31941aba67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019e4fc3-645e-7178-b9f1-ae31941aba67" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019e2294-1fe5-7d8f-9a46-9ea1e2f4c5b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019e2294-1fe5-7d8f-9a46-9ea1e2f4c5b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_019e2294-1fe5-785d-ab17-747222842c70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_019e2294-1fe5-785d-ab17-747222842c70" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_019e2294-1fe5-7629-9a15-b1ed3c3df69b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CertificatesOfDepositMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_us-gaap_CertificatesOfDepositMember_019e2294-1fe5-7629-9a15-b1ed3c3df69b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_019e2294-1fe5-7a30-a8dd-17b0d85575f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_019e2294-1fe5-7a30-a8dd-17b0d85575f2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RestrictedCashEquivalentsMember_019e2294-1fe5-73f4-9ed4-27f59b1d56be" xlink:href="bill-20260630.xsd#bill_RestrictedCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_bill_RestrictedCashEquivalentsMember_019e2294-1fe5-73f4-9ed4-27f59b1d56be" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_019e2294-1fe5-76fc-adef-8a8d3942c591" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe4-7902-8b81-b409645f4352" xlink:to="loc_us-gaap_MunicipalBondsMember_019e2294-1fe5-76fc-adef-8a8d3942c591" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7049-97f1-bfb474094db7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e2294-1fe4-7313-9f8e-f4b092760286" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7049-97f1-bfb474094db7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7049-97f1-bfb474094db7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7049-97f1-bfb474094db7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7049-97f1-bfb474094db7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7dc1-ac37-7d094b4db674" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7049-97f1-bfb474094db7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7dc1-ac37-7d094b4db674" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe5-70a0-9808-8709c0e08650" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7dc1-ac37-7d094b4db674" xlink:to="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe5-70a0-9808-8709c0e08650" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-7bee-a6d7-a411ef667769" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentySevenConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7dc1-ac37-7d094b4db674" xlink:to="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-7bee-a6d7-a411ef667769" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-7278-aae6-1bc7a1093b9b" xlink:href="bill-20260630.xsd#bill_TwoThousandThirtyConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7dc1-ac37-7d094b4db674" xlink:to="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-7278-aae6-1bc7a1093b9b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e2294-1fe5-76ad-b0ea-31a50fff3793" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e2294-1fe5-72d3-aac3-495224efabdc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e2294-1fe5-72d3-aac3-495224efabdc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_019e2294-1fe5-7a7d-89b1-37656dd8b8b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_019e2294-1fe5-7a7d-89b1-37656dd8b8b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesFairValueDisclosure_019e2294-1fe5-7784-aa1c-be922ad9577b" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesFairValueDisclosure_019e2294-1fe5-7784-aa1c-be922ad9577b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e2294-1fe5-7d65-bc55-9d05997e24c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e2294-1fe5-7d65-bc55-9d05997e24c2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_019e2294-1fe5-7819-8bb2-fddf50eff95f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e2294-1fe5-7dff-99d8-a0069d158ea7" xlink:to="loc_us-gaap_DebtInstrumentFairValue_019e2294-1fe5-7819-8bb2-fddf50eff95f" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/ShortTermInvestmentsandFundsHeldforCustomersScheduleofFundsHeldforCustomersDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#ShortTermInvestmentsandFundsHeldforCustomersScheduleofFundsHeldforCustomersDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/ShortTermInvestmentsandFundsHeldforCustomersScheduleofFundsHeldforCustomersDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-77cd-b12b-7cd0674dcff5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7601-a50e-b502a2380ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-77cd-b12b-7cd0674dcff5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7601-a50e-b502a2380ea6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7315-9426-1bdde70c69c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7601-a50e-b502a2380ea6" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7315-9426-1bdde70c69c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7315-9426-1bdde70c69c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7315-9426-1bdde70c69c8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7315-9426-1bdde70c69c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7124-b33e-bfa3603f994b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7315-9426-1bdde70c69c8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7124-b33e-bfa3603f994b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RestrictedCashMember_019e2294-1fe5-7806-ade0-aa97246613e2" xlink:href="bill-20260630.xsd#bill_RestrictedCashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7124-b33e-bfa3603f994b" xlink:to="loc_bill_RestrictedCashMember_019e2294-1fe5-7806-ade0-aa97246613e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RestrictedCashEquivalentsMember_019e2294-1fe5-786e-8c56-4e74dae01fb8" xlink:href="bill-20260630.xsd#bill_RestrictedCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7124-b33e-bfa3603f994b" xlink:to="loc_bill_RestrictedCashEquivalentsMember_019e2294-1fe5-786e-8c56-4e74dae01fb8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsReceivableMember_019e2294-1fe5-7a10-b70c-b6f996d461ba" xlink:href="bill-20260630.xsd#bill_FundsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7124-b33e-bfa3603f994b" xlink:to="loc_bill_FundsReceivableMember_019e2294-1fe5-7a10-b70c-b6f996d461ba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AvailableForSaleDebtSecuritiesMember_019e2294-1fe5-748b-a27c-017f9fffb9e1" xlink:href="bill-20260630.xsd#bill_AvailableForSaleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7124-b33e-bfa3603f994b" xlink:to="loc_bill_AvailableForSaleDebtSecuritiesMember_019e2294-1fe5-748b-a27c-017f9fffb9e1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesCurrentAbstract_019e2294-1fe5-7421-8f25-6623ac5dbfc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-77cd-b12b-7cd0674dcff5" xlink:to="loc_us-gaap_DebtSecuritiesCurrentAbstract_019e2294-1fe5-7421-8f25-6623ac5dbfc5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e2294-1fe5-7b40-862b-f71d6a5acec3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesCurrentAbstract_019e2294-1fe5-7421-8f25-6623ac5dbfc5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e2294-1fe5-7b40-862b-f71d6a5acec3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-766b-b822-97781e1145d7" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-77cd-b12b-7cd0674dcff5" xlink:to="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-766b-b822-97781e1145d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForClientsGross_019e2294-1fe5-752a-b24c-afdc20c9ad8e" xlink:href="bill-20260630.xsd#bill_FundsHeldForClientsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-766b-b822-97781e1145d7" xlink:to="loc_bill_FundsHeldForClientsGross_019e2294-1fe5-752a-b24c-afdc20c9ad8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AccruedIncomeEarned_019e2294-1fe5-7670-804b-4ee038db7a1f" xlink:href="bill-20260630.xsd#bill_AccruedIncomeEarned"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-766b-b822-97781e1145d7" xlink:to="loc_bill_AccruedIncomeEarned_019e2294-1fe5-7670-804b-4ee038db7a1f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FundsHeldForClients_019e2294-1fe5-77a8-9eea-a8369fffce6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FundsHeldForClients"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-766b-b822-97781e1145d7" xlink:to="loc_us-gaap_FundsHeldForClients_019e2294-1fe5-77a8-9eea-a8369fffce6d" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/ShortTermInvestmentsAndFundsHeldForCustomersScheduleofShortTermInvestmentsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#ShortTermInvestmentsAndFundsHeldForCustomersScheduleofShortTermInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/ShortTermInvestmentsAndFundsHeldForCustomersScheduleofShortTermInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-79ba-a542-d652d1be62c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7db9-ba2e-f67a5e91b680" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-79ba-a542-d652d1be62c8" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7db9-ba2e-f67a5e91b680" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-78c7-93b9-f169a5adef1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7db9-ba2e-f67a5e91b680" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-78c7-93b9-f169a5adef1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-78c7-93b9-f169a5adef1b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-78c7-93b9-f169a5adef1b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-78c7-93b9-f169a5adef1b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-78c7-93b9-f169a5adef1b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019e2294-1fe5-7d9c-ae73-aac12fdb65d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019e2294-1fe5-7d9c-ae73-aac12fdb65d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019e2294-1fe5-7f22-94c5-fe2b0069644b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019e2294-1fe5-7f22-94c5-fe2b0069644b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_019e2294-1fe5-7878-8b93-696fb6ca918d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_019e2294-1fe5-7878-8b93-696fb6ca918d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_019e2294-1fe5-77f3-8900-ae840db0dc6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CertificatesOfDepositMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:to="loc_us-gaap_CertificatesOfDepositMember_019e2294-1fe5-77f3-8900-ae840db0dc6a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_019e2294-1fe5-78ff-b0fa-2dd3181c35c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7233-b617-abe811a6c335" xlink:to="loc_us-gaap_MunicipalBondsMember_019e2294-1fe5-78ff-b0fa-2dd3181c35c0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019e2294-1fe5-74eb-a586-cea9bd8a3cce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-79ba-a542-d652d1be62c8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019e2294-1fe5-74eb-a586-cea9bd8a3cce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e2294-1fe5-7485-a18a-57abb47c2409" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019e2294-1fe5-74eb-a586-cea9bd8a3cce" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e2294-1fe5-7485-a18a-57abb47c2409" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e2294-1fe5-7eb4-a9c8-9de2b8d8073b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019e2294-1fe5-74eb-a586-cea9bd8a3cce" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e2294-1fe5-7eb4-a9c8-9de2b8d8073b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e2294-1fe5-794b-8314-09ddb31cdcb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019e2294-1fe5-74eb-a586-cea9bd8a3cce" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e2294-1fe5-794b-8314-09ddb31cdcb6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e2294-1fe5-7c5c-975f-a30129517e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019e2294-1fe5-74eb-a586-cea9bd8a3cce" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_019e2294-1fe5-7c5c-975f-a30129517e7c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7dbe-8f7d-4a57d1386bbd" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-79ba-a542-d652d1be62c8" xlink:to="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7dbe-8f7d-4a57d1386bbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesAmortizedCost_019e2294-1fe5-7791-8b7e-ed24bab21992" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7dbe-8f7d-4a57d1386bbd" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesAmortizedCost_019e2294-1fe5-7791-8b7e-ed24bab21992" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e2294-1fe5-76b0-b080-cd39d7775c75" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7dbe-8f7d-4a57d1386bbd" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e2294-1fe5-76b0-b080-cd39d7775c75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e2294-1fe5-7aea-be4f-94965eb1409f" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7dbe-8f7d-4a57d1386bbd" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e2294-1fe5-7aea-be4f-94965eb1409f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesCurrent_019e2294-1fe5-7bc6-80f9-012025abbf4c" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7dbe-8f7d-4a57d1386bbd" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesCurrent_019e2294-1fe5-7bc6-80f9-012025abbf4c" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/ShortTermInvestmentsAndFundsHeldForCustomersAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#ShortTermInvestmentsAndFundsHeldForCustomersAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/ShortTermInvestmentsAndFundsHeldForCustomersAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7032-9a62-fb6a76f0318b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7032-9a62-fb6a76f0318b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019e2294-1fe5-7c02-b56a-8a158cab9ef0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-7032-9a62-fb6a76f0318b" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019e2294-1fe5-7c02-b56a-8a158cab9ef0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019e2294-1fe5-7c02-b56a-8a158cab9ef0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019e2294-1fe5-7c02-b56a-8a158cab9ef0" xlink:to="loc_us-gaap_ReceivableTypeDomain_019e2294-1fe5-7c02-b56a-8a158cab9ef0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019e2294-1fe5-7256-ba3b-b1e3550ad009" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019e2294-1fe5-7c02-b56a-8a158cab9ef0" xlink:to="loc_us-gaap_ReceivableTypeDomain_019e2294-1fe5-7256-ba3b-b1e3550ad009" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AccruedInterestReceivableMember_019e2294-1fe5-72ea-a36f-a1eacc6a9387" xlink:href="bill-20260630.xsd#bill_AccruedInterestReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_019e2294-1fe5-7256-ba3b-b1e3550ad009" xlink:to="loc_bill_AccruedInterestReceivableMember_019e2294-1fe5-72ea-a36f-a1eacc6a9387" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList_019e2294-1fe5-742d-81d7-e56ca1161f66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList_019e2294-1fe5-742d-81d7-e56ca1161f66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss_019e2294-1fe5-77d2-9fb1-5fa48f864073" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss_019e2294-1fe5-77d2-9fb1-5fa48f864073" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesAmortizedCost_019e2294-1fe5-77d5-9dbe-39b2a28fa531" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesAmortizedCost_019e2294-1fe5-77d5-9dbe-39b2a28fa531" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesCurrent_019e2294-1fe5-70fa-8f26-888f12e3941a" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesCurrent_019e2294-1fe5-70fa-8f26-888f12e3941a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesNumberOfUnrealizedLossInvestmentPositions_019e2294-1fe5-7e3c-8d0a-fc01ab2ea83a" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesNumberOfUnrealizedLossInvestmentPositions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesNumberOfUnrealizedLossInvestmentPositions_019e2294-1fe5-7e3c-8d0a-fc01ab2ea83a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersDebtSecuritiesNumberOfInvestmentPositions_019e2294-1fe5-7b79-9220-974635c7998c" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersDebtSecuritiesNumberOfInvestmentPositions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_bill_FundsHeldForCustomersDebtSecuritiesNumberOfInvestmentPositions_019e2294-1fe5-7b79-9220-974635c7998c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e2294-1fe5-7597-b358-8e6f5ea43f2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-75a3-84cd-8e2078a9cc3b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_019e2294-1fe5-7597-b358-8e6f5ea43f2f" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/ShortTermInvestmentsandFundsHeldforCustomersScheduleofGrossUnrealizedLossesAndFairValuesDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#ShortTermInvestmentsandFundsHeldforCustomersScheduleofGrossUnrealizedLossesAndFairValuesDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/ShortTermInvestmentsandFundsHeldforCustomersScheduleofGrossUnrealizedLossesAndFairValuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-7236-a427-2203bf2dbdb5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-737b-abd6-25e9fe799ee5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-7236-a427-2203bf2dbdb5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-737b-abd6-25e9fe799ee5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7014-b488-cc6d2371b974" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019e2294-1fe5-737b-abd6-25e9fe799ee5" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7014-b488-cc6d2371b974" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7014-b488-cc6d2371b974_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7014-b488-cc6d2371b974" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-7014-b488-cc6d2371b974_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-701c-99a7-45b7ae24c651" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e2294-1fe5-7014-b488-cc6d2371b974" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-701c-99a7-45b7ae24c651" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019e2294-1fe5-7629-9247-5d3d10a8a129" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-701c-99a7-45b7ae24c651" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019e2294-1fe5-7629-9247-5d3d10a8a129" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019e2294-1fe5-7512-b4ae-4044a3a68ad1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-701c-99a7-45b7ae24c651" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019e2294-1fe5-7512-b4ae-4044a3a68ad1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_019e2294-1fe5-7bf9-bcfb-10990ff48b74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-701c-99a7-45b7ae24c651" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_019e2294-1fe5-7bf9-bcfb-10990ff48b74" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_019f606b-51a6-7c4d-96ba-91f43282e523" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e2294-1fe5-701c-99a7-45b7ae24c651" xlink:to="loc_us-gaap_MunicipalBondsMember_019f606b-51a6-7c4d-96ba-91f43282e523" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-7236-a427-2203bf2dbdb5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019e2294-1fe5-7775-b6a4-5eddcd30a028" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019e2294-1fe5-7775-b6a4-5eddcd30a028" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e2294-1fe5-7fef-8f67-e852606cc928" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e2294-1fe5-7fef-8f67-e852606cc928" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019e2294-1fe5-7ff6-a763-db8087618dfb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019e2294-1fe5-7ff6-a763-db8087618dfb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e2294-1fe5-7ba9-a64d-332cf70567fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e2294-1fe5-7ba9-a64d-332cf70567fb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e2294-1fe5-7cd1-bb0c-98ca61708136" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019e2294-1fe5-7cd1-bb0c-98ca61708136" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e2294-1fe5-70a9-aadb-df0677a95e30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019e2294-1fe5-7b2c-a6d6-55371d9ed4d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019e2294-1fe5-70a9-aadb-df0677a95e30" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019e2294-1fe5-7236-a427-2203bf2dbdb5" xlink:to="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPositionLessThan12Months_019e2294-1fe5-7ad9-9b8f-9449d4907184" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:to="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPositionLessThan12Months_019e2294-1fe5-7ad9-9b8f-9449d4907184" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e2294-1fe5-7374-9200-0134714a4892" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:to="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019e2294-1fe5-7374-9200-0134714a4892" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPosition12MonthsOrLonger_019e2294-1fe5-7be8-b315-14bbdbc88e25" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:to="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPosition12MonthsOrLonger_019e2294-1fe5-7be8-b315-14bbdbc88e25" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e2294-1fe5-71b1-b260-b069ba1689a0" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:to="loc_bill_FundsHeldForCustomersContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019e2294-1fe5-71b1-b260-b069ba1689a0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersUnrealizedLossPosition_019e2294-1fe5-7003-a76e-e993c800f30a" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersUnrealizedLossPosition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:to="loc_bill_FundsHeldForCustomersUnrealizedLossPosition_019e2294-1fe5-7003-a76e-e993c800f30a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FundsHeldForCustomersUnrealizedLossPositionAccumulatedLoss_019e2294-1fe5-7cc8-8f91-52cc6afa7ca5" xlink:href="bill-20260630.xsd#bill_FundsHeldForCustomersUnrealizedLossPositionAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_FundsHeldForCustomersAbstract_019e2294-1fe5-7f9c-a57c-e6e58e1fcfbb" xlink:to="loc_bill_FundsHeldForCustomersUnrealizedLossPositionAccumulatedLoss_019e2294-1fe5-7cc8-8f91-52cc6afa7ca5" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/AcquiredCardReceivablesScheduleofAcquiredCardReceivablesbyClassDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#AcquiredCardReceivablesScheduleofAcquiredCardReceivablesbyClassDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/AcquiredCardReceivablesScheduleofAcquiredCardReceivablesbyClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019e2294-1fe5-7661-931b-e3411ab27b86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019e2294-1fe5-7da2-a4a8-1822494f5f9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019e2294-1fe5-7661-931b-e3411ab27b86" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019e2294-1fe5-7da2-a4a8-1822494f5f9d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7a64-9fdd-ae41ccf73ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019e2294-1fe5-7da2-a4a8-1822494f5f9d" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7a64-9fdd-ae41ccf73ea7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7a64-9fdd-ae41ccf73ea7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7a64-9fdd-ae41ccf73ea7" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7a64-9fdd-ae41ccf73ea7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7a64-9fdd-ae41ccf73ea7" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables1To29DaysPastDueMember_019e2294-1fe5-7bde-bbd8-8672a24b702d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivables1To29DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:to="loc_us-gaap_FinancingReceivables1To29DaysPastDueMember_019e2294-1fe5-7bde-bbd8-8672a24b702d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_019e2294-1fe5-7e2c-8343-9c57c1806be9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:to="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_019e2294-1fe5-7e2c-8343-9c57c1806be9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_019e2294-1fe5-7990-9fbd-458c40fc3235" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:to="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_019e2294-1fe5-7990-9fbd-458c40fc3235" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FinancingReceivables90To119DaysPastDueMember_019e2294-1fe5-7ad6-aba6-e44b355e98b2" xlink:href="bill-20260630.xsd#bill_FinancingReceivables90To119DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:to="loc_bill_FinancingReceivables90To119DaysPastDueMember_019e2294-1fe5-7ad6-aba6-e44b355e98b2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FinancingReceivablesEqualToGreaterThan119DaysPastDueMember_019e2294-1fe5-7a3c-95fe-4d0072dcc259" xlink:href="bill-20260630.xsd#bill_FinancingReceivablesEqualToGreaterThan119DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-71fe-9f70-2c038c63f7d3" xlink:to="loc_bill_FinancingReceivablesEqualToGreaterThan119DaysPastDueMember_019e2294-1fe5-7a3c-95fe-4d0072dcc259" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AcquiredCardReceivablesGross_019e2294-1fe5-7978-9a25-5a1e402b2a0b" xlink:href="bill-20260630.xsd#bill_AcquiredCardReceivablesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019e2294-1fe5-7661-931b-e3411ab27b86" xlink:to="loc_bill_AcquiredCardReceivablesGross_019e2294-1fe5-7978-9a25-5a1e402b2a0b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/LoansHeldForInvestmentScheduleofLoansHeldForInvestmentPastDueDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#LoansHeldForInvestmentScheduleofLoansHeldForInvestmentPastDueDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/LoansHeldForInvestmentScheduleofLoansHeldForInvestmentPastDueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019e2294-1fe5-7223-a16f-a09ce8ab805e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019e2294-1fe5-73e5-ba65-83fe549fdb8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019e2294-1fe5-7223-a16f-a09ce8ab805e" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019e2294-1fe5-73e5-ba65-83fe549fdb8c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7351-8282-bfc7a9ef8d6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019e2294-1fe5-73e5-ba65-83fe549fdb8c" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7351-8282-bfc7a9ef8d6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7351-8282-bfc7a9ef8d6e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7351-8282-bfc7a9ef8d6e" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7351-8282-bfc7a9ef8d6e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019e2294-1fe5-7351-8282-bfc7a9ef8d6e" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables1To29DaysPastDueMember_019e2294-1fe5-74a2-b81d-5a5d45c3a46e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivables1To29DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:to="loc_us-gaap_FinancingReceivables1To29DaysPastDueMember_019e2294-1fe5-74a2-b81d-5a5d45c3a46e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_019e2294-1fe5-75d6-8608-d6b4de587372" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:to="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_019e2294-1fe5-75d6-8608-d6b4de587372" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_019e2294-1fe5-7e9b-af55-ebbcd9bbbf4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:to="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_019e2294-1fe5-7e9b-af55-ebbcd9bbbf4d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FinancialAsset90To119DaysPastDueMember_019e2294-1fe5-759f-a840-b86c527172e4" xlink:href="bill-20260630.xsd#bill_FinancialAsset90To119DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:to="loc_bill_FinancialAsset90To119DaysPastDueMember_019e2294-1fe5-759f-a840-b86c527172e4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_FinancialAssetOver120DaysPastDueMember_019e2294-1fe5-7769-a65a-87819ac7f35d" xlink:href="bill-20260630.xsd#bill_FinancialAssetOver120DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019e2294-1fe5-7711-8a0a-5e6459785846" xlink:to="loc_bill_FinancialAssetOver120DaysPastDueMember_019e2294-1fe5-7769-a65a-87819ac7f35d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_019e2294-1fe5-7221-af04-d46047446a01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019e2294-1fe5-7223-a16f-a09ce8ab805e" xlink:to="loc_us-gaap_NotesReceivableGross_019e2294-1fe5-7221-af04-d46047446a01" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#PropertyandEquipmentScheduleofPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e2294-1fe5-7a39-8387-a5ffdd393694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e2294-1fe5-78d7-9b9f-3ab8be6e7802" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e2294-1fe5-7a39-8387-a5ffdd393694" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e2294-1fe5-78d7-9b9f-3ab8be6e7802" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e2294-1fe5-7b87-aedd-c1095e9cc536" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e2294-1fe5-78d7-9b9f-3ab8be6e7802" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e2294-1fe5-7b87-aedd-c1095e9cc536" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7b87-aedd-c1095e9cc536_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e2294-1fe5-7b87-aedd-c1095e9cc536" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7b87-aedd-c1095e9cc536_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7ff9-92c7-b16b92855699" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e2294-1fe5-7b87-aedd-c1095e9cc536" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7ff9-92c7-b16b92855699" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_SoftwareAndEquipmentMember_019e2294-1fe5-7c33-a8a2-2761cc24daf8" xlink:href="bill-20260630.xsd#bill_SoftwareAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7ff9-92c7-b16b92855699" xlink:to="loc_bill_SoftwareAndEquipmentMember_019e2294-1fe5-7c33-a8a2-2761cc24daf8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01a010bb-6685-75ad-bb0e-c9a7ecfbc3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7ff9-92c7-b16b92855699" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01a010bb-6685-75ad-bb0e-c9a7ecfbc3b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_019e2294-1fe5-7cf8-9306-e6635bac2024" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7ff9-92c7-b16b92855699" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_019e2294-1fe5-7cf8-9306-e6635bac2024" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_019e2294-1fe5-7261-b714-bc29b5f2f2cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e2294-1fe5-7ff9-92c7-b16b92855699" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_019e2294-1fe5-7261-b714-bc29b5f2f2cf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019e2294-1fe5-73d3-a28b-1515068582c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e2294-1fe5-7a39-8387-a5ffdd393694" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019e2294-1fe5-73d3-a28b-1515068582c8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e2294-1fe5-72a0-8a0b-f61d6fa4d44e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e2294-1fe5-7a39-8387-a5ffdd393694" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019e2294-1fe5-72a0-8a0b-f61d6fa4d44e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e2294-1fe5-71c4-9b42-0b3da4b1b7c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e2294-1fe5-7a39-8387-a5ffdd393694" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e2294-1fe5-71c4-9b42-0b3da4b1b7c4" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/PropertyandEquipmentAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#PropertyandEquipmentAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/PropertyandEquipmentAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c1-e55e-730b-a2cc-44c0c62d808d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01a010c0-dd10-7a15-94dd-69022dfebfc7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c1-e55e-730b-a2cc-44c0c62d808d" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01a010c0-dd10-7a15-94dd-69022dfebfc7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c1-9fb3-7ad5-b2e7-fae5511c12e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01a010c0-dd10-7a15-94dd-69022dfebfc7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c1-9fb3-7ad5-b2e7-fae5511c12e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c1-9fb3-7ad5-b2e7-fae5511c12e1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c1-9fb3-7ad5-b2e7-fae5511c12e1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c1-9fb3-7ad5-b2e7-fae5511c12e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c2-4046-76dc-b063-c072964dbb3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_01a010c1-9fb3-7ad5-b2e7-fae5511c12e1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c2-4046-76dc-b063-c072964dbb3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01a010c2-18c2-78bd-9f36-9d346edac6b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_01a010c2-4046-76dc-b063-c072964dbb3e" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_01a010c2-18c2-78bd-9f36-9d346edac6b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e2294-1fe5-747a-8656-11362241ab39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c1-e55e-730b-a2cc-44c0c62d808d" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e2294-1fe5-747a-8656-11362241ab39" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_01a010bf-8dc9-7b63-9067-3486ba1dbafe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_01a010c1-e55e-730b-a2cc-44c0c62d808d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_01a010bf-8dc9-7b63-9067-3486ba1dbafe" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-76a1-993c-48a7983e9879" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-726d-acc3-21827629ee2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-76a1-993c-48a7983e9879" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-726d-acc3-21827629ee2e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019e2294-1fe5-79e3-acd0-7c8a9739914e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-726d-acc3-21827629ee2e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019e2294-1fe5-79e3-acd0-7c8a9739914e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-79e3-acd0-7c8a9739914e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019e2294-1fe5-79e3-acd0-7c8a9739914e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-79e3-acd0-7c8a9739914e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-7add-9711-f005b1ce1437" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019e2294-1fe5-79e3-acd0-7c8a9739914e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-7add-9711-f005b1ce1437" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019e2294-1fe5-74dd-be3f-29136edae095" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-7add-9711-f005b1ce1437" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019e2294-1fe5-74dd-be3f-29136edae095" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_019e2294-1fe5-79c9-b773-7a3fc60bd06d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-7add-9711-f005b1ce1437" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_019e2294-1fe5-79c9-b773-7a3fc60bd06d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_019e2294-1fe5-728e-b547-f4b34ba1cad7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019e2294-1fe5-7add-9711-f005b1ce1437" xlink:to="loc_us-gaap_TradeNamesMember_019e2294-1fe5-728e-b547-f4b34ba1cad7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e2294-1fe5-7de8-b611-7156bf33bcb7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-76a1-993c-48a7983e9879" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e2294-1fe5-7de8-b611-7156bf33bcb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e2294-1fe5-7963-828c-ef3cf2cd674d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-76a1-993c-48a7983e9879" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e2294-1fe5-7963-828c-ef3cf2cd674d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e2294-1fe5-7a62-a10d-e1d5b3b574ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-76a1-993c-48a7983e9879" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e2294-1fe5-7a62-a10d-e1d5b3b574ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019e2294-1fe5-74c8-98fe-752391440b55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-76a1-993c-48a7983e9879" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019e2294-1fe5-74c8-98fe-752391440b55" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/GoodwillandIntangibleAssetsScheduleofAmortizationofFiniteLivedIntangibleAssetsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#GoodwillandIntangibleAssetsScheduleofAmortizationofFiniteLivedIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/GoodwillandIntangibleAssetsScheduleofAmortizationofFiniteLivedIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-77d3-ac0a-319081c8cc17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-7761-82f3-bdfd7f71516b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-77d3-ac0a-319081c8cc17" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-7761-82f3-bdfd7f71516b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019e2294-1fe5-7526-bd25-bb9edb0e9301" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-7761-82f3-bdfd7f71516b" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019e2294-1fe5-7526-bd25-bb9edb0e9301" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e2294-1fe5-74f6-8636-4e46ab4bf015" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-77d3-ac0a-319081c8cc17" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e2294-1fe5-74f6-8636-4e46ab4bf015" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/GoodwillandIntangibleAssetsScheduleofAmortizationofFiniteLivedIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="bill-20260630.xsd#GoodwillandIntangibleAssetsScheduleofAmortizationofFiniteLivedIntangibleAssetsDetails_1"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/GoodwillandIntangibleAssetsScheduleofAmortizationofFiniteLivedIntangibleAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-77d3-ac0a-319081c8cc17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-7761-82f3-bdfd7f71516b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-77d3-ac0a-319081c8cc17" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e2294-1fe5-7761-82f3-bdfd7f71516b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e2294-1fe5-74f6-8636-4e46ab4bf015" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e2294-1fe5-77d3-ac0a-319081c8cc17" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e2294-1fe5-74f6-8636-4e46ab4bf015" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/DebtandBorrowingsScheduleofDebtDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#DebtandBorrowingsScheduleofDebtDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/DebtandBorrowingsScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-7d92-81fe-9738d36d5add" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-71c0-a196-bc121eb1d88e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-7d92-81fe-9738d36d5add" xlink:to="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-71c0-a196-bc121eb1d88e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-700f-8743-8096e7843ad0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-71c0-a196-bc121eb1d88e" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-700f-8743-8096e7843ad0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-700f-8743-8096e7843ad0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-700f-8743-8096e7843ad0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-700f-8743-8096e7843ad0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7b01-9d90-ab337142f156" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-700f-8743-8096e7843ad0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7b01-9d90-ab337142f156" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe5-70ac-9639-a95bb7aa6a51" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7b01-9d90-ab337142f156" xlink:to="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe5-70ac-9639-a95bb7aa6a51" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-7f9b-8806-c501b4792370" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentySevenConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7b01-9d90-ab337142f156" xlink:to="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-7f9b-8806-c501b4792370" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-7ae8-97ee-7f1190227d72" xlink:href="bill-20260630.xsd#bill_TwoThousandThirtyConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7b01-9d90-ab337142f156" xlink:to="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-7ae8-97ee-7f1190227d72" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7d21-98f8-295e783360b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-71c0-a196-bc121eb1d88e" xlink:to="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7d21-98f8-295e783360b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7d21-98f8-295e783360b8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7d21-98f8-295e783360b8" xlink:to="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7d21-98f8-295e783360b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-79c7-b8eb-2376b8832f7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7d21-98f8-295e783360b8" xlink:to="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-79c7-b8eb-2376b8832f7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyOneRevolvingCreditAgreementMember_019e2294-1fe5-78ed-b1fb-33bd095891a6" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyOneRevolvingCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-79c7-b8eb-2376b8832f7f" xlink:to="loc_bill_TwoThousandTwentyOneRevolvingCreditAgreementMember_019e2294-1fe5-78ed-b1fb-33bd095891a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveRevolvingCreditAgreementMember_019e5094-6c46-7db8-8f98-d4c67a61a1fa" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveRevolvingCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-79c7-b8eb-2376b8832f7f" xlink:to="loc_bill_TwoThousandTwentyFiveRevolvingCreditAgreementMember_019e5094-6c46-7db8-8f98-d4c67a61a1fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7db0-be42-f61e21aa74b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-71c0-a196-bc121eb1d88e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7db0-be42-f61e21aa74b5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7db0-be42-f61e21aa74b5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7db0-be42-f61e21aa74b5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7db0-be42-f61e21aa74b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-73be-aac0-8d73315dc73a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7db0-be42-f61e21aa74b5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-73be-aac0-8d73315dc73a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019e2294-1fe5-78a6-8e99-df32476d6a18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-73be-aac0-8d73315dc73a" xlink:to="loc_us-gaap_LineOfCreditMember_019e2294-1fe5-78a6-8e99-df32476d6a18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_019e2294-1fe5-7c61-b3a3-11e2ab261898" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-7d92-81fe-9738d36d5add" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_019e2294-1fe5-7c61-b3a3-11e2ab261898" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract_019e2294-1fe5-705d-b1cc-c87a0dc4b9ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019e2294-1fe5-7c61-b3a3-11e2ab261898" xlink:to="loc_us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract_019e2294-1fe5-705d-b1cc-c87a0dc4b9ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019e2294-1fe5-7650-ad29-68c297f660ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract_019e2294-1fe5-705d-b1cc-c87a0dc4b9ea" xlink:to="loc_us-gaap_LongTermDebtCurrent_019e2294-1fe5-7650-ad29-68c297f660ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsCurrentNet_019e2294-1fe5-7067-a79f-a690710896bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsCurrentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract_019e2294-1fe5-705d-b1cc-c87a0dc4b9ea" xlink:to="loc_us-gaap_DeferredFinanceCostsCurrentNet_019e2294-1fe5-7067-a79f-a690710896bd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtCurrent_019e2294-1fe5-7766-8dc5-ef4ed1bc6f7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract_019e2294-1fe5-705d-b1cc-c87a0dc4b9ea" xlink:to="loc_us-gaap_ConvertibleDebtCurrent_019e2294-1fe5-7766-8dc5-ef4ed1bc6f7b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-7d92-81fe-9738d36d5add" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAbstract_019e2294-1fe5-7061-8c1a-3b836e8d8aac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:to="loc_us-gaap_LineOfCreditFacilityAbstract_019e2294-1fe5-7061-8c1a-3b836e8d8aac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019e2294-1fe5-7ceb-aab8-dab4b2e6ddf8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityAbstract_019e2294-1fe5-7061-8c1a-3b836e8d8aac" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019e2294-1fe5-7ceb-aab8-dab4b2e6ddf8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNoncurrentNet_019e2294-1fe5-7cfb-928d-54219186e130" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNoncurrentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityAbstract_019e2294-1fe5-7061-8c1a-3b836e8d8aac" xlink:to="loc_us-gaap_DeferredFinanceCostsNoncurrentNet_019e2294-1fe5-7cfb-928d-54219186e130" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_019e2294-1fe5-7bf8-adb3-2886523e4bc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityAbstract_019e2294-1fe5-7061-8c1a-3b836e8d8aac" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_019e2294-1fe5-7bf8-adb3-2886523e4bc0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e2294-1fe5-77e3-8480-973a1f664a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:to="loc_us-gaap_LongTermDebt_019e2294-1fe5-77e3-8480-973a1f664a9d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentWeightedAverageRemainingTerm_019e2294-1fe5-7a77-8f7b-38aefc0d86fa" xlink:href="bill-20260630.xsd#bill_DebtInstrumentWeightedAverageRemainingTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:to="loc_bill_DebtInstrumentWeightedAverageRemainingTerm_019e2294-1fe5-7a77-8f7b-38aefc0d86fa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019e2294-1fe5-70ae-af62-e05e9cc1f2f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019e2294-1fe5-70ae-af62-e05e9cc1f2f0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_019e2294-1fe5-78c2-a62c-5b35792b06d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_019e2294-1fe5-7183-8044-eedc39a63867" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_019e2294-1fe5-78c2-a62c-5b35792b06d0" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/DebtandBorrowingsConvertibleseniornotesAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#DebtandBorrowingsConvertibleseniornotesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/DebtandBorrowingsConvertibleseniornotesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7113-b0bc-5bfa2bc40dca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7113-b0bc-5bfa2bc40dca" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7bf8-b8e5-ecc2006f9b79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7113-b0bc-5bfa2bc40dca" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7bf8-b8e5-ecc2006f9b79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7bf8-b8e5-ecc2006f9b79_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7bf8-b8e5-ecc2006f9b79" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7bf8-b8e5-ecc2006f9b79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-77d0-9919-ef633803e19f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7bf8-b8e5-ecc2006f9b79" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-77d0-9919-ef633803e19f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-72bc-a6b5-26ce84d78c71" xlink:href="bill-20260630.xsd#bill_TwoThousandThirtyConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-77d0-9919-ef633803e19f" xlink:to="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-72bc-a6b5-26ce84d78c71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-793b-b1c4-6add8c8ef3a3" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentySevenConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-77d0-9919-ef633803e19f" xlink:to="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-793b-b1c4-6add8c8ef3a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe5-7fcc-ac50-c9944bcf80d5" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-77d0-9919-ef633803e19f" xlink:to="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-1fe5-7fcc-ac50-c9944bcf80d5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019e2294-1fe5-7442-9537-db5e167a5a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019e2294-1fe5-7442-9537-db5e167a5a0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e2294-1fe5-7097-ad50-7c7f9418b9a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e2294-1fe5-7097-ad50-7c7f9418b9a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_019e2294-1fe5-76d4-9098-a96f4bd96203" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_019e2294-1fe5-76d4-9098-a96f4bd96203" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e2294-1fe5-7604-9129-36a68cf672ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e2294-1fe5-7604-9129-36a68cf672ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_019e2294-1fe5-7ef9-a57f-32a2426e50ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_019e2294-1fe5-7ef9-a57f-32a2426e50ff" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_019e2294-1fe5-7b5d-b475-c35d6d8101a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_019e2294-1fe5-7b5d-b475-c35d6d8101a3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentConversionIssuableNumberOfShareUponConversion_019e2294-1fe5-7513-a723-acdb1c4b1465" xlink:href="bill-20260630.xsd#bill_DebtInstrumentConversionIssuableNumberOfShareUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtInstrumentConversionIssuableNumberOfShareUponConversion_019e2294-1fe5-7513-a723-acdb1c4b1465" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodStartDate_019e2294-1fe5-73b5-95ca-42839c5cfeb0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPeriodStartDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodStartDate_019e2294-1fe5-73b5-95ca-42839c5cfeb0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019e2294-1fe5-7e22-9643-03cf76674908" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019e2294-1fe5-7e22-9643-03cf76674908" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019e2294-1fe5-74bc-b6af-17872b8a740e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019e2294-1fe5-74bc-b6af-17872b8a740e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019e2294-1fe5-7fcb-a159-3ee18a12bb44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019e2294-1fe5-7fcb-a159-3ee18a12bb44" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_019e2294-1fe5-7872-ac81-241522b390db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_019e2294-1fe5-7872-ac81-241522b390db" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentSinkingFundPayment_019e2294-1fe5-791b-bbbb-f899c28e61d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentSinkingFundPayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentSinkingFundPayment_019e2294-1fe5-791b-bbbb-f899c28e61d4" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleEarliestDate1_019e2294-1fe5-721b-acbc-09a9711440b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleEarliestDate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentConvertibleEarliestDate1_019e2294-1fe5-721b-acbc-09a9711440b9" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentPrincipalAmountDenominationForConversionIntoCommonStock_019e2294-1fe5-793e-bb21-da82c8d74516" xlink:href="bill-20260630.xsd#bill_DebtInstrumentPrincipalAmountDenominationForConversionIntoCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtInstrumentPrincipalAmountDenominationForConversionIntoCommonStock_019e2294-1fe5-793e-bb21-da82c8d74516" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentConvertibleThresholdBusinessDayPeriod_019e2294-1fe5-79ee-ba4a-d6a40f6175b9" xlink:href="bill-20260630.xsd#bill_DebtInstrumentConvertibleThresholdBusinessDayPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtInstrumentConvertibleThresholdBusinessDayPeriod_019e2294-1fe5-79ee-ba4a-d6a40f6175b9" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentConvertibleThresholdConsecutiveTradingDayPeriod_019e2294-1fe5-75b6-97bc-64021e572a10" xlink:href="bill-20260630.xsd#bill_DebtInstrumentConvertibleThresholdConsecutiveTradingDayPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtInstrumentConvertibleThresholdConsecutiveTradingDayPeriod_019e2294-1fe5-75b6-97bc-64021e572a10" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_ThresholdPercentageOfStockPriceTriggerInMeasurementPeriod_019e2294-1fe5-7af0-ad13-b89b86a33166" xlink:href="bill-20260630.xsd#bill_ThresholdPercentageOfStockPriceTriggerInMeasurementPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_ThresholdPercentageOfStockPriceTriggerInMeasurementPeriod_019e2294-1fe5-7af0-ad13-b89b86a33166" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentConvertibleConversionRatioInMakeWholeFundamentalChange_019e2294-1fe5-7ef0-8192-6230f8056f73" xlink:href="bill-20260630.xsd#bill_DebtInstrumentConvertibleConversionRatioInMakeWholeFundamentalChange"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtInstrumentConvertibleConversionRatioInMakeWholeFundamentalChange_019e2294-1fe5-7ef0-8192-6230f8056f73" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentConvertibleConversionPriceInMakeWholeFundamentalChange_019e2294-1fe5-72e3-9ae1-3661e406ee73" xlink:href="bill-20260630.xsd#bill_DebtInstrumentConvertibleConversionPriceInMakeWholeFundamentalChange"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtInstrumentConvertibleConversionPriceInMakeWholeFundamentalChange_019e2294-1fe5-72e3-9ae1-3661e406ee73" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtDefaultThresholdPrincipalAmountPercentage_019e2294-1fe5-754e-bcd5-e27cdd7ecd3d" xlink:href="bill-20260630.xsd#bill_DebtDefaultThresholdPrincipalAmountPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_DebtDefaultThresholdPrincipalAmountPercentage_019e2294-1fe5-754e-bcd5-e27cdd7ecd3d" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_019e2294-1fe5-7514-b8d1-2f92c91c79c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRepurchasedFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_019e2294-1fe5-7514-b8d1-2f92c91c79c5" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_019e2294-1fe5-7a03-998c-c63074a30816" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_019e2294-1fe5-7a03-998c-c63074a30816" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchaseAmount_019e2294-1fe5-78bb-bce2-598aba2c46d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRepurchaseAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentRepurchaseAmount_019e2294-1fe5-78bb-bce2-598aba2c46d7" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_019e2294-1fe5-7816-8004-d4fea9ccab34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_019e2294-1fe5-7816-8004-d4fea9ccab34" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_GainLossOnExtinguishmentOfDebtAndDerivativesNet_019e2294-1fe5-718d-84c2-4fd4f1a5ccfd" xlink:href="bill-20260630.xsd#bill_GainLossOnExtinguishmentOfDebtAndDerivativesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_bill_GainLossOnExtinguishmentOfDebtAndDerivativesNet_019e2294-1fe5-718d-84c2-4fd4f1a5ccfd" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019e2294-1fe5-7e16-900d-55923ef87f3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e2294-1fe5-7e16-900d-55923ef87f3c" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2294-1fe5-77d1-a5c1-9d611c001c3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2294-1fe5-77d1-a5c1-9d611c001c3a" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLossOnDerivative_019e2294-1fe5-7acf-8554-0993103773a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLossOnDerivative"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DerivativeLossOnDerivative_019e2294-1fe5-7acf-8554-0993103773a8" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019e2294-1fe5-70a3-ac4c-2ad2923dc32f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_DerivativeLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019e2294-1fe5-70a3-ac4c-2ad2923dc32f" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSeniorDebt_019e50a1-fcc6-7946-82d0-6ad3b06bcf82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSeniorDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-72b8-b140-48d3827d1d8e" xlink:to="loc_us-gaap_RepaymentsOfSeniorDebt_019e50a1-fcc6-7946-82d0-6ad3b06bcf82" xlink:type="arc" order="30"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/DebtandBorrowingsCappedCallTransactionsAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#DebtandBorrowingsCappedCallTransactionsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/DebtandBorrowingsCappedCallTransactionsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7dd8-b1fb-6ecea8b8acff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7dd8-b1fb-6ecea8b8acff" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7fe0-a72a-cfd942409400" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7dd8-b1fb-6ecea8b8acff" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7fe0-a72a-cfd942409400" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7fe0-a72a-cfd942409400_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7fe0-a72a-cfd942409400" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7fe0-a72a-cfd942409400_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7692-b107-ec91ed14e234" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-7fe0-a72a-cfd942409400" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7692-b107-ec91ed14e234" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-77a7-b881-cb8a42b68bcd" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentySevenConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7692-b107-ec91ed14e234" xlink:to="loc_bill_TwoThousandTwentySevenConvertibleSeniorNotesMember_019e2294-1fe5-77a7-b881-cb8a42b68bcd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-7642-b61c-15f45db0bc9b" xlink:href="bill-20260630.xsd#bill_TwoThousandThirtyConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-7692-b107-ec91ed14e234" xlink:to="loc_bill_TwoThousandThirtyConvertibleSeniorNotesMember_019e2294-1fe5-7642-b61c-15f45db0bc9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_PaymentsForConvertibleSeniorNotesCappedCall_019e2294-1fe5-7cd6-905a-320b81b0ac7e" xlink:href="bill-20260630.xsd#bill_PaymentsForConvertibleSeniorNotesCappedCall"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_bill_PaymentsForConvertibleSeniorNotesCappedCall_019e2294-1fe5-7cd6-905a-320b81b0ac7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_CappedCallInitialStrikePrice_019e2294-1fe5-7662-af0c-4c766667e295" xlink:href="bill-20260630.xsd#bill_CappedCallInitialStrikePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_bill_CappedCallInitialStrikePrice_019e2294-1fe5-7662-af0c-4c766667e295" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_CappedCallInitialCapPrice_019e2294-1fe5-713a-8d15-97410c4ea8d8" xlink:href="bill-20260630.xsd#bill_CappedCallInitialCapPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_bill_CappedCallInitialCapPrice_019e2294-1fe5-713a-8d15-97410c4ea8d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_CapCallsCoverSubjectToAntiDilutionAdjustmentsToCommonStock_019e2294-1fe5-72ff-ace5-535a54fe02e3" xlink:href="bill-20260630.xsd#bill_CapCallsCoverSubjectToAntiDilutionAdjustmentsToCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_bill_CapCallsCoverSubjectToAntiDilutionAdjustmentsToCommonStock_019e2294-1fe5-72ff-ace5-535a54fe02e3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDerivativeInstrumentFinancingActivities_019e2294-1fe5-7660-84d4-32fe03c3e668" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromDerivativeInstrumentFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_us-gaap_ProceedsFromDerivativeInstrumentFinancingActivities_019e2294-1fe5-7660-84d4-32fe03c3e668" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainOnDerivative_019e2294-1fe5-7146-ac63-302a52148956" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_us-gaap_DerivativeGainOnDerivative_019e2294-1fe5-7146-ac63-302a52148956" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019e2294-1fe5-7f8b-86d6-c3616fc0db49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-701a-87cf-76e525fe27bb" xlink:to="loc_us-gaap_DerivativeGainStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019e2294-1fe5-7f8b-86d6-c3616fc0db49" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/DebtandBorrowingsRevolvingCreditFacilityAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#DebtandBorrowingsRevolvingCreditFacilityAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/DebtandBorrowingsRevolvingCreditFacilityAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7819-b2c5-6fdd76710a12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7819-b2c5-6fdd76710a12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7a7c-ab2e-0ff05c4b0f24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7819-b2c5-6fdd76710a12" xlink:to="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7a7c-ab2e-0ff05c4b0f24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7a7c-ab2e-0ff05c4b0f24_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7a7c-ab2e-0ff05c4b0f24" xlink:to="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7a7c-ab2e-0ff05c4b0f24_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7d3b-a0db-4c86e1ac38ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019e2294-1fe5-7a7c-ab2e-0ff05c4b0f24" xlink:to="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7d3b-a0db-4c86e1ac38ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyOneRevolvingCreditAgreementMember_019e2294-1fe5-78ac-b403-5a383f0b7d6a" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyOneRevolvingCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e2294-1fe5-7d3b-a0db-4c86e1ac38ec" xlink:to="loc_bill_TwoThousandTwentyOneRevolvingCreditAgreementMember_019e2294-1fe5-78ac-b403-5a383f0b7d6a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-74cf-90f4-487b18f5fe41" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7819-b2c5-6fdd76710a12" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-74cf-90f4-487b18f5fe41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-74cf-90f4-487b18f5fe41_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-74cf-90f4-487b18f5fe41" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-74cf-90f4-487b18f5fe41_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-78b4-9fdb-e6973886f263" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-1fe5-74cf-90f4-487b18f5fe41" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-78b4-9fdb-e6973886f263" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveRevolvingCreditAgreementMember_019e2294-1fe5-7a95-b1ad-b68db26a4ddc" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveRevolvingCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-1fe5-78b4-9fdb-e6973886f263" xlink:to="loc_bill_TwoThousandTwentyFiveRevolvingCreditAgreementMember_019e2294-1fe5-7a95-b1ad-b68db26a4ddc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7390-b22f-4e6f5c390f58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e2294-1fe5-7819-b2c5-6fdd76710a12" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7390-b22f-4e6f5c390f58" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7390-b22f-4e6f5c390f58_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7390-b22f-4e6f5c390f58" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7390-b22f-4e6f5c390f58_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7393-b21d-ccc872d6eb80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e2294-1fe5-7390-b22f-4e6f5c390f58" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7393-b21d-ccc872d6eb80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019e2294-1fe5-766c-ac97-fc4fb2b94558" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019e2294-1fe5-7393-b21d-ccc872d6eb80" xlink:to="loc_us-gaap_LineOfCreditMember_019e2294-1fe5-766c-ac97-fc4fb2b94558" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019e2294-1fe5-771b-bf4e-f71a45985971" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019e2294-1fe5-771b-bf4e-f71a45985971" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentFloorRate_019e2294-1fe5-7c1d-9d51-963ecc423555" xlink:href="bill-20260630.xsd#bill_DebtInstrumentFloorRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_bill_DebtInstrumentFloorRate_019e2294-1fe5-7c1d-9d51-963ecc423555" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019e2294-1fe5-721b-95d8-542a2c652f60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019e2294-1fe5-721b-95d8-542a2c652f60" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_LineOfCreditFacilityMinimumUtilization_019e2294-1fe5-70cf-907f-2a9cee39c3b7" xlink:href="bill-20260630.xsd#bill_LineOfCreditFacilityMinimumUtilization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_bill_LineOfCreditFacilityMinimumUtilization_019e2294-1fe5-70cf-907f-2a9cee39c3b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_LineOfCreditFacilityMinimumUtilizationPercentage_019e2294-1fe5-7621-843e-0e09dcdcc34b" xlink:href="bill-20260630.xsd#bill_LineOfCreditFacilityMinimumUtilizationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_bill_LineOfCreditFacilityMinimumUtilizationPercentage_019e2294-1fe5-7621-843e-0e09dcdcc34b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019e2294-1fe5-71e7-b587-fb37f74ef029" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_us-gaap_LineOfCredit_019e2294-1fe5-71e7-b587-fb37f74ef029" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_DebtInstrumentInitialStartAfterContractExecutionPeriod_019e2294-1fe5-7534-88e6-0e24f205ba24" xlink:href="bill-20260630.xsd#bill_DebtInstrumentInitialStartAfterContractExecutionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e2294-1fe5-78ad-b22b-5b055cdbf2aa" xlink:to="loc_bill_DebtInstrumentInitialStartAfterContractExecutionPeriod_019e2294-1fe5-7534-88e6-0e24f205ba24" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityEquityIncentivePlansDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityEquityIncentivePlansDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityEquityIncentivePlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-77af-9855-4f682b99eb5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-782d-87b9-2458a2f509ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-77af-9855-4f682b99eb5f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-782d-87b9-2458a2f509ca" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019e2294-1fe5-7ee0-8046-bf461a7822aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-782d-87b9-2458a2f509ca" xlink:to="loc_us-gaap_PlanNameAxis_019e2294-1fe5-7ee0-8046-bf461a7822aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019e2294-1fe5-7ee0-8046-bf461a7822aa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019e2294-1fe5-7ee0-8046-bf461a7822aa" xlink:to="loc_us-gaap_PlanNameDomain_019e2294-1fe5-7ee0-8046-bf461a7822aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019e2294-1fe5-779c-a2f8-341495eafab3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019e2294-1fe5-7ee0-8046-bf461a7822aa" xlink:to="loc_us-gaap_PlanNameDomain_019e2294-1fe5-779c-a2f8-341495eafab3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandAndNineteenEquityIncentivePlanMember_019e2294-1fe5-712c-989f-737eec599653" xlink:href="bill-20260630.xsd#bill_TwoThousandAndNineteenEquityIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e2294-1fe5-779c-a2f8-341495eafab3" xlink:to="loc_bill_TwoThousandAndNineteenEquityIncentivePlanMember_019e2294-1fe5-712c-989f-737eec599653" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_EquityIncentivePlansMember_019e2294-1fe5-7d89-8a40-529946e1a488" xlink:href="bill-20260630.xsd#bill_EquityIncentivePlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e2294-1fe5-779c-a2f8-341495eafab3" xlink:to="loc_bill_EquityIncentivePlansMember_019e2294-1fe5-7d89-8a40-529946e1a488" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019e2294-1fe5-743e-9660-e2b8bdf9778f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-77af-9855-4f682b99eb5f" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019e2294-1fe5-743e-9660-e2b8bdf9778f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum_019e2294-1fe5-7560-9d68-ebfb66ad07d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-77af-9855-4f682b99eb5f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum_019e2294-1fe5-7560-9d68-ebfb66ad07d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019e2294-1fe5-74fc-b4db-eedc691220b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-77af-9855-4f682b99eb5f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019e2294-1fe5-74fc-b4db-eedc691220b0" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityScheduleofRSUActivityDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityScheduleofRSUActivityDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityScheduleofRSUActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7be0-8498-4a83ae2e1a42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-727d-96d3-6906375df045" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7be0-8498-4a83ae2e1a42" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-727d-96d3-6906375df045" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-71f7-bdc4-75b1a76feea7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-727d-96d3-6906375df045" xlink:to="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-71f7-bdc4-75b1a76feea7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-71f7-bdc4-75b1a76feea7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-71f7-bdc4-75b1a76feea7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-71f7-bdc4-75b1a76feea7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7d8d-98ff-f8a21ff4fdb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-71f7-bdc4-75b1a76feea7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7d8d-98ff-f8a21ff4fdb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe5-718f-ad72-86874257c41f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7d8d-98ff-f8a21ff4fdb4" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe5-718f-ad72-86874257c41f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e2294-1fe5-7bd3-8279-9629a13ceb3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7be0-8498-4a83ae2e1a42" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e2294-1fe5-7bd3-8279-9629a13ceb3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019e2294-1fe5-7702-a7df-8f0a7f449bb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e2294-1fe5-7bd3-8279-9629a13ceb3c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019e2294-1fe5-7702-a7df-8f0a7f449bb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019e2294-1fe5-72f4-9c68-e7e236edaa8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e2294-1fe5-7bd3-8279-9629a13ceb3c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019e2294-1fe5-72f4-9c68-e7e236edaa8f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019e2294-1fe5-7e80-b2ff-4f359f42b05d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e2294-1fe5-7bd3-8279-9629a13ceb3c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019e2294-1fe5-7e80-b2ff-4f359f42b05d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019e2294-1fe5-7a82-a653-69928f209f47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e2294-1fe5-7bd3-8279-9629a13ceb3c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019e2294-1fe5-7a82-a653-69928f209f47" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019e2294-1fe5-7333-b846-401aa0197dc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e2294-1fe5-7172-80c3-a1ed527b913a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7be0-8498-4a83ae2e1a42" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e2294-1fe5-7172-80c3-a1ed527b913a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019e2294-1fe5-7964-ac31-650f8f20fb5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e2294-1fe5-7172-80c3-a1ed527b913a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019e2294-1fe5-7964-ac31-650f8f20fb5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-7b18-b59a-d0f357dc4c3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e2294-1fe5-7172-80c3-a1ed527b913a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-7b18-b59a-d0f357dc4c3e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-7ef1-be55-860891136c4f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e2294-1fe5-7172-80c3-a1ed527b913a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-7ef1-be55-860891136c4f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019e2294-1fe5-72f7-94de-096b253eb0fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e2294-1fe5-7172-80c3-a1ed527b913a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019e2294-1fe5-72f7-94de-096b253eb0fd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019e2294-1fe5-7236-8fc9-a7fd7cc197de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityRestrictedStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityRestrictedStockUnitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-72a6-a7d5-b1fae5a61ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7e44-9b59-73e605816bf8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-72a6-a7d5-b1fae5a61ee2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7e44-9b59-73e605816bf8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-1fe5-7ea1-9715-9dfc5a76501f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7e44-9b59-73e605816bf8" xlink:to="loc_srt_RangeAxis_019e2294-1fe5-7ea1-9715-9dfc5a76501f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe5-7ea1-9715-9dfc5a76501f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-1fe5-7ea1-9715-9dfc5a76501f" xlink:to="loc_srt_RangeMember_019e2294-1fe5-7ea1-9715-9dfc5a76501f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-1fe5-7a87-b8ca-bf765aa58e2c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-1fe5-7ea1-9715-9dfc5a76501f" xlink:to="loc_srt_RangeMember_019e2294-1fe5-7a87-b8ca-bf765aa58e2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e2294-1fe5-7d14-b3a9-ad8e726bf398" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe5-7a87-b8ca-bf765aa58e2c" xlink:to="loc_srt_MinimumMember_019e2294-1fe5-7d14-b3a9-ad8e726bf398" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e2294-1fe5-72ea-ae8d-ee988ec1dcce" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-1fe5-7a87-b8ca-bf765aa58e2c" xlink:to="loc_srt_MaximumMember_019e2294-1fe5-72ea-ae8d-ee988ec1dcce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-752a-9626-f4e6e139a9f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7e44-9b59-73e605816bf8" xlink:to="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-752a-9626-f4e6e139a9f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-752a-9626-f4e6e139a9f3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-752a-9626-f4e6e139a9f3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-752a-9626-f4e6e139a9f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-79a1-a7e6-d6eaa9bf50ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-752a-9626-f4e6e139a9f3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-79a1-a7e6-d6eaa9bf50ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe5-74a0-91da-ecffbc5f604f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-79a1-a7e6-d6eaa9bf50ec" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe5-74a0-91da-ecffbc5f604f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-7a3b-a5a7-4147e4a42736" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-72a6-a7d5-b1fae5a61ee2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-7a3b-a5a7-4147e4a42736" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019e2294-1fe5-7c5b-96fc-935d48954936" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-72a6-a7d5-b1fae5a61ee2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019e2294-1fe5-7c5b-96fc-935d48954936" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_019e2294-1fe5-70ed-aa48-cd9f01fe0252" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-72a6-a7d5-b1fae5a61ee2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_019e2294-1fe5-70ed-aa48-cd9f01fe0252" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityPerformancebasedRSUsDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityPerformancebasedRSUsDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityPerformancebasedRSUsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-76fa-b51b-14f7ea285620" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-78a3-aa7b-bcabaa9c6274" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-76fa-b51b-14f7ea285620" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-78a3-aa7b-bcabaa9c6274" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7808-8223-b76c5fd7ae0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-78a3-aa7b-bcabaa9c6274" xlink:to="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7808-8223-b76c5fd7ae0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7808-8223-b76c5fd7ae0c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7808-8223-b76c5fd7ae0c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7808-8223-b76c5fd7ae0c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75b9-afa9-e439a0161ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7808-8223-b76c5fd7ae0c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75b9-afa9-e439a0161ac2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e2294-1fe5-7070-9bf5-43a8031e4fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75b9-afa9-e439a0161ac2" xlink:to="loc_us-gaap_PerformanceSharesMember_019e2294-1fe5-7070-9bf5-43a8031e4fbf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019e2294-1fe5-73f4-96f0-d4c0f92977be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-76fa-b51b-14f7ea285620" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019e2294-1fe5-73f4-96f0-d4c0f92977be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_019e2294-1fe5-7a30-8a1a-0b81d2cabe93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-76fa-b51b-14f7ea285620" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_019e2294-1fe5-7a30-8a1a-0b81d2cabe93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-79d5-90bb-b83e6f3600bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-76fa-b51b-14f7ea285620" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e2294-1fe5-79d5-90bb-b83e6f3600bc" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityStockBasedCompensationCostDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityStockBasedCompensationCostDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityStockBasedCompensationCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7539-b346-9a01837ae07f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7139-aa6a-b052f2d1adc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7539-b346-9a01837ae07f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7139-aa6a-b052f2d1adc8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7b8b-8c69-e9b7787afb2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7139-aa6a-b052f2d1adc8" xlink:to="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7b8b-8c69-e9b7787afb2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7b8b-8c69-e9b7787afb2c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7b8b-8c69-e9b7787afb2c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-7b8b-8c69-e9b7787afb2c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e2294-1fe5-7b8b-8c69-e9b7787afb2c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe5-768d-a45d-c20d1b0fc644" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e2294-1fe5-768d-a45d-c20d1b0fc644" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e2294-1fe5-790a-ba16-7b31779d6d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e2294-1fe5-790a-ba16-7b31779d6d6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e2294-1fe5-7158-ae00-5e0711396639" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:to="loc_us-gaap_PerformanceSharesMember_019e2294-1fe5-7158-ae00-5e0711396639" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockCompensationPlanMember_019e2294-1fe5-767d-91e8-f434dc226f21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockCompensationPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:to="loc_us-gaap_StockCompensationPlanMember_019e2294-1fe5-767d-91e8-f434dc226f21" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_MarketBasedRestrictedStockUnitsMember_019e2294-1fe5-7f7b-b58a-58c042761ba3" xlink:href="bill-20260630.xsd#bill_MarketBasedRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e2294-1fe5-75f8-8882-a4284da5eec6" xlink:to="loc_bill_MarketBasedRestrictedStockUnitsMember_019e2294-1fe5-7f7b-b58a-58c042761ba3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_019e2294-1fe5-73ad-9837-95ed47f0daea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7539-b346-9a01837ae07f" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_019e2294-1fe5-73ad-9837-95ed47f0daea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019e2294-1fe5-7a03-b125-a5fc96402083" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7539-b346-9a01837ae07f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019e2294-1fe5-7a03-b125-a5fc96402083" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019e2294-1fe5-708a-828a-cf28ece44d9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7539-b346-9a01837ae07f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019e2294-1fe5-708a-828a-cf28ece44d9f" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityScheduleofStockBasedCompensationCostfromStockOptionsRSUsandESPPDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityScheduleofStockBasedCompensationCostfromStockOptionsRSUsandESPPDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityScheduleofStockBasedCompensationCostfromStockOptionsRSUsandESPPDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:to="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-7e4c-bc92-53fac3a764dc_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-7e4c-bc92-53fac3a764dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-75ed-abc2-6f30260b6a41" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-75ed-abc2-6f30260b6a41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe5-753e-ab16-30025889c605" xlink:href="bill-20260630.xsd#bill_SubscriptionAndTransactionFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-75ed-abc2-6f30260b6a41" xlink:to="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe5-753e-ab16-30025889c605" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019e2294-1fe5-7364-be80-eeffeb21c4b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019e2294-1fe5-7364-be80-eeffeb21c4b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019e2294-1fe5-7306-992f-a30b58b86e25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019e2294-1fe5-7306-992f-a30b58b86e25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_019e2294-1fe5-7fe4-8c7e-958aa14a9d22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_019e2294-1fe5-7fe4-8c7e-958aa14a9d22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_019e2294-1fe5-74a2-83d3-93f2bb72eda5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_019e2294-1fe5-74a2-83d3-93f2bb72eda5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityScheduleofStockBasedCompensationCostfromStockOptionsRSUsandESPPDetails_1" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityScheduleofStockBasedCompensationCostfromStockOptionsRSUsandESPPDetails_1"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityScheduleofStockBasedCompensationCostfromStockOptionsRSUsandESPPDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019e2294-1fe5-73c7-9d65-636207afcc02" xlink:to="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-7e4c-bc92-53fac3a764dc_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-7e4c-bc92-53fac3a764dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-75ed-abc2-6f30260b6a41" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e2294-1fe5-7e4c-bc92-53fac3a764dc" xlink:to="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-75ed-abc2-6f30260b6a41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe5-753e-ab16-30025889c605" xlink:href="bill-20260630.xsd#bill_SubscriptionAndTransactionFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e2294-1fe5-75ed-abc2-6f30260b6a41" xlink:to="loc_bill_SubscriptionAndTransactionFeesMember_019e2294-1fe5-753e-ab16-30025889c605" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019e2294-1fe5-7306-992f-a30b58b86e25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019e2294-1fe5-7306-992f-a30b58b86e25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_019e2294-1fe5-7fe4-8c7e-958aa14a9d22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_019e2294-1fe5-7fe4-8c7e-958aa14a9d22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_019e2294-1fe5-74a2-83d3-93f2bb72eda5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019e2294-1fe5-74f7-9e6d-961e4ab3339a" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_019e2294-1fe5-74a2-83d3-93f2bb72eda5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityShareRepurchaseProgramDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityShareRepurchaseProgramDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityShareRepurchaseProgramDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramLineItems_019e503e-be10-78fc-84be-6f9128dfddb8" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramTable_019e503e-be10-734f-82e3-3b3d43bfbce5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_019e503e-be10-78fc-84be-6f9128dfddb8" xlink:to="loc_srt_ShareRepurchaseProgramTable_019e503e-be10-734f-82e3-3b3d43bfbce5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_019e503e-be10-74d1-bbd8-ac490d34982f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ShareRepurchaseProgramTable_019e503e-be10-734f-82e3-3b3d43bfbce5" xlink:to="loc_srt_ShareRepurchaseProgramAxis_019e503e-be10-74d1-bbd8-ac490d34982f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-74d1-bbd8-ac490d34982f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019e503e-be10-74d1-bbd8-ac490d34982f" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-74d1-bbd8-ac490d34982f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019e503e-be10-74d1-bbd8-ac490d34982f" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_January2023ShareRepurchaseProgramMember_019fa7fe-d96d-74db-8f0c-17969917cee4" xlink:href="bill-20260630.xsd#bill_January2023ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:to="loc_bill_January2023ShareRepurchaseProgramMember_019fa7fe-d96d-74db-8f0c-17969917cee4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_August2024ShareRepurchaseProgramMember_019e503e-be10-729b-ad9f-2b2369de2869" xlink:href="bill-20260630.xsd#bill_August2024ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:to="loc_bill_August2024ShareRepurchaseProgramMember_019e503e-be10-729b-ad9f-2b2369de2869" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_August2025ShareRepurchaseProgramMember_019e503e-be10-703c-a2a0-22ecc367b8d0" xlink:href="bill-20260630.xsd#bill_August2025ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:to="loc_bill_August2025ShareRepurchaseProgramMember_019e503e-be10-703c-a2a0-22ecc367b8d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_A2026ShareRepurchaseAuthorizationMember_019fadda-35e6-791a-bb4c-9e299b844b2b" xlink:href="bill-20260630.xsd#bill_A2026ShareRepurchaseAuthorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:to="loc_bill_A2026ShareRepurchaseAuthorizationMember_019fadda-35e6-791a-bb4c-9e299b844b2b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_December2024ShareRepurchaseProgramMember_019e503f-3876-70fa-9c9c-a743a574410f" xlink:href="bill-20260630.xsd#bill_December2024ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e503e-be10-737a-908e-b2be1aeb9787" xlink:to="loc_bill_December2024ShareRepurchaseProgramMember_019e503f-3876-70fa-9c9c-a743a574410f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019e503e-be10-7e7f-bc36-770fbe310293" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_019e503e-be10-78fc-84be-6f9128dfddb8" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019e503e-be10-7e7f-bc36-770fbe310293" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramPeriodInForce1_019e509a-a5de-7c34-bf46-9f7298e9cb41" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchaseProgramPeriodInForce1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_019e503e-be10-78fc-84be-6f9128dfddb8" xlink:to="loc_us-gaap_StockRepurchaseProgramPeriodInForce1_019e509a-a5de-7c34-bf46-9f7298e9cb41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_019e503f-3876-7400-a30a-86e1e84f2715" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_019e503e-be10-78fc-84be-6f9128dfddb8" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_019e503f-3876-7400-a30a-86e1e84f2715" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019e503f-3876-77b2-b801-47f5ab2cbec2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_019e503e-be10-78fc-84be-6f9128dfddb8" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019e503f-3876-77b2-b801-47f5ab2cbec2" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/StockholdersEquityScheduleofShareRepurchaseProgramDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#StockholdersEquityScheduleofShareRepurchaseProgramDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/StockholdersEquityScheduleofShareRepurchaseProgramDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7e71-9e10-6fe55e21b236" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7725-acdc-50793dac3887" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7e71-9e10-6fe55e21b236" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7725-acdc-50793dac3887" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_019e2294-1fe5-707f-987e-aa6615aa2831" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019e2294-1fe5-7725-acdc-50793dac3887" xlink:to="loc_srt_ShareRepurchaseProgramAxis_019e2294-1fe5-707f-987e-aa6615aa2831" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-707f-987e-aa6615aa2831_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019e2294-1fe5-707f-987e-aa6615aa2831" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-707f-987e-aa6615aa2831_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-767c-80bc-1b1fb968a176" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019e2294-1fe5-707f-987e-aa6615aa2831" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-767c-80bc-1b1fb968a176" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_January2023ShareRepurchaseProgramMember_019eb650-d4bd-75ad-b1bc-ccf366aa92a4" xlink:href="bill-20260630.xsd#bill_January2023ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-767c-80bc-1b1fb968a176" xlink:to="loc_bill_January2023ShareRepurchaseProgramMember_019eb650-d4bd-75ad-b1bc-ccf366aa92a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_August2024ShareRepurchaseProgramMember_019e2294-1fe5-7b3c-a784-9f398b72aafd" xlink:href="bill-20260630.xsd#bill_August2024ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-767c-80bc-1b1fb968a176" xlink:to="loc_bill_August2024ShareRepurchaseProgramMember_019e2294-1fe5-7b3c-a784-9f398b72aafd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_August2025ShareRepurchaseProgramMember_019e2294-1fe5-776c-bbf9-7524472b0273" xlink:href="bill-20260630.xsd#bill_August2025ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-767c-80bc-1b1fb968a176" xlink:to="loc_bill_August2025ShareRepurchaseProgramMember_019e2294-1fe5-776c-bbf9-7524472b0273" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_A2026ShareRepurchaseAuthorizationMember_019fadd7-e302-700e-bd03-51f674d1d48b" xlink:href="bill-20260630.xsd#bill_A2026ShareRepurchaseAuthorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019e2294-1fe5-767c-80bc-1b1fb968a176" xlink:to="loc_bill_A2026ShareRepurchaseAuthorizationMember_019fadd7-e302-700e-bd03-51f674d1d48b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019e2294-1fe5-7de7-b51f-4275e8bebd4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7e71-9e10-6fe55e21b236" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019e2294-1fe5-7de7-b51f-4275e8bebd4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019e2294-1fe5-7b4a-9cd8-e04c5b8afb00" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7e71-9e10-6fe55e21b236" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019e2294-1fe5-7b4a-9cd8-e04c5b8afb00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_019e503b-df47-759e-b266-c0caeb20846e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7e71-9e10-6fe55e21b236" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_019e503b-df47-759e-b266-c0caeb20846e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019e2294-1fe5-7d1a-8eab-6503cd0565a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e2294-1fe5-7e71-9e10-6fe55e21b236" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019e2294-1fe5-7d1a-8eab-6503cd0565a1" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/IncomeTaxesDifferencebetweenIncomeTaxesComputedAtFederalStatutoryRateandBenefitfromProvisionforIncomeTaxesCurrentPeriodDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#IncomeTaxesDifferencebetweenIncomeTaxesComputedAtFederalStatutoryRateandBenefitfromProvisionforIncomeTaxesCurrentPeriodDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/IncomeTaxesDifferencebetweenIncomeTaxesComputedAtFederalStatutoryRateandBenefitfromProvisionforIncomeTaxesCurrentPeriodDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationLineItems_019e506b-004c-78b5-8349-b7ffa7d7f3ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTable_019e506b-004c-7cb0-a12e-1bdd0caf9b63" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationLineItems_019e506b-004c-78b5-8349-b7ffa7d7f3ab" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTable_019e506b-004c-7cb0-a12e-1bdd0caf9b63" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_019e506b-004c-79a2-acb9-df87e76e8556" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTable_019e506b-004c-7cb0-a12e-1bdd0caf9b63" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_019e506b-004c-79a2-acb9-df87e76e8556" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019e506b-004c-79a2-acb9-df87e76e8556_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019e506b-004c-79a2-acb9-df87e76e8556" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019e506b-004c-79a2-acb9-df87e76e8556_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019e506b-004c-7b7c-8e59-94b3c0d64dca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019e506b-004c-79a2-acb9-df87e76e8556" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019e506b-004c-7b7c-8e59-94b3c0d64dca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_019fd09d-f05e-760d-a8d6-e911d84c9b67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019e506b-004c-7b7c-8e59-94b3c0d64dca" xlink:to="loc_us-gaap_ForeignCountryMember_019fd09d-f05e-760d-a8d6-e911d84c9b67" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_AU_019e506b-004c-7074-b4e6-6e26519945b1" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_AU"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCountryMember_019fd09d-f05e-760d-a8d6-e911d84c9b67" xlink:to="loc_country_AU_019e506b-004c-7074-b4e6-6e26519945b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_019eb647-ddc8-7317-bf0b-e0e60aa1e62a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019e506b-004c-7b7c-8e59-94b3c0d64dca" xlink:to="loc_us-gaap_DomesticCountryMember_019eb647-ddc8-7317-bf0b-e0e60aa1e62a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019e506b-004c-71c5-a55b-1cdfb2a67694" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticCountryMember_019eb647-ddc8-7317-bf0b-e0e60aa1e62a" xlink:to="loc_country_US_019e506b-004c-71c5-a55b-1cdfb2a67694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationLineItems_019e506b-004c-78b5-8349-b7ffa7d7f3ab" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019e506b-004c-7ecb-a470-f70a8508a558" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019e506b-004c-7ecb-a470-f70a8508a558" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019e506b-004c-7af9-878c-213c39cca86c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019e506b-004c-7af9-878c-213c39cca86c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019fb58e-ed7c-7b34-a2a3-676c1a2f1d8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019fb58e-ed7c-7b34-a2a3-676c1a2f1d8f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseRestructuringCharges_019f8a58-5d9e-76a4-bf7e-8ceff0cf5304" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseRestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseRestructuringCharges_019f8a58-5d9e-76a4-bf7e-8ceff0cf5304" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019e506b-004c-74cf-be99-cd388f29d131" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019e506b-004c-74cf-be99-cd388f29d131" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019e506b-004c-7007-95f6-38581a256fd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019e506b-004c-7007-95f6-38581a256fd6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmountAbstract_019e508e-fd57-7f0f-aa7d-44007f0b3086" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmountAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmountAbstract_019e508e-fd57-7f0f-aa7d-44007f0b3086" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019e506b-004c-7438-85cf-7a2b7c0e8be3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmountAbstract_019e508e-fd57-7f0f-aa7d-44007f0b3086" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019e506b-004c-7438-85cf-7a2b7c0e8be3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_019e508f-3723-7a6e-98f0-520254bd8d69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_019e508f-3723-7a6e-98f0-520254bd8d69" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019e506b-004c-7181-92c5-f1dd045f8763" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_019e508f-3723-7a6e-98f0-520254bd8d69" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019e506b-004c-7181-92c5-f1dd045f8763" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019e508f-7253-7b47-b573-f2f16dd0eea9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019e508f-7253-7b47-b573-f2f16dd0eea9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019e506b-004c-709c-bc49-97ed84233161" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019e508f-7253-7b47-b573-f2f16dd0eea9" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019e506b-004c-709c-bc49-97ed84233161" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLimitationOnExecutiveCompensationAmount_019e506b-004c-748f-b8db-c6b5c3070cb1" xlink:href="bill-20260630.xsd#bill_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLimitationOnExecutiveCompensationAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019e508f-7253-7b47-b573-f2f16dd0eea9" xlink:to="loc_bill_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLimitationOnExecutiveCompensationAmount_019e506b-004c-748f-b8db-c6b5c3070cb1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseMealsAndEntertainment_019e506b-004c-782f-a750-5e47e091ff23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseMealsAndEntertainment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019e508f-7253-7b47-b573-f2f16dd0eea9" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseMealsAndEntertainment_019e506b-004c-782f-a750-5e47e091ff23" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019e506b-004c-7574-b7e3-62df2101dfa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019e508f-7253-7b47-b573-f2f16dd0eea9" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019e506b-004c-7574-b7e3-62df2101dfa4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019f8a5a-8b80-7537-95a7-48225259086a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e506b-004c-73e5-a82d-073d87240b6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_019e506e-abf5-7ee5-8dfa-9589d3d426ca" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e506b-004c-73e5-a82d-073d87240b6f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationLineItems_019e506b-004c-78b5-8349-b7ffa7d7f3ab" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019e506f-7c72-7197-8d4a-0b11d1478c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019e506f-7c72-7197-8d4a-0b11d1478c8c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019e506f-7c72-75f9-b1fb-9be0495d48c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019e506f-7c72-75f9-b1fb-9be0495d48c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_019fb597-55b2-7877-9ff4-4631b64bc636" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_019fb597-55b2-7877-9ff4-4631b64bc636" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseRestructuringCharges_019e506f-7c72-72c2-ab3d-b9d823e3fc1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseRestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseRestructuringCharges_019e506f-7c72-72c2-ab3d-b9d823e3fc1c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019e506f-7c72-7a5d-a788-296646b14bd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019e506f-7c72-7a5d-a788-296646b14bd6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019e506f-7c72-792b-a07a-a9c479806f01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019e506f-7c72-792b-a07a-a9c479806f01" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercentAbstract_019e508d-66a7-76ed-a8cc-191ea64f84bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercentAbstract_019e508d-66a7-76ed-a8cc-191ea64f84bd" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent_019e506f-7c72-7512-9b88-e4a8f6296fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercentAbstract_019e508d-66a7-76ed-a8cc-191ea64f84bd" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent_019e506f-7c72-7512-9b88-e4a8f6296fa4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019e508d-a10c-7e69-b1aa-4640d4ad020b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019e508d-a10c-7e69-b1aa-4640d4ad020b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019e506f-7c72-7de4-82e9-97e39e946a52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019e508d-a10c-7e69-b1aa-4640d4ad020b" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019e506f-7c72-7de4-82e9-97e39e946a52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract_019e508d-e3a8-7c67-8420-12273de922b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract_019e508d-e3a8-7c67-8420-12273de922b6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019e506f-7c72-7f6e-8f0f-7efb245c0f99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract_019e508d-e3a8-7c67-8420-12273de922b6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019e506f-7c72-7f6e-8f0f-7efb245c0f99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLimitationOnExecutiveCompensationPercent_019e506f-7c72-7522-984c-f430b1c45f03" xlink:href="bill-20260630.xsd#bill_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLimitationOnExecutiveCompensationPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract_019e508d-e3a8-7c67-8420-12273de922b6" xlink:to="loc_bill_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLimitationOnExecutiveCompensationPercent_019e506f-7c72-7522-984c-f430b1c45f03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseMealsAndEntertainment_019e506f-7c72-7904-b3aa-fd9ffded687f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseMealsAndEntertainment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract_019e508d-e3a8-7c67-8420-12273de922b6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseMealsAndEntertainment_019e506f-7c72-7904-b3aa-fd9ffded687f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019e506f-7c72-7a18-aa29-efa6e1e6eabd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciationAndAmortizationAbstract_019e508d-e3a8-7c67-8420-12273de922b6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019e506f-7c72-7a18-aa29-efa6e1e6eabd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019f8a5a-e3f3-763f-a6d1-595a4fce330d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e506f-7c72-7bd9-a425-ab519bb1add8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_019e506f-3406-7af3-93e4-4f95c93a0049" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e506f-7c72-7bd9-a425-ab519bb1add8" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration_019fcec7-3dca-7b78-b8a7-96999f62d0be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationLineItems_019e506b-004c-78b5-8349-b7ffa7d7f3ab" xlink:to="loc_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration_019fcec7-3dca-7b78-b8a7-96999f62d0be" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#IncomeTaxesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:href="bill-20260630.xsd#bill_IncomeTaxesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_IncomeTaxesTable_019e2294-20a9-7260-b914-c0a1d0d435a1" xlink:href="bill-20260630.xsd#bill_IncomeTaxesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_bill_IncomeTaxesTable_019e2294-20a9-7260-b914-c0a1d0d435a1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_019e2294-20a9-7ac2-9c2a-af673d32b502" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bill_IncomeTaxesTable_019e2294-20a9-7260-b914-c0a1d0d435a1" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_019e2294-20a9-7ac2-9c2a-af673d32b502" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019e2294-20a9-7ac2-9c2a-af673d32b502_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019e2294-20a9-7ac2-9c2a-af673d32b502" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019e2294-20a9-7ac2-9c2a-af673d32b502_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019e2294-20a9-7217-bea5-930c7c4232ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019e2294-20a9-7ac2-9c2a-af673d32b502" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019e2294-20a9-7217-bea5-930c7c4232ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_019e2294-20a9-7763-afbd-db77df0a5c80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019e2294-20a9-7217-bea5-930c7c4232ab" xlink:to="loc_us-gaap_DomesticCountryMember_019e2294-20a9-7763-afbd-db77df0a5c80" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_019e2294-20a9-76c7-ac37-d08a63733420" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019e2294-20a9-7217-bea5-930c7c4232ab" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_019e2294-20a9-76c7-ac37-d08a63733420" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019fc78c-0bad-76b7-98be-55066bce972d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019fc78c-0bad-76b7-98be-55066bce972d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_019e2294-20a9-7be0-b486-cc1980aa483d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_019e2294-20a9-7be0-b486-cc1980aa483d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_019e2294-20a9-720c-9f4c-8c3950b1186c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_us-gaap_OperatingLossCarryforwards_019e2294-20a9-720c-9f4c-8c3950b1186c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_019ff611-2b55-7947-9993-c6d4524ecb24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_019ff611-2b55-7947-9993-c6d4524ecb24" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_019e2294-20a9-7747-8648-f3490785a4f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxCreditCarryforwardAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_019e2294-20a9-7747-8648-f3490785a4f2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense_019ff60a-85ed-7475-aa58-d73d32d93cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bill_IncomeTaxesLineItems_019e2294-20a9-73c6-aeac-73808c5becbb" xlink:to="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense_019ff60a-85ed-7475-aa58-d73d32d93cd7" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/RestructuringScheduleofRestructuringLiabilitiesDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#RestructuringScheduleofRestructuringLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/RestructuringScheduleofRestructuringLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019e2294-20a9-7e00-a369-71d9c6ffe314" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019e2294-20a9-763e-97bc-a7d959366790" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019e2294-20a9-7e00-a369-71d9c6ffe314" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019e2294-20a9-763e-97bc-a7d959366790" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_019e2294-20a9-7e41-b53c-a62c94e4a3cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019e2294-20a9-763e-97bc-a7d959366790" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_019e2294-20a9-7e41-b53c-a62c94e4a3cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019e2294-20a9-7e41-b53c-a62c94e4a3cd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019e2294-20a9-7e41-b53c-a62c94e4a3cd" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019e2294-20a9-7e41-b53c-a62c94e4a3cd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019e2294-20a9-7517-8742-f19f71139b10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019e2294-20a9-7e41-b53c-a62c94e4a3cd" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019e2294-20a9-7517-8742-f19f71139b10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeSeveranceMember_019e2294-20a9-73af-a1b3-9919a027000f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeSeveranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019e2294-20a9-7517-8742-f19f71139b10" xlink:to="loc_us-gaap_EmployeeSeveranceMember_019e2294-20a9-73af-a1b3-9919a027000f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherRestructuringMember_019e2294-20a9-7828-8027-d90af058ff50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherRestructuringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019e2294-20a9-7517-8742-f19f71139b10" xlink:to="loc_us-gaap_OtherRestructuringMember_019e2294-20a9-7828-8027-d90af058ff50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveRollForward_019e2294-20a9-7a3e-bdfa-2650c265f2d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserveRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019e2294-20a9-7e00-a369-71d9c6ffe314" xlink:to="loc_us-gaap_RestructuringReserveRollForward_019e2294-20a9-7a3e-bdfa-2650c265f2d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019e2294-20a9-7080-8160-a020c1bd4b47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019e2294-20a9-7a3e-bdfa-2650c265f2d1" xlink:to="loc_us-gaap_RestructuringReserve_019e2294-20a9-7080-8160-a020c1bd4b47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_019e2294-20a9-7ef3-9f06-d0fda2584f83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019e2294-20a9-7a3e-bdfa-2650c265f2d1" xlink:to="loc_us-gaap_RestructuringCharges_019e2294-20a9-7ef3-9f06-d0fda2584f83" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_019e2294-20a9-775e-af99-72d83394d7bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019e2294-20a9-7a3e-bdfa-2650c265f2d1" xlink:to="loc_us-gaap_PaymentsForRestructuring_019e2294-20a9-775e-af99-72d83394d7bb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019e2294-20a9-7791-ae18-3e6c1f5e1821" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringIncurredCostStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019e2294-20a9-719b-a14b-cc41a6092c72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringIncurredCostStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019e2294-20a9-7a3e-bdfa-2650c265f2d1" xlink:to="loc_us-gaap_RestructuringIncurredCostStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019e2294-20a9-719b-a14b-cc41a6092c72" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersScheduleofPotentiallyDilutiveSecuritiesExcludedfromDilutedNetLossPerShareCalculationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#NetIncomeLossPerShareAttributableToCommonStockholdersScheduleofPotentiallyDilutiveSecuritiesExcludedfromDilutedNetLossPerShareCalculationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersScheduleofPotentiallyDilutiveSecuritiesExcludedfromDilutedNetLossPerShareCalculationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e2294-20a9-7f41-9f03-b607deae82aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7cd4-ac78-e8a0ab5c75bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e2294-20a9-7f41-9f03-b607deae82aa" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7cd4-ac78-e8a0ab5c75bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e2294-20a9-7836-b5a2-b3075f27bb01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7cd4-ac78-e8a0ab5c75bf" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e2294-20a9-7836-b5a2-b3075f27bb01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e2294-20a9-7836-b5a2-b3075f27bb01_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e2294-20a9-7836-b5a2-b3075f27bb01" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e2294-20a9-7836-b5a2-b3075f27bb01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e2294-20a9-7a07-8309-b7411d5d58fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e2294-20a9-7836-b5a2-b3075f27bb01" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e2294-20a9-7a07-8309-b7411d5d58fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockCompensationPlanMember_019e2294-20a9-7769-908f-72b717871da1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockCompensationPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e2294-20a9-7a07-8309-b7411d5d58fa" xlink:to="loc_us-gaap_StockCompensationPlanMember_019e2294-20a9-7769-908f-72b717871da1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_019e2294-20a9-797b-a379-ccb7235d22fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e2294-20a9-7a07-8309-b7411d5d58fa" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_019e2294-20a9-797b-a379-ccb7235d22fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019e2294-20a9-781e-8267-a395698880de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e2294-20a9-7f41-9f03-b607deae82aa" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019e2294-20a9-781e-8267-a395698880de" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bill.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersAdditionalInformationDetails" xlink:type="simple" xlink:href="bill-20260630.xsd#NetIncomeLossPerShareAttributableToCommonStockholdersAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bill.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e2294-20a9-7e9e-8565-424d97a66659" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7367-92e3-8e2d7c9102cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e2294-20a9-7e9e-8565-424d97a66659" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7367-92e3-8e2d7c9102cc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e2294-20a9-7fec-ad1f-903afb578df6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7367-92e3-8e2d7c9102cc" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e2294-20a9-7fec-ad1f-903afb578df6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-20a9-7fec-ad1f-903afb578df6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-20a9-7fec-ad1f-903afb578df6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-20a9-7fec-ad1f-903afb578df6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e2294-20a9-70e9-bc6a-576b2ee32fc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e2294-20a9-7fec-ad1f-903afb578df6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e2294-20a9-70e9-bc6a-576b2ee32fc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-20a9-719d-83f8-3309e0af4de1" xlink:href="bill-20260630.xsd#bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e2294-20a9-70e9-bc6a-576b2ee32fc2" xlink:to="loc_bill_TwoThousandTwentyFiveConvertibleSeniorNotesMember_019e2294-20a9-719d-83f8-3309e0af4de1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e2294-20a9-7648-80ce-9b43415f14b1" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e2294-20a9-7367-92e3-8e2d7c9102cc" xlink:to="loc_srt_RangeAxis_019e2294-20a9-7648-80ce-9b43415f14b1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-20a9-7648-80ce-9b43415f14b1_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e2294-20a9-7648-80ce-9b43415f14b1" xlink:to="loc_srt_RangeMember_019e2294-20a9-7648-80ce-9b43415f14b1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e2294-20a9-7733-be76-f5373864299d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e2294-20a9-7648-80ce-9b43415f14b1" xlink:to="loc_srt_RangeMember_019e2294-20a9-7733-be76-f5373864299d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e2294-20a9-7b61-9e3b-f18235472808" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e2294-20a9-7733-be76-f5373864299d" xlink:to="loc_srt_MaximumMember_019e2294-20a9-7b61-9e3b-f18235472808" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountSubjectToAdjustment_019e2294-20a9-7e00-bae9-cb09277608b3" xlink:href="bill-20260630.xsd#bill_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountSubjectToAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e2294-20a9-7e9e-8565-424d97a66659" xlink:to="loc_bill_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountSubjectToAdjustment_019e2294-20a9-7e00-bae9-cb09277608b3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd#eedm1"/>
  <link:definitionLink xlink:role="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:type="arc" order="101"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RestructuringChargesAndOtherShareBasedCompensationExpense_019e2294-1d5e-7561-863a-a050a278a7f4" xlink:href="bill-20260630.xsd#bill_RestructuringChargesAndOtherShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_bill_RestructuringChargesAndOtherShareBasedCompensationExpense_019e2294-1d5e-7561-863a-a050a278a7f4" xlink:type="arc" order="691"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="41"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd#IndividualsOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllIndividualsMember" xlink:href="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_ReneLacerteMember_019f8a63-2f11-7bd2-b1c5-d9eeda12af31" xlink:href="bill-20260630.xsd#bill_ReneLacerteMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_bill_ReneLacerteMember_019f8a63-2f11-7bd2-b1c5-d9eeda12af31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bill_RohiniJainMember_019f8a63-aaa2-719a-b3c6-2167c94e7d12" xlink:href="bill-20260630.xsd#bill_RohiniJainMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_bill_RohiniJainMember_019f8a63-aaa2-719a-b3c6-2167c94e7d12" xlink:type="arc" order="3"/>
  </link:definitionLink>
</link:linkbase>
