XML 135 R97.htm IDEA: XBRL DOCUMENT
v3.22.1

Schedule of fair value measurement (Details) - BRL (R$) R$ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Trade receivable (non-current) | R$ 27,442 | R$ 7,627
Loans and financing | (1,387,136) | (637,723)
Lease liabilities | (714,085) |
Accounts payable to selling shareholders | (679,826) | (518,240)
Notes payable | (72,726) |
Restricted Cash |  | 2,053
Lease liabilities |  | (447,703)
Notes payable |  | (76,181)
Level 2 of fair value hierarchy [member] |  |
IfrsStatementLineItems [Line Items] |  |
Trade receivable (non-current) | 27,442 | 7,627
Loans and financing | (1,387,136) | (637,723)
Lease liabilities | (714,085) |
Accounts payable to selling shareholders | (679,826) | (518,240)
Notes payable | (72,726) |
Restricted Cash |  | 2,053
Lease liabilities |  | (447,703)
Notes payable |  | (76,181)
Level 3 of fair value hierarchy [member] |  |
IfrsStatementLineItems [Line Items] |  |
Trade receivable (non-current) |  |
Not measured at fair value in statement of financial position but for which fair value is disclosed [member] |  |
IfrsStatementLineItems [Line Items] |  |
Trade receivable (non-current) |  |

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

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

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

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

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

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

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level2OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level3OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MeasurementAxis=ifrs-full_NotMeasuredAtFairValueInStatementOfFinancialPositionButForWhichFairValueIsDisclosedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |