<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  xmlns:sifpr="http://www.UBS.com/20241227"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="sifpr-20241227.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_BloombergUSAggregateBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">sifpr:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_C000232065Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">sifpr:C000232065Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_C000232065Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">sifpr:C000232065Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_C000232065Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">sifpr:C000232065Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_C000246508Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">sifpr:C000246508Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_CreditRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:CreditRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_ExtensionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:ExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_IceBofAUs3MonthTreasuryBillIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">sifpr:IceBofAUs3MonthTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_InterestRateRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:InterestRateRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_InvestmentAndMarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:InvestmentAndMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_LossOfTaxBenefitsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:LossOfTaxBenefitsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_MortgageBackedSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:MortgageBackedSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_PrepaymentRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:PrepaymentRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="S000074333Member_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847310</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">sifpr:S000074333Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">sifpr:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_d1f3e6fc_8027_43fe_8ec6_ad682b1f6a80">0001847310</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_3ea1e4bc_36ac_4baa_ad25_3816e58083b0">false</dei:AmendmentFlag>
    <dei:DocumentEffectiveDate
      contextRef="DefaultContext"
      id="h5_99eefad7_a924_47c8_bd45_165ce4bd94e0">2024-12-27</dei:DocumentEffectiveDate>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_9f602224_0e13_43ba_a134_01a5cd3ffa0b">2024-06-30</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_b6c999fa_2c04_465b_9bd3_17f362feedeb">485APOS</dei:DocumentType>
    <rr:AnnualReturn2022
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_10_44b8cfa9-9a38-19b5-2d36-9b1b490628d7"
      unitRef="pure">0.0089</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_11_d6557c98-93d2-235a-e6e2-3f2134de23de"
      unitRef="pure">0.0442</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_2_04762378-9039-cce4-23e6-229f4e541d2c"
      unitRef="pure">0.0001</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_3_5cf7a309-9971-7d6b-43b4-cd1fbcec7d50"
      unitRef="pure">0.0001</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_4_6ef8406f-4fdc-6125-3ca1-1f3c96d8728e"
      unitRef="pure">0.0001</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_5_f65b9d02-3b60-e576-70d8-b732ea7a6db0"
      unitRef="pure">0.0014</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_6_0792da62-1462-6b22-9bfe-cea59a446c69"
      unitRef="pure">0.0074</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_7_e75ef1c3-b8df-173b-570e-1a65585ba666"
      unitRef="pure">0.0124</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_8_b4d809a1-4668-e49b-3d70-3e1f89b374d7"
      unitRef="pure">0.0012</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_9_98a55ed7-9a70-f797-b7cb-d937a39a3590"
      unitRef="pure">0.0001</rr:AnnualReturn2021>
    <rr:BarChartHeading
      contextRef="S000074333Member"
      id="h_1_62aad3f2-4351-9199-782b-c1b498fc3cd3">CLASS A SHARES ANNUAL TOTAL RETURNS As of 12/31 Total return</rr:BarChartHeading>
    <dei:DocumentCreationDate
      contextRef="DefaultContext"
      id="h_05_22914346_f1e3_455c_a2f0_529bf5f863fc">2024-12-27</dei:DocumentCreationDate>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_01_e14709ac_a31b_499f_9816_dfc1c997f0b6">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_7_30268795_6ad1_0829_d139_411bf72ee17b">Short Term Investment Fund for Puerto Rico Residents, Inc.</dei:EntityRegistrantName>
    <rr:ProspectusDate
      contextRef="DefaultContext"
      id="t_6_bd1a396d_856e_9cfa_e973_c1895fe0466f">2024-12-31</rr:ProspectusDate>
    <rr:RiskReturnHeading
      contextRef="S000074333Member"
      id="t_1_395bf57d_839c_42b9_8bab_57c3bbb25230">Fund Summary </rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="S000074333Member"
      id="t_2_a9d0c71a_1725_44ba_98a7_18588dd899ab">Investment Objective </rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="S000074333Member"
      id="t_3_ef6b044e_47f3_4d2e_9088_32783fb4649a">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The investment objective of the Short Term Investment Fund for Puerto Rico Residents, Inc. (the &#x201c;Fund&#x201d;) is to provide current income, consistent with liquidity and conservation of capital. &lt;/div&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="S000074333Member"
      id="t_4_4476350b_17c5_4cb2_91c1_7ea0572227e8">Fees and Expenses of the Fund </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="S000074333Member"
      id="t_5_3786bd6d_9833_4d03_9caa_d7feeb417862">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The following table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund (&#x201c;Shares&#x201d;). &lt;span style="font-weight:bold"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and example below.&lt;/span&gt; &lt;/div&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="S000074333Member"
      id="t_6_8ae73fff_d77d_4506_b84b_95591fe0298d">&#x2002;&#x2007;Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_1_dad13d9d_47d0_4bdf_bb10_010c64d4c49c"
      unitRef="pure">0.0050</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_2_cb1f752c_e1e4_453f_bc4e_f6c38f453c89"
      unitRef="pure">0.0050</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_3_bc8c0e84_db36_4c77_ab18_8e14e6bb1196"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_4_24173301_edce_4d7d_a6ea_a8a7bcfc6bae"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_5_104c6a61_4b77_4a1e_9f75_56c4fcb38004"
      unitRef="pure">0.0061</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_6_b7f6bb30_b8a3_4cd1_875a_dc9c1b842ccf"
      unitRef="pure">0.0061</rr:OtherExpensesOverAssets>
    <rr:Component1OtherExpensesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_7_b54155a5_7dd4_4be9_861d_4197dc563259"
      unitRef="pure">0.0005</rr:Component1OtherExpensesOverAssets>
    <rr:Component1OtherExpensesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_8_75450a7c_624c_4f9d_98b9_ac9bf6d25f26"
      unitRef="pure">0.0005</rr:Component1OtherExpensesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_9_13c1b4f6_64e3_41c0_b13d_1d96e24f68a9"
      unitRef="pure">0.0056</rr:Component2OtherExpensesOverAssets>
    <rr:Component2OtherExpensesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_10_7544c7c8_d303_42a5_a0b7_49146f4109f7"
      unitRef="pure">0.0056</rr:Component2OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_11_8fc2581d_7767_441d_be19_0c2fcdc7dd6d"
      unitRef="pure">0.0111</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_12_88a3b9e4_c3b3_4ac7_ad53_c202374aa138"
      unitRef="pure">0.0111</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_13_28d88d09_cd0b_4efa_a6c9_585f369b8292"
      unitRef="pure">-0.0011</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_14_55dcdda4_a48e_406d_9c0e_54da295b8fb3"
      unitRef="pure">-0.0011</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_15_06a16f30_bb5c_45a7_a978_89755dcae327"
      unitRef="pure">0.0100</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="S000074333Member_C000246508Member"
      decimals="4"
      id="h_16_a2478b2e_1805_4af1_9e52_c841776851da"
      unitRef="pure">0.0100</rr:NetExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="S000074333Member"
      id="t_19_a22171e0_9ba4_9a57_400e_d7397563db0b">January&#160;31, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpenseExampleHeading
      contextRef="S000074333Member"
      id="t_7_5f6cbd0c_2e97_4fb5_b0ad_4bbc46709e55">Example </rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="S000074333Member"
      id="t_8_0e8505f7_c5be_433c_8c19_234f4082756d">&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;This example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the Fund for the time periods indicated and then sell all of your Shares at the end of those periods. The example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s total annual operating expenses remain the same. This assumption is not meant to indicate you will receive a 5% annual rate of return. Although your actual costs may be higher or lower, based on these assumptions your costs would be: &lt;/div&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="S000074333Member_C000232065Member"
      decimals="INF"
      id="h_17_567c187f_1e71_47ab_9cb1_61c7502bce8a"
      unitRef="USD">102</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="S000074333Member_C000232065Member"
      decimals="INF"
      id="h_18_0ae152b6_5e32_4606_b549_742d246aeb1f"
      unitRef="USD">342</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="S000074333Member_C000232065Member"
      decimals="INF"
      id="h_19_53c7b506_6a8b_40a4_80d7_0f42dd127b30"
      unitRef="USD">601</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="S000074333Member_C000232065Member"
      decimals="INF"
      id="h_20_7ee1ef95_9697_4866_8d63_f58cea7cb07e"
      unitRef="USD">1342</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="S000074333Member_C000246508Member"
      decimals="INF"
      id="h_21_bb136be6_dba1_4e86_a719_ac67713ef1c7"
      unitRef="USD">102</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="S000074333Member_C000246508Member"
      decimals="INF"
      id="h_22_0304b49e_4f20_4eea_b4d1_e85bfd9b8d53"
      unitRef="USD">342</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="S000074333Member_C000246508Member"
      decimals="INF"
      id="h_23_d8df0dc1_0993_47cc_bcdf_b26469bac4dd"
      unitRef="USD">601</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="S000074333Member_C000246508Member"
      decimals="INF"
      id="h_24_acbd648f_a4b1_4c93_9054_73333669348c"
      unitRef="USD">1342</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="S000074333Member"
      id="t_9_cbf7c651_fb76_4934_a284_28124448ac72">Portfolio Turnover: </rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="S000074333Member"
      id="t_10_ae825b97_945f_4a1c_8792_ec9634737729">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The Fund pays transaction costs, such as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example above, affect the Fund&#x2019;s performance. During the most recent fiscal year, the Fund&#x2019;s portfolio turnover rate was 0% of the average value of its portfolio. &lt;/div&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="S000074333Member"
      decimals="4"
      id="h_25_8c7b528e_77f5_44d2_827a_dbfeb8e88a59"
      unitRef="pure">0</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="S000074333Member"
      id="t_11_bd7e7dec_2c2c_40ba_a207_33a80f48cf52">Principal Investment Strategies of the Fund </rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="S000074333Member"
      id="t_12_fefa69e1_9e50_4dcb_939f_40a7525937c5">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:justify;"&gt;The Fund is designed solely for Puerto Rico Residents (as defined in &#x201c;Dividends and Taxes&#x201d; below). Only Puerto Rico Residents will receive the tax benefits of an investment in the Fund. The tax treatment of this Fund differs from that typically accorded to other investment companies registered under the Investment Company Act of 1940, as amended (the &#x201c;1940 Act&#x201d;) that qualify as regulated investment companies under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;U.S. Code&#x201d;). You should read carefully the section entitled &#x201c;Dividends and Taxes&#x201d; for a more detailed description of the Puerto Rico and United Sates tax implications for an investment in the Fund. You should also consult your tax advisor about your tax situation. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The Fund principally invests in U.S. high quality short-term instruments, including securities issued or guaranteed by the U.S. government, its agencies and instrumentalities and/or agency-issued mortgage-backed securities. &#x201c;High quality&#x201d; means instruments that at the time of investment are rated within the two highest short-term rating categories by one or more nationally recognized statistical rating organizations (&#x201c;NRSRO&#x201d;) or that are unrated but deemed to be of comparable quality by the Investment Adviser. Pursuant to this investment strategy, the Fund may continue to hold these instruments even if their rating is downgraded. &#x201c;Short-term&#x201d; means instruments that mature in 397 calendar days or less from the date when the Fund acquires the instrument. The maturity of securities rated in the second highest short-term rating category by an NRSRO may not exceed 180 days. The Fund may also invest in longer-term bonds with only a short time remaining to maturity or that have variable interest rates or other special features that give them the financial characteristics of short-term debt. The Fund invests only in U.S. dollar-denominated instruments. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;"&gt;The Fund is not a money market fund and does not seek to maintain a stable net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;Investments in mortgage-backed securities may include those issued or guaranteed by Government National Mortgage Association (&#x201c;GNMA&#x201d;), Federal National Mortgage Association (&#x201c;FNMA&#x201d;) or Federal Home Loan Mortgage Corporation (&#x201c;FHLMC&#x201d;). &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The Fund&#x2019;s investment objective may not be changed without the approval of the holders of a majority of the Fund&#x2019;s outstanding voting securities (which for this purpose and under the 1940 Act means the lesser of (i)&#160;67% of the Shares represented at a meeting at which more than 50% of the outstanding Shares are represented or (ii)&#160;more than 50% of the outstanding Shares). &lt;/div&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskHeading
      contextRef="S000074333Member"
      id="t_13_98ed1344_8412_4e74_bd90_ec6e72ba223d">Principal Risks of Investing in the Fund </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="S000074333Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_20_987c3b56_4cd4_2c73_6af1_88c309935d00">An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation or by any bank or governmental agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_RiskLoseMoneyMember"
      id="t_21_e408fddf_f507_19ee_ce06_3acf734d0db0">You may lose money by investing in the Fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_InvestmentAndMarketRiskMember"
      id="t_22_5f0aec88_0805_547e_38d6_db96c023c60c">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Investment and Market Risk.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style:italic"&gt; &lt;/span&gt;The Fund&#x2019;s investments may be adversely affected by the performance of U.S. and Puerto Rico investment securities markets, which, in turn, may be influenced by a number of factors, including, among other things, (i)&#160;the level of interest rates, (ii)&#160;the rate of inflation, (iii)&#160;political decisions, (iv)&#160;fiscal policy, and (v)&#160;current events in general. Because the Fund invests in investment securities, the Fund&#x2019;s NAV may fluctuate due to market conditions, and as a result you may experience a decline in the value of your investment in the Fund and you may lose money. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;In addition, turbulence in financial markets and reduced liquidity in equity and/or fixed-income markets may negatively affect the Fund. Global economies and financial markets are becoming increasingly interconnected, and conditions and events in one country, region or financial market may adversely impact issuers in a different country, region or financial market, such as war, acts of terrorism, the spread of infectious illness or other public health issues like pandemics, epidemics, recessions, or other events. These risks may be magnified if certain events or developments adversely interrupt the global supply chain and could affect companies worldwide. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;An outbreak of an infectious coronavirus (COVID&#x2011;19) that was first detected in December 2019 developed into a global pandemic that resulted in numerous disruptions in the market and has had significant economic impact leaving general concern and uncertainty. The COVID&#x2011;19 pandemic has had, and any other outbreak of an infectious disease or serious environmental or public health concern could have, a significant negative impact on economic and market conditions, could exacerbate pre&#x2011;existing political, social and economic risks in certain countries or regions and could trigger a prolonged period of global economic slowdown, which may impact the Fund. The lasting effects of the COVID&#x2011;19 pandemic cannot be predicted with certainty. To the extent the Fund is overweight in certain countries, regions, companies, industries or market sectors, such positions will increase the risk of loss from adverse developments affecting those countries, regions, companies, industries or sectors. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_CreditRisksMember"
      id="t_23_da9cdc14_e0b5_b1a9_8d08_c740e958ba4d">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Credit Risk.&lt;/span&gt;&lt;/span&gt; Credit risk is the risk that fixed income securities in the Fund&#x2019;s portfolio will decline in price or that the issuer of a debt security (i.e., the borrower) will fail to make principal or interest payments when due or otherwise honor their obligations because the &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt; issuer of the security experiences a decline in its financial condition. Changes in an issuer&#x2019;s credit rating or the market&#x2019;s perception of an issuer&#x2019;s creditworthiness may also affect the value of the Fund&#x2019;s investment in that issuer. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_InterestRateRisksMember"
      id="t_24_c5947b5d_edab_167f_6851_8bf97709d772">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Interest Rate Risk.&lt;/span&gt;&lt;/span&gt; Interest rate risk is the risk that the value of the Fund&#x2019;s investment will fall when interest rates rise and increase as interests rates fall. That is because the value of short-term instruments are generally expected to fall when short-term interest rates rise and to rise when short-term interest rates fall. Also, the Fund&#x2019;s yield will tend to lag behind changes in prevailing short-term interest rates. This means that the Fund&#x2019;s income will tend to rise more slowly than increases in short-term interest rates. Similarly, when short-term interest rates are falling, the Fund&#x2019;s income will tend to fall more slowly. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_ExtensionRiskMember"
      id="t_25_a1989baa_1953_2716_3d7c_9d5688c21f8e">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Extension Risk.&lt;/span&gt;&lt;/span&gt; Extension risk is the risk that during periods of rising interest rates, the average life of certain types of securities may be extended because of the right of the issuer to defer payments or make slower than expected principal payments. This may lock in a below market interest rate, increase the security&#x2019;s duration (the estimated period until the security is paid in full) and reduce the value of the security. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_PrepaymentRisksMember"
      id="t_26_a92f6796_fe35_b500_5b3b_591f68f85833">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Prepayment Risk.&lt;/span&gt;&lt;/span&gt; Prepayment risk is the risk that during periods of declining interest rates, the issuer of a security may exercise its option to prepay principal earlier than scheduled in order to refinance at lower interest rates, and the Fund may have to reinvest in lower yielding securities. This tendency of issuers to refinance debt with high interest rates during periods of declining interest rates may reduce the positive effect of declining interest rates on the market value of the Fund&#x2019;s securities. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_MortgageBackedSecuritiesRiskMember"
      id="t_27_5731bde9_9170_387b_f049_17ae2829e54f">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Mortgage-Backed Securities Risk.&lt;/span&gt;&lt;/span&gt; Mortgage-backed securities represent interests in &#x201c;pools&#x201d; of mortgages. Mortgage-backed securities have many of the risks of traditional debt securities, such as credit, interest rate, prepayment and extension risks, but, in general, differ from investments in traditional debt securities in that, among other things, principal may be prepaid at any time due to prepayments by the obligors on the underlying obligations. These securities also are subject to risk of default on the underlying mortgage, particularly during periods of economic downturn. Small movements in interest rates (both increases and decreases) may quickly and significantly reduce the value of certain mortgage-backed securities. Since a substantial portion of the assets of the Fund may be invested in mortgage-backed securities, the Fund may be subject to these risks and other risks related to such securities to a significant degree, which might cause the market value of the Fund&#x2019;s investments to fluctuate more than otherwise would be the case. In addition, mortgage-backed or other securities issued or guaranteed by FNMA, FHLMC or a Federal Home Loan Bank are supported only by the credit of these entities and are not supported by the full faith and credit of the United States. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_USGovernmentSecuritiesRiskMember"
      id="t_28_537046d7_47df_1213_c070_b61e66b9a75a">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;/span&gt;Certain securities in which the Fund may invest, including securities issued by certain U.S. government agencies and U.S. government sponsored enterprises, are not guaranteed by the U.S. government or supported by the full faith and credit of the United States. In addition, circumstances could arise that could prevent the timely payment of interest or principal on U.S. government obligations, such as reaching the legislative &#x201c;debt ceiling.&#x201d; Such non&#x2011;payment could result in losses to the Fund and substantial negative consequences for the U.S. economy and the global financial system. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000074333Member_LossOfTaxBenefitsRiskMember"
      id="t_29_e9ca25f2_9c5d_cf6c_d4f0_f61ec886c6db">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Loss of Tax Benefits Risk&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style:italic"&gt;. &lt;/span&gt;Shareholders of the Fund who cease to be Puerto Rico Individuals may lose certain tax benefits that had previously been available to them and Fund distributions will likely be taxable for such shareholders. &lt;/div&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="S000074333Member"
      id="t_14_1f256612_f7f6_4de3_9fde_9e0b3d380eff">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="S000074333Member"
      id="t_30_fe6468a0_d47d_3475_afde_f1c0158a6ba7">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The information below shows you how the Fund&#x2019;s performance has varied year by year over the prior ten&#x2011;year period and provides some indication of the risks of investing in the Fund. The Class&#160;B Shares have not commenced operations as of the date of this prospectus. As a result, the chart and the table give you a picture only of the long-term performance for the Class&#160;A Shares of the Fund.&#160;The performance of the Class&#160;B Shares would be the same as the Class&#160;A Shares because the Class&#160;B Shares and the Class&#160;A Shares are invested in the same portfolio of securities and have the same expense arrangements, though Class&#160;A Shares and Class&#160;B Shares each pay all expenses of its own distribution arrangements. The table compares the Fund&#x2019;s performance to that of the Bloomberg U.S. Aggregate Bond Index (the &#x201c;Benchmark Index&#x201d;) and the ICE BofA US 3&#x2011;Month Treasury Bill Index (the &#x201c;Secondary Index&#x201d;). The Secondary Index is relevant to the Fund because it has characteristics similar to the Fund&#x2019;s investment strategy. To the extent that dividends and distributions have been paid by the Fund, the performance information for the Fund in the chart and table assumes reinvestment of the dividends and distributions. As with all such investments, past performance (before and after taxes) is not an indication of future results. The table includes all applicable fees, after giving effect to fee waivers and reimbursements. If the Administrator had not waived or reimbursed certain Fund expenses during these periods, the Fund&#x2019;s returns would have been lower. Updated information on the Fund&#x2019;s performance can be obtained by visiting www.ubs.com/prfunds or can be obtained by phone at (787) 250&#x2011;3600. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The Fund&#x2019;s financial performance included in this prospectus includes the Fund&#x2019;s performance from a period when the Fund was not subject to the restrictions of a U.S. registered investment company that is subject to the requirements of the 1940 Act and when the Fund invested pursuant to different investment strategies. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The Benchmark Index measures the investment grade, US dollar-denominated, fixed-rate taxable bond market. &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;The Secondary Index measures the performance of a single issue of outstanding treasury bill which matures closest to, but not beyond, three months from the rebalancing date. The issue is purchased at the beginning of the month and held for a full month; at the end of the month that issue is sold and rolled into a newly selected issue. &lt;/div&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="S000074333Member"
      id="t_31_65b0545c_dcd8_8e31_0919_19c236335bfd">The information below shows you how the Fund&#x2019;s performance has varied year by year over the prior ten&#x2011;year period and provides some indication of the risks of investing in the Fund.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformanceOneYearOrLess
      contextRef="S000074333Member"
      id="t_46_492fab57_154c_2fba_86e6_49e06da90754">The Class&#160;B Shares have not commenced operations as of the date of this prospectus. As a result, the chart and the table give you a picture only of the long-term performance for the Class&#160;A Shares of the Fund.</rr:PerformanceOneYearOrLess>
    <rr:PerformanceAdditionalMarketIndex
      contextRef="S000074333Member"
      id="t_47_8989a3f6_8fee_9b4c_874f_106c9ee60205">The table compares the Fund&#x2019;s performance to that of the Bloomberg U.S. Aggregate Bond Index (the &#x201c;Benchmark Index&#x201d;) and the ICE BofA US 3&#x2011;Month Treasury Bill Index (the &#x201c;Secondary Index&#x201d;). The Secondary Index is relevant to the Fund because it has characteristics similar to the Fund&#x2019;s investment strategy. </rr:PerformanceAdditionalMarketIndex>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="S000074333Member"
      id="t_32_75ed47d4_4c0d_83af_4ef8_f3cba2a937e2">As with all such investments, past performance (before and after taxes) is not an indication of future results.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="S000074333Member"
      id="t_33_a76da49a_ed24_809a_35b8_39d257145df7">www.ubs.com/prfunds</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="S000074333Member"
      id="t_34_c10c3b5f_00ff_adf6_9eb3_d8e2d81369d6">(787) 250&#x2011;3600</rr:PerformanceAvailabilityPhone>
    <rr:BarChartClosingTextBlock
      contextRef="S000074333Member"
      id="t_35_d8fb4b46_e60b_48ce_ad9e_f3f03abc44d2">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;During the ten&#x2011;year period shown in the bar chart, the highest return for a quarter was 1.49% (quarter ended 12/31/23) and the lowest return for a quarter was 0.00% (quarter ended 3/31/2017). The year&#x2011;to&#x2011;date return as of September&#160;30, 2024, was 3.28%. &lt;/div&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="S000074333Member_C000232065Member"
      id="t_36_9eccf64f_345e_04c9_8cc6_fe321ad2effd">highest return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_41_82ffd562_b2cc_cb8c_e4ce_70275fc0526b"
      unitRef="pure">0.0149</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="S000074333Member_C000232065Member"
      id="t_37_3c54cf44_df63_9ce5_ab06_399a678d93fc">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="S000074333Member_C000232065Member"
      id="t_38_b83d88c3_16cb_bd42_32fb_3913db8a5e69">lowest return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_42_17259226_4582_b8b3_c94e_2d43e95a87b7"
      unitRef="pure">0.0000</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="S000074333Member_C000232065Member"
      id="t_39_9d30c82d_5068_b998_9da3_d3c50784020d">2017-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:YearToDateReturnLabel
      contextRef="S000074333Member_C000232065Member"
      id="t_40_171b373e_53f6_da06_03de_e26460219f2f">year&#x2011;to&#x2011;date return</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="S000074333Member_C000232065Member"
      id="t_41_768ad78a_00bf_1f7d_0ab2_c9df47412563">2024-09-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_43_9e82fd0b_0023_6198_7e33_ba332f96266b"
      unitRef="pure">0.0328</rr:BarChartYearToDateReturn>
    <rr:PerformanceTableHeading
      contextRef="S000074333Member"
      id="t_42_28fbda5f_46b8_48b3_7589_53dcce9c753b"> For the periods ended 12/31/23 Average Annual Total Returns </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnYear01
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_26_1ec5f3d2_f89a_459a_a551_3e3f8490bf2a"
      unitRef="pure">0.0442</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_27_ddd0d3c8_ca4d_436f_824b_dbb6ce86259a"
      unitRef="pure">0.0132</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000074333Member_C000232065Member"
      decimals="4"
      id="h_28_e8b1b7c3_ff4e_4852_861c_2f44986361f6"
      unitRef="pure">0.0075</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="S000074333Member_C000232065Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_29_6999e681_2e10_43d9_85f7_ebf41793ad6d"
      unitRef="pure">0.0260</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000074333Member_C000232065Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_30_16a939d0_f336_4a67_b9ae_8b94500cb264"
      unitRef="pure">0.0078</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000074333Member_C000232065Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_31_968de14b_ff41_480a_a543_e5823cb6f3b4"
      unitRef="pure">0.0044</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="S000074333Member_C000232065Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_32_7c76e231_667c_4582_b59c_d0da3623cc8e"
      unitRef="pure">0.0260</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000074333Member_C000232065Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_33_c0342422_9d19_42fe_a1fe_aac4e7328404"
      unitRef="pure">0.0078</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000074333Member_C000232065Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_34_c010867c_0bcc_4b4e_bb39_d62f39dc804a"
      unitRef="pure">0.0044</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="S000074333Member_BloombergUSAggregateBondIndexMember"
      decimals="4"
      id="h_35_0fdc5c6c_ff39_4fcf_a307_67635a7dfb03"
      unitRef="pure">0.0553</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000074333Member_BloombergUSAggregateBondIndexMember"
      decimals="4"
      id="h_36_807bf738_6a00_4f9b_9ef2_761a2ca8a9a7"
      unitRef="pure">0.0110</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000074333Member_BloombergUSAggregateBondIndexMember"
      decimals="4"
      id="h_37_fd3d69bd_e251_445f_b3f3_59478c32a9fe"
      unitRef="pure">0.0181</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="S000074333Member_IceBofAUs3MonthTreasuryBillIndexMember"
      decimals="4"
      id="h_38_cb1b4811_9e6f_48ef_b09b_724e6f66e6d6"
      unitRef="pure">0.0505</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000074333Member_IceBofAUs3MonthTreasuryBillIndexMember"
      decimals="4"
      id="h_39_9dc27d61_9bf0_46c3_9111_8903e09669c8"
      unitRef="pure">0.0189</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000074333Member_IceBofAUs3MonthTreasuryBillIndexMember"
      decimals="4"
      id="h_40_82ddbcd8_376c_43b4_942b_7bc3b1c848e8"
      unitRef="pure">0.0126</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableNarrativeTextBlock
      contextRef="S000074333Member"
      id="t_43_4f17adb5_152e_b595_f353_7d0deb5936b1">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;After&#x2011;tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after&#x2011;tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after&#x2011;tax returns shown are not relevant to investors who hold Fund shares through tax&#x2011;deferred or tax&#x2011;advantaged arrangements, such as 401(k) plans or individual retirement accounts. &lt;/div&gt;</rr:PerformanceTableNarrativeTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="S000074333Member"
      id="t_44_b40558b0_5270_571c_9c6e_24f0d0422e14">After&#x2011;tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="S000074333Member"
      id="t_45_cdef2998_595b_cdf7_ddaa_e0b31697ad57">Actual after&#x2011;tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after&#x2011;tax returns shown are not relevant to investors who hold Fund shares through tax&#x2011;deferred or tax&#x2011;advantaged arrangements, such as 401(k) plans or individual retirement accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#h_10_7544c7c8_d303_42a5_a0b7_49146f4109f7"
          xlink:label="h_10_7544c7c8_d303_42a5_a0b7_49146f4109f7"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000002" xlink:label="f_0001_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;">UBS Trust Company of Puerto Rico, the Fund&#x2019;s administrator (in such capacity, the &#x201c;Administrator&#x201d;), and the Fund have entered into an Expense Limitation and Reimbursement Agreement (the &#x201c;Expense Limitation Agreement&#x201d;) whereby the Administrator will pay the Fund&#x2019;s other expenses in order to ensure that the Fund&#x2019;s net total operating expenses (excluding taxes, leverage, interest, brokerage commissions, dividends or interest expenses on short positions, acquired fund fees and expenses and extraordinary expenses) after fee waivers and/or expense reimbursements do not exceed 1.00% of the Fund&#x2019;s average daily net assets attributable to each share class of the Fund. The Fund may have to repay some of these fee waivers and/or expense reimbursements during the following three years. Any such repayment period is limited to three years from the date of the waiver/reimbursement. Any repayment by the Fund to the Administrator will not cause the Fund&#x2019;s expenses to exceed (i)&#160;the expense limitation at the time the fees are waived and (ii)&#160;the expense limitation in effect at the time of such reimbursement. The Expense Limitation Agreement is effective through January&#160;31, 2026, and may be renewed for subsequent periods; provided such continuance is approved by a majority of the non&#x2011;interested directors of the Fund (&#x201c;Independent Directors&#x201d;). Prior to January&#160;31, 2026, the Expense Limitation Agreement may not be terminated by either party. </xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_10_7544c7c8_d303_42a5_a0b7_49146f4109f7"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_13_28d88d09_cd0b_4efa_a6c9_585f369b8292"
          xlink:label="h_13_28d88d09_cd0b_4efa_a6c9_585f369b8292"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_13_28d88d09_cd0b_4efa_a6c9_585f369b8292"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_14_55dcdda4_a48e_406d_9c0e_54da295b8fb3"
          xlink:label="h_14_55dcdda4_a48e_406d_9c0e_54da295b8fb3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_14_55dcdda4_a48e_406d_9c0e_54da295b8fb3"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_35_0fdc5c6c_ff39_4fcf_a307_67635a7dfb03"
          xlink:label="h_35_0fdc5c6c_ff39_4fcf_a307_67635a7dfb03"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000003" xlink:label="f_0001_000003" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The Fund has added this broad-based securities market index in response to new regulatory requirements.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_35_0fdc5c6c_ff39_4fcf_a307_67635a7dfb03"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_36_807bf738_6a00_4f9b_9ef2_761a2ca8a9a7"
          xlink:label="h_36_807bf738_6a00_4f9b_9ef2_761a2ca8a9a7"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_36_807bf738_6a00_4f9b_9ef2_761a2ca8a9a7"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_37_fd3d69bd_e251_445f_b3f3_59478c32a9fe"
          xlink:label="h_37_fd3d69bd_e251_445f_b3f3_59478c32a9fe"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_37_fd3d69bd_e251_445f_b3f3_59478c32a9fe"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_5_104c6a61_4b77_4a1e_9f75_56c4fcb38004"
          xlink:label="h_5_104c6a61_4b77_4a1e_9f75_56c4fcb38004"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000001" xlink:label="f_0001_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;">&#x201c;Other Expenses&#x201d; include fees for certain shareholder services, custodial and transfer agency fees, legal, regulatory and accounting fees, printing costs and registration fees. </xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_5_104c6a61_4b77_4a1e_9f75_56c4fcb38004"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_5_104c6a61_4b77_4a1e_9f75_56c4fcb38004"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6_b7f6bb30_b8a3_4cd1_875a_dc9c1b842ccf"
          xlink:label="h_6_b7f6bb30_b8a3_4cd1_875a_dc9c1b842ccf"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6_b7f6bb30_b8a3_4cd1_875a_dc9c1b842ccf"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6_b7f6bb30_b8a3_4cd1_875a_dc9c1b842ccf"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_9_13c1b4f6_64e3_41c0_b13d_1d96e24f68a9"
          xlink:label="h_9_13c1b4f6_64e3_41c0_b13d_1d96e24f68a9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_9_13c1b4f6_64e3_41c0_b13d_1d96e24f68a9"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
