XML 123 R101.htm IDEA: XBRL DOCUMENT
v3.22.4

Income and other taxes - Net deferred income tax assets and liabilities (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | $ (180,643) | $ (114,536) | $ (75,868)
Deferred tax assets | 46,353 | 98,169 |
Deferred tax liabilities | (226,996) | (212,705) |
Property, plant and equipment (owned) |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (403,505) | (427,001) |
Deferred tax assets | (230,756) | (253,108) |
Deferred tax liabilities | (172,749) | (173,893) |
Right-of-use assets |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (33,477) | (35,571) |
Deferred tax assets | (26,486) | (28,047) |
Deferred tax liabilities | (6,991) | (7,524) |
Repatriation taxes |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (106,989) | (106,339) |
Deferred tax assets | 0 | 0 |
Deferred tax liabilities | (106,989) | (106,339) |
Other |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (78,305) | (13,467) |
Deferred tax assets | (60,850) | (270) |
Deferred tax liabilities | (17,455) | (13,197) |
Temporary differences including temporary differences with liability balances |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (622,276) | (582,378) |
Deferred tax assets | (318,092) | (281,425) |
Deferred tax liabilities | (304,184) | (300,953) |
Non-capital loss carryforwards |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 353,986 | 370,642 |
Deferred tax assets | 322,608 | 329,405 |
Deferred tax liabilities | 31,378 | 41,237 |
Lease obligations |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 46,438 | 48,481 |
Deferred tax assets | 35,957 | 37,153 |
Deferred tax liabilities | 10,481 | 11,328 |
Share-based compensation |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 17,068 | 14,063 |
Deferred tax assets | 2,096 | 1,832 |
Deferred tax liabilities | 14,972 | 12,231 |
Other |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 24,141 | 34,656 |
Deferred tax assets | 3,784 | 11,204 |
Deferred tax liabilities | 20,357 | 23,452 |
Temporary differences including temporary differences with asset balances |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 441,633 | 467,842 |
Deferred tax assets | 364,445 | 379,594 |
Deferred tax liabilities | $ 77,188 | $ 88,248 |

X
- Definition The amount of deferred tax liabilities or assets. [Refer: Deferred tax liabilities; Deferred tax assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DeferredTaxLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Deferred tax assets, including offset amount + References No definition available. + Details
Name: | mx_DeferredTaxAssetsIncludingOffsetAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Deferred tax liabilities, including offset amount + References No definition available. + Details
Name: | mx_DeferredTaxLiabilitiesIncludingOffsetAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_PropertyPlantAndEquipmentRelatedTemporaryDifferencesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_RightofuseAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_RepatriationRelatedTemporaryDifferencesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_OtherTemporaryDifferencesWithLiabilityBalancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ifrs-full_UnusedTaxLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_LeaseObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_ShareBasedCompensationRelatedTemporaryDifferencesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_OtherTemporaryDifferencesWithAssetBalancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |