XML 95 R57.htm IDEA: XBRL DOCUMENT
v3.22.1

Schedule of operating income for each operating segment (Details) - BRL (R$) R$ in Thousands |  | 12 Months Ended
--- | --- | ---
Apr. 08, 2021 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
IfrsStatementLineItems [Line Items] |  |  |  |
Net revenue | R$ 1,945 | R$ 1,719,371 | R$ 1,201,191 | R$ 750,630
Cost of services |  | (652,300) | (434,654) | (308,853)
Gross profit |  | 1,067,071 | 766,537 | 441,777
General and administrative expenses |  | (622,615) | (402,855) | (239,120)
Operating income |  | 440,895 | 363,335 | 205,251
Finance income |  | 64,566 | 62,290 | 51,689
Income before income taxes |  | 273,462 | 335,054 | 186,937
Income taxes expenses |  | 31,179 | 27,067 | 14,175
Net income |  | 242,283 | 307,987 | 172,762
Operating segments [member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
External customer |  | 1,719,371 | 1,201,191 | 750,630
Inter-segment |  |  |  |
Net revenue |  | 1,719,371 | 1,201,191 | 750,630
Cost of services |  | (652,300) | (434,654) | (308,853)
Gross profit |  | 1,067,071 | 766,537 | 441,777
General and administrative expenses |  | (622,615) | (402,855) | (239,120)
Other expenses, net |  | (3,561) | (347) | 2,594
Operating income |  | 440,895 | 363,335 | 205,251
Finance income |  | 64,566 | 62,290 | 51,689
Finance expenses |  | (243,796) | (98,269) | (72,365)
Share of income of associate |  | 11,797 | 7,698 | 2,362
Income before income taxes |  | 273,462 | 335,054 | 186,937
Income taxes expenses |  | (31,179) | (27,067) | (14,175)
Net income |  | 242,283 | 307,987 | 172,762
Operating segments [member] | Undergrad [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
External customer |  | 1,498,408 | 1,002,461 | 653,760
Inter-segment |  |  |  |
Net revenue |  | 1,498,408 | 1,002,461 | 653,760
Cost of services |  | (554,995) | (381,964) | (279,066)
Gross profit |  | 943,413 | 620,497 | 374,694
Other expenses, net |  |  |  |
Operating income |  |  |  |
Finance income |  |  |  |
Finance expenses |  |  |  |
Share of income of associate |  |  |  |
Income before income taxes |  |  |  |
Income taxes expenses |  |  |  |
Net income |  |  |  |
Operating segments [member] | Continuing Education [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
External customer |  | 72,983 | 107,197 | 64,870
Inter-segment |  |  |  |
Net revenue |  | 72,983 | 107,197 | 64,870
Cost of services |  | (50,773) | (40,000) | (29,261)
Gross profit |  | 22,210 | 67,197 | 35,609
Other expenses, net |  |  |  |
Operating income |  |  |  |
Finance income |  |  |  |
Finance expenses |  |  |  |
Share of income of associate |  |  |  |
Income before income taxes |  |  |  |
Income taxes expenses |  |  |  |
Net income |  |  |  |
Operating segments [member] | Digital Services [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
External customer |  | 147,980 | 91,533 | 32,000
Inter-segment |  | 3,978 | 1,619 | 3,880
Net revenue |  | 151,958 | 93,152 | 35,880
Cost of services |  | (50,510) | (14,309) | (4,406)
Gross profit |  | 101,448 | 78,843 | 31,474
Other expenses, net |  |  |  |
Operating income |  |  |  |
Finance income |  |  |  |
Finance expenses |  |  |  |
Share of income of associate |  |  |  |
Income before income taxes |  |  |  |
Income taxes expenses |  |  |  |
Net income |  |  |  |
Operating segments [member] | Total Reportable Segments [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
External customer |  | 1,719,371 | 1,201,191 | 750,630
Inter-segment |  | 3,978 | 1,619 | 3,880
Net revenue |  | 1,723,349 | 1,202,810 | 754,510
Cost of services |  | (656,278) | (436,273) | (312,733)
Gross profit |  | 1,067,071 | 766,537 | 441,777
Other expenses, net |  |  |  |
Operating income |  |  |  |
Finance income |  |  |  |
Finance expenses |  |  |  |
Share of income of associate |  |  |  |
Income before income taxes |  |  |  |
Income taxes expenses |  |  |  |
Net income |  |  |  |
Operating segments [member] | Adjustments And Eliminations [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
External customer |  |  |  |
Inter-segment |  | (3,978) | (1,619) | (3,880)
Net revenue |  | (3,978) | (1,619) | (3,880)
Cost of services |  | 3,978 | R$ 1,619 | R$ 3,880
Gross profit |  |  |  |
Other expenses, net |  |  |  |
Operating income |  |  |  |
Finance income |  |  |  |
Finance expenses |  |  |  |
Share of income of associate |  |  |  |
Income before income taxes |  |  |  |
Income taxes expenses |  |  |  |
Net income |  |  |  |

X
- References No definition available. + Details
Name: | afya_DepositsFromExternalCustomer
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_FinanceExpense
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_IfrsStatementLineItems
Namespace Prefix: | afya_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_InterSegment
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for gain (loss) on disposals investments in subsidiaries, joint ventures and associates to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Associates [member]; Joint ventures [member]; Subsidiaries [member]; Investments in subsidiaries, joint ventures and associates reported in separate financial statements; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 99 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_99&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CostOfSales
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income associated with interest and other financing activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_FinanceIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense relating to general and administrative activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_GeneralAndAdministrativeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of revenue less cost of sales. [Refer: Cost of sales; Revenue] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_GrossProfit
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate amount included in the determination of profit (loss) for the period in respect of current tax and deferred tax. [Refer: Current tax expense (income); Deferred tax expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 26 -IssueDate 2021-01-01 -Paragraph 35 -Subparagraph b -Clause viii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=26&code=ifrs-tx-2021-en-r&anchor=para_35_b_viii&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -Subparagraph h -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_h&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2021-01-01 -Paragraph 79 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_79&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2021-01-01 -Paragraph 81 -Subparagraph c -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 82 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_82_d&doctype=Standard -URIDate 2021-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2021-01-01 -Paragraph 81 -Subparagraph c -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2021-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B13 -Subparagraph g -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B13_g&doctype=Appendix&subtype=B -URIDate 2021-03-24 + Details
Name: | ifrs-full_IncomeTaxExpenseContinuingOperations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The gains (losses) that the entity does not separately disclose in the same statement or note. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_102&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_OtherGainsLosses
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 18 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_18_b&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2021-01-01 -Paragraph 24 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2021-en-r&anchor=para_24_b&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2021-01-01 -Paragraph 32 -Subparagraph a -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2021-en-r&anchor=para_32_a_ii&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 28 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_b&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Note Effective on first application of IFRS 9 -Name IFRS -Number 4 -IssueDate 2021-01-01 -Paragraph 39L -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2021-en-b&anchor=para_39L_e&doctype=Standard -URIDate 2021-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23&doctype=Standard -URIDate 2021-03-24 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Note Effective 2023-01-01 -Name IFRS -Number 17 -IssueDate 2021-01-01 -Paragraph 113 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_113_b&doctype=Standard -URIDate 2021-03-24 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B10 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2021-03-24 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 106 -Subparagraph d -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_d_i&doctype=Standard -URIDate 2021-03-24 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 81A -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81A_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProfitLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The profit (loss) before tax expense or income. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 28 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_b&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_102&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2021-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProfitLossBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The profit (loss) from operating activities of the entity. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 32 -IssueDate 2021-01-01 -Paragraph IE33 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=32&code=ifrs-tx-2021-en-r&anchor=para_IE33&doctype=Illustrative%20Examples -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProfitLossFromOperatingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 28 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_a&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_a&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 32 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_32&doctype=Standard -URIDate 2021-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 33 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_33_a&doctype=Standard -URIDate 2021-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 34 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_34&doctype=Standard -URIDate 2021-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 82 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_82_a&doctype=Standard -URIDate 2021-03-24 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard -URIDate 2021-03-24 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_102&doctype=Standard -URIDate 2021-03-24 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2021-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2021-03-24 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B12 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2021-03-24 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B10 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2021-03-24 + Details
Name: | ifrs-full_Revenue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_SegmentConsolidationItemsAxis=ifrs-full_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=afya_UndergradMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=afya_ContinuingEducationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=afya_DigitalServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=afya_TotalReportableSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=afya_AdjustmentsAndEliminationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |