XML 133 R111.htm IDEA: XBRL DOCUMENT
v3.22.4

Financial instruments - Changes in cash flow hedges and excluded forward element (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Financial Instruments [Abstract] |  |
Change in fair value of cash flow hedges | $ (27,742) | $ 289,824
Forward element excluded from hedging relationships | 406,029 | (101,401)
Changes in cash flow hedges and excluded forward element | $ 378,287 | $ 188,423

X
- Definition The gains (losses) recognised in other comprehensive income on cash flow hedges, before tax, before reclassification adjustments. [Refer: Cash flow hedges [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_91_b&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 23 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_23_c&doctype=Standard&book=b -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) recognised in other comprehensive income on change in value of forward elements of forward contracts, before tax, before reclassification adjustments. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_91_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesOnChangeInValueOfForwardElementsOfForwardContractsBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) on hedging instruments in fair value hedges. [Refer: Fair value hedges [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2023-01-01 -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 24 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_24_a_i&doctype=Standard&book=b -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainsLossesOnHedgingInstrument
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financial instruments [Abstract] + References No definition available. + Details
Name: | mx_FinancialInstrumentsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration