XML 122 R99.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Income and other taxes - Net deferred income tax assets and liabilities (Details) - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | $ (65,590) | $ (180,643) | $ (114,536)
Deferred tax assets | 152,250 | 46,353 |
Deferred tax liabilities | (217,840) | (226,996) |
Temporary differences including temporary differences with liability balances |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (540,343) | (622,276) |
Deferred tax assets | (227,212) | (318,092) |
Deferred tax liabilities | (313,131) | (304,184) |
Property, plant and equipment (owned) |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (363,644) | (403,505) |
Deferred tax assets | (189,646) | (230,756) |
Deferred tax liabilities | (173,998) | (172,749) |
Right-of-use assets |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (35,883) | (33,477) |
Deferred tax assets | (28,299) | (26,486) |
Deferred tax liabilities | (7,584) | (6,991) |
Repatriation taxes |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (109,186) | (106,989) |
Deferred tax assets | (7) | 0 |
Deferred tax liabilities | (109,179) | (106,989) |
Other |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (31,630) | (78,305) |
Deferred tax assets | (9,259) | (60,850) |
Deferred tax liabilities | (22,371) | (17,455) |
Temporary differences including temporary differences with asset balances |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 474,753 | 441,633 |
Deferred tax assets | 379,462 | 364,445 |
Deferred tax liabilities | 95,291 | 77,188 |
Non-capital loss carryforwards |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 358,774 | 353,986 |
Deferred tax assets | 321,602 | 322,608 |
Deferred tax liabilities | 37,172 | 31,378 |
Lease obligations |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 48,633 | 46,438 |
Deferred tax assets | 37,854 | 35,957 |
Deferred tax liabilities | 10,779 | 10,481 |
Share-based compensation |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 16,391 | 17,068 |
Deferred tax assets | 651 | 2,096 |
Deferred tax liabilities | 15,740 | 14,972 |
Other |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 50,955 | 24,141 |
Deferred tax assets | 19,355 | 3,784 |
Deferred tax liabilities | $ 31,600 | $ 20,357 |

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 2023-01-01 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2023-03-23 + 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_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember
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: |