XML 127 R89.htm IDEA: XBRL DOCUMENT
v3.22.1

Schedule of accounts payable to selling shareholders (Details) - BRL (R$) R$ in Thousands |  |  |  |  |  |  |  | 12 Months Ended |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Nov. 05, 2021 | Oct. 01, 2021 | Aug. 04, 2021 | May 13, 2021 | Apr. 16, 2021 | Apr. 08, 2021 | Mar. 25, 2021 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Nov. 01, 2022 | Apr. 03, 2022 | Oct. 04, 2021 | Apr. 03, 2021 | Mar. 05, 2021 | Nov. 09, 2020 | Nov. 04, 2020 | Nov. 03, 2020 | Oct. 01, 2020 | May 05, 2020 | Apr. 03, 2020 | Jan. 31, 2020 | Aug. 13, 2019 | May 09, 2019 | May 27, 2018
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | R$ 679,826 | R$ 518,240 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Accounts payable to selling shareholders |  |  |  |  |  |  |  | 679,826 | 518,240 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Current |  |  |  |  |  |  |  | 239,849 | 188,420 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Non-current |  |  |  |  |  |  |  | 439,977 | 329,820 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Closing balance |  |  |  |  |  |  |  | 679,826 | 518,240 | R$ 300,237 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash on the transaction closing date |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 36 | R$ 1,569 |  |  |  |  |  |  |
Defined benefit obligation, at present value |  |  |  | R$ 2,141 | R$ 3,050 | R$ 6,801 | R$ 3,887 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Transaction price allocated to remaining performance obligations | R$ 54,000 |  |  | R$ 454 |  |  |  |  |  |  |  | R$ 10,245 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Non-current payables for purchase of energy |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 618,956 |  |  |  |  |  |  |  |  |  |  |  |
Accounts Payable To Selling Shareholders [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 518,240 | 300,237 | 177,730 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash flows |  |  |  |  |  |  |  | (192,681) | (134,518) | (92,688) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Acquisition of IPEC |  |  |  |  |  |  |  | 54,000 |  | 54,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest |  |  |  |  |  |  |  | 31,915 | 13,884 | 17,977 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business combinations |  |  |  |  |  |  |  | 243,816 | 343,140 | 144,538 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration on Business combinations |  |  |  |  |  |  |  | 24,536 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Compensation of legal proceedings disbursement |  |  |  |  |  |  |  |  | (4,503) | R$ (1,320) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Instituto De Ensino Superior Do Piaui S A [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  |  | R$ 38,771 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  | 100.00% | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 106,200
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 35,400
Instituto Educacional Santo Agostinho S A [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | R$ 41,581 | R$ 70,356 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  | 100.00% | 100.00% | 90.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  | R$ 29,770 |  | R$ 29,770 |  |  |  |  |  |  | R$ 39,695 |  |  |  |
Institutode Pesquisae Ensino Medicodo Estadode Minas Gerais Ltda [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | R$ 30,233 | R$ 38,622 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  | 100.00% | 100.00% | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 45,303 |
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 500,000 |  |  |  |  | 100,000 |
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 9,061 |
Instituto Paraensede Educacaoe Cultura Ltda [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  |  | R$ 28,307 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  | 100.00% | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 54,000 |  |
Uni Redentor [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | R$ 85,506 | R$ 97,773 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 100,000 |  |  |
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 4,503 |  |  |
Uni S L [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 42,672 | R$ 53,386 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 4,400 |  |  |  |  | R$ 60,456 |  |  |  |  |
Equal installments payables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | R$ 7,816 |  |  |  |  |
F C M P B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 149,175 | R$ 189,420 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Remaining accounts payable | R$ 54,000 | R$ 21,000 |  | R$ 1,793 | R$ 3,000 | R$ 9,000 |  |  |  |  |  |  |  |  |  |  | R$ 188,894 |  |  |  |  |  |  |  |  |
F E S A R [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  |  | R$ 1,569 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
MEDPHONE [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  |  | R$ 36 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Medicinae [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 3,887 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Medical Harbour [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 6,801 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cliquefarma [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 3,050 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shosp [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 2,141 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unigranrio [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 249,979 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
R X P R O [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | 10,245 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Guaranhuns [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Opening balance |  |  |  |  |  |  |  | R$ 54,556 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Instituto De Educacao Superior Do Vale Do Parnaiba S A [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership Interest |  |  |  |  |  |  |  | 80.00% | 80.00% |  | 80.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition The amount refers to accounts payable to selling shareholder cash flows. + References No definition available. + Details
Name: | afya_AccountsPayableToSellingShareholderCashFlows
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount refers to accounts payable to selling shareholders acquisition of ipec. + References No definition available. + Details
Name: | afya_AccountsPayableToSellingShareholdersAcquisitionOfIpec
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount refers to accounts payable to selling shareholders business combinations. + References No definition available. + Details
Name: | afya_AccountsPayableToSellingShareholdersBusinessCombinations
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount refers to accounts payable to selling shareholders current. + References No definition available. + Details
Name: | afya_AccountsPayableToSellingShareholdersCurrent
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount refers to accounts payable to selling shareholders non current. + References No definition available. + Details
Name: | afya_AccountsPayableToSellingShareholdersNonCurrent
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount refers to compensation of legal proceedings disbursement. + References No definition available. + Details
Name: | afya_CompensationOfLegalProceedingsDisbursement
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_ContingentConsiderationOnBusinessCombinations
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_IfrsStatementLineItems
Namespace Prefix: | afya_
Data Type: | xbrli:stringItemType
Balance Type: | na
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_TradeAndOtherPayablesToRelatedParties1
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | afya_TradeAndOtherPayablesToRelatedParties2
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 2021-01-01 -Paragraph 57 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_57_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_DefinedBenefitObligationAtPresentValue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of expense arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 23 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_d&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2021-01-01 -Paragraph 28 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_e&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph B13 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B13_f&doctype=Appendix&subtype=B -URIDate 2021-03-24 + Details
Name: | ifrs-full_InterestExpense
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 2021-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78&doctype=Standard -URIDate 2021-03-24 + 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 2021-01-01 -Paragraph 12 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_12_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of payables due to related parties. [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_TradeAndOtherPayablesToRelatedParties
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 2021-01-01 -Paragraph 120 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_120_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_TransactionPriceAllocatedToRemainingPerformanceObligations
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfFinancialLiabilitiesAxis=afya_AccountsPayableToSellingShareholdersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_InstitutoEducacionalSantoAgostinhoSAMember
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_InstitutoParaensedeEducacaoeCulturaLtdaMember
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_FESARMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=afya_MedicinaeMember
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_CliquefarmaMember
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_GuaranhunsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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