XML 145 R129.htm IDEA: XBRL DOCUMENT
v3.23.2

Income Taxes - Additional Information (Details) - USD ($) | 12 Months Ended |  |
--- | --- | --- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021
Operating Loss Carryforwards [Line Items] |  |  |
Increase (decrease) in valuation allowance | $ 122,000,000 |  |
Unrecognized tax benefits that would impact effective tax rate | 0 |  |
Increase in unrecognized tax benefits | 0 |  |
Decrease in unrecognized tax benefits | 0 |  |
Accrued interest and penalties related to unrecognized tax benefits | 0 | $ 0 | $ 0
Domestic Tax Authority |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating loss carryforwards | 3,393,300,000 |  |
NOL carryforwards subject to annual utilization limitation | 42,000,000 |  |
Domestic Tax Authority | Research Tax Credit Carryforward |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Tax credit carryforwards | 87,800,000 |  |
Foreign Tax Authority | Canada |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating loss carryforwards | 77,400,000 |  |
Foreign Tax Authority | U.K. |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating loss carryforwards | 9,600,000 |  |
State and Local Jurisdiction |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Net operating loss carryforwards | 4,706,700,000 |  |
Tax credit carryforwards | 2,600,000 |  |
NOL carryforwards subject to annual utilization limitation | 36,400,000 |  |
State and Local Jurisdiction | Research Tax Credit Carryforward |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Tax credit carryforwards | $ 41,900,000 |  |

X
- Definition Operating Loss Carryforwards, Subject To Expiration + References No definition available. + Details
Name: | afrm_OperatingLossCarryforwardsSubjectToExpiration
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of decrease reasonably possible in the next twelve months for the unrecognized tax benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase reasonably possible in the next twelve months for the unrecognized tax benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncreaseInUnrecognizedTaxBenefitsIsReasonablyPossible
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-3 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_OperatingLossCarryforwardsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-3 + Details
Name: | us-gaap_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-2 + Details
Name: | us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxCreditCarryforwardAxis=us-gaap_ResearchMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_ForeignCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_GB
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |