XML 132 R95.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Financial assets and financial liabilities (Details Narrative) R$ in Thousands |  |  |  |  |  |  |  |  |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 02, 2023 BRL (R$) | Apr. 05, 2022 BRL (R$) | Mar. 23, 2022 BRL (R$) | Mar. 04, 2022 BRL (R$) | Nov. 05, 2021 BRL (R$) | Oct. 02, 2021 BRL (R$) | Aug. 04, 2021 BRL (R$) | May 13, 2021 BRL (R$) | Apr. 08, 2021 BRL (R$) | Nov. 09, 2020 BRL (R$) | May 05, 2020 BRL (R$) | May 09, 2019 BRL (R$) | Feb. 01, 2023 BRL (R$) | Jan. 31, 2020 BRL (R$) | Dec. 31, 2023 BRL (R$) Number | Dec. 31, 2022 BRL (R$) | Dec. 31, 2021 BRL (R$) | Feb. 29, 2024 BRL (R$) | Feb. 28, 2023 BRL (R$) | May 23, 2022 BRL (R$) | Feb. 28, 2022 BRL (R$) | Feb. 28, 2021 BRL (R$) | Jan. 31, 2021 BRL (R$) | Feb. 29, 2020 BRL (R$)
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount recognized lease expense from short-term leases and low-value assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 10,871 | R$ 12,153 | R$ 11,229 |  |  |  |  |  |  |
Adjustment for purchase consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 99,399 | R$ 1,234,460 |  |  |  |  |  |  |
Currency risk [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Exposure risk |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 23,173 | R$ 24,447 |  |  |  |  |  |  |  |
Percentage of sensitivity change in the Euro exchange rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00% |  |  |  |  |  |  |  |  |
Closing foreign exchange rate | Number |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 4.8413 |  |  |  |  |  |  |  |  |
Currency risk [member] | Euro Member Countries, Euro |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Closing foreign exchange rate | Number |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.00 |  |  |  |  |  |  |  |  |
Institutode Pesquisae Ensino Medicodo Estadode Minas Gerais Ltda [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  | R$ 45,303 |  |  |  |  |  |  |  |  |  |  |  |
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 9,061 | R$ 9,061 |  | R$ 9,061 | R$ 9,061 |  | R$ 9,061
Uni Redentor [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 100,000 |  |  |  |  |  |  |  |  |  |
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 4,503 |
Uni S L [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  | R$ 60,456 |  |  |  |  |  |  |  |  |  |  |  |  |
Equal installments payables |  |  |  |  |  |  |  |  |  |  | R$ 7,816 |  |  |  |  |  |  |  |  |  |  |  |  |
FCMPB [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  | R$ 188,894 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Medical Harbour [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  | R$ 9,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Defined benefit obligation |  |  |  |  |  |  |  |  | R$ 3,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shosp [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  | R$ 513 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Transaction price allocated to remaining performance obligations |  |  |  |  |  |  |  | R$ 454 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unigranrio [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Non-current payables for purchase of energy |  |  |  |  |  |  | R$ 618,956 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
RXPRO [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  | R$ 21,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Transaction price allocated to remaining performance obligations |  |  |  |  |  | R$ 1,781 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
I T P A C Garanhuns [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  | R$ 54,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Transaction price allocated to remaining performance obligations |  |  |  |  | R$ 54,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Alem Da Medicina [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  | R$ 19,200 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equal installments payables |  |  |  | 763 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Defined benefit obligation |  |  |  | 18,325 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration to be transferred |  |  |  | R$ 763 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cardio Papers [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  | R$ 15,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equal installments payables |  | 333 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Defined benefit obligation |  | 14,173 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration to be transferred |  | R$ (333) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Glic [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  | R$ 12,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Defined benefit obligation |  |  | 9,520 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining balance paid |  |  | R$ 3,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration to be transferred |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Del Rey [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Transaction price allocated to remaining performance obligations | R$ 575,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Non-current payables for purchase of energy | 816,236 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration to be transferred | 234,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Adjustment for purchase consideration |  |  |  |  |  |  |  |  |  |  |  |  | R$ 16,000 |  |  |  |  |  |  |  |  |  |  |
First annual installment | 134,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Second annual installment | 50,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Third annual installment | 50,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value at the date of acquisition | R$ 7,236 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Bottom of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contractual lease term |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 years |  |  |  |  |  |  |  |  |
Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contractual lease term |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 years |  |  |  |  |  |  |  |  |

X
- References No definition available. + Details
Name: | afya_AcquisitiondateFairValueOfTotalConsiderationTransferred1
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | afya_ConsiderationToBeTransferred
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount of equal installments payables due to related parties. + References No definition available. + Details
Name: | afya_EqualInstallmentsPayablesToRelatedParties
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | afya_EqualInstallmentsPayablesToRelatedParties1
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | afya_FirstAnnualInstallmentsPayable
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_RemainingBalancePaid
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The remaining amount of payables due to related parties. + References No definition available. + Details
Name: | afya_RemainingTradeAndOtherPayablesToRelatedParties
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Information about percentage of sensitivity change in the euro exchange rate. + References No definition available. + Details
Name: | afya_SensitivityChangeInTheEuroExchangeRate
Namespace Prefix: | afya_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ClosingForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of consideration paid or received in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 40 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_40_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ConsiderationPaidReceived
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of exposure to loss resulting from credit risk. [Refer: Credit risk [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expired 2023-01-01 -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 36 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_36_c&doctype=Standard&book=b -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Note Expired 2023-01-01 -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph IG24 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG24_b&doctype=Implementation%20Guidance&book=b -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Note Expired 2023-01-01 -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph IG25 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG25_a&doctype=Implementation%20Guidance&book=b -URIDate 2023-03-23 + Details
Name: | ifrs-full_CreditExposure
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The present value, without deducting any plan assets, of expected future payments required to settle the obligation resulting from employee service in the current and prior periods. [Refer: Plan assets, at fair value] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 57 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_57_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DefinedBenefitObligationAtPresentValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of the expense relating to leases of low-value assets accounted for applying paragraph 6 of IFRS 16. This expense shall not include the expense relating to short-term leases of low-value assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of non-current payables for the purchase of energy. [Refer: Payables for purchase of energy] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NoncurrentPayablesForPurchaseOfEnergy
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The proportion of ownership interests in a subsidiary held by non-controlling interests. [Refer: Subsidiaries [member]; Non-controlling interests] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 12 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_12_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the transaction price allocated to the performance obligations that are unsatisfied (or partially unsatisfied) as of the end of the reporting period. The transaction price is the amount of consideration to which an entity expects to be entitled in exchange for transferring promised goods or services to a customer, excluding amounts collected on behalf of third parties (for example, some sales taxes). [Refer: Performance obligations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 120 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_120_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_TransactionPriceAllocatedToRemainingPerformanceObligations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_CurrencyRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=currency_EUR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_InstitutodePesquisaeEnsinoMedicodoEstadodeMinasGeraisLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_UniRedentorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_UniSLMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_FCMPBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_MedicalHarbourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_ShospMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_UnigranrioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_RXPROMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_ITPACGaranhunsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_AlemDaMedicinaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_CardioPapersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_GlicMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_DelReyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |