XML 142 R104.htm IDEA: XBRL DOCUMENT
v3.22.1

Schedule of revenue by segment (Details) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
IfrsStatementLineItems [Line Items] |  |  |  |
Types of services or goods |  | R$ 1,719,371 | R$ 1,201,191 | R$ 750,630
Tuition fees | [1] | 2,124,589 | 1,388,735 | 856,561
Tuition fees |  | 1,559,094 | 1,104,252 | 709,152
Other |  | 160,277 | 96,939 | 41,478
Timing of revenue recognition |  | 1,719,371 | 1,201,191 | 750,630
Transferred over time |  | 1,640,889 | 1,128,558 | 713,827
Transferred at a point in time |  | 78,482 | 72,633 | 36,803
Undergrad [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Types of services or goods |  | 1,498,408 | 1,002,461 | 653,760
Tuition fees |  | 1,486,111 |  | 648,957
Other |  | 12,297 | 5,406 | 4,803
Timing of revenue recognition |  | 1,498,408 | 1,002,461 | 653,760
Transferred over time |  | 1,486,111 | 997,055 | 648,957
Transferred at a point in time |  | 12,297 | 5,406 | 4,803
Continuing Education [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Types of services or goods |  | 72,983 | 107,197 | 64,870
Tuition fees |  | 72,983 |  | 60,195
Tuition fees |  |  | 107,197 |
Other |  |  |  | 4,675
Timing of revenue recognition |  | 72,983 | 107,197 | 64,870
Transferred over time |  | 72,983 | 107,197 | 64,870
Transferred at a point in time |  |  |  |
Digital Services [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Types of services or goods |  | 151,958 | 93,152 | 35,880
Tuition fees |  |  |  |
Other |  | 151,958 | 93,152 | 35,880
Timing of revenue recognition |  | 151,958 | 93,152 | 35,880
Transferred over time |  | 81,795 | 24,306 |
Transferred at a point in time |  | 70,163 | 68,846 | 35,880
Elimination of intersegment amounts [member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Types of services or goods |  | (3,978) | (1,619) | (3,880)
Tuition fees |  |  |  |
Other |  | (3,978) | (1,619) | (3,880)
Timing of revenue recognition |  | (3,978) | (1,619) | (3,880)
Transferred at a point in time |  | R$ (3,978) | (1,619) | R$ (3,880)
Segment Of Business One Unit [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Tuition fees |  |  | R$ 997,055 |
[1] | As mentioned in Note 1, the Company assessed, in connection with the social distancing requirements, whether it has satisfied all performance obligations of its contracts with customers, according to IFRS15, and concluded it was necessary to defer a portion of its net revenues in the second semester of 2020. As result, R$2,361 of net revenue were deferred to the first semester of 2021 and recorded in advances from customers.

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_NetRevenueOtherTransferredPoint
Namespace Prefix: | afya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

X
- Definition The amount of income relating to fees and commissions. + 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_FeeAndCommissionIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of revenue arising from sources that the entity does not separately disclose in the same statement or note. [Refer: Revenue] + 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_OtherRevenue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow to suppliers for goods and services. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 14 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_14_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_PaymentsToSuppliersForGoodsAndServices
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of fees paid or payable for professional services. + 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_ProfessionalFeesExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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=ifrs-full_EliminationOfIntersegmentAmountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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