XML 120 R98.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income and other taxes - Net deferred income tax assets and liabilities (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | $ (114,536) | $ (75,868) | $ (161,206)
Deferred tax assets | 98,169 | 137,524 |
Deferred tax liabilities | (212,705) | (213,392) |
Property, plant and equipment (owned) |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (427,001) | (448,533) |
Deferred tax assets | (253,108) | (262,020) |
Deferred tax liabilities | (173,893) | (186,513) |
Right-of-use assets |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (35,571) | (43,386) |
Deferred tax assets | (28,047) | (35,297) |
Deferred tax liabilities | (7,524) | (8,089) |
Repatriation taxes |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (106,339) | (102,370) |
Deferred tax assets | 0 | 0 |
Deferred tax liabilities | (106,339) | (102,370) |
Other |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (13,467) | (15,205) |
Deferred tax assets | (270) | 0 |
Deferred tax liabilities | (13,197) | (15,205) |
Temporary differences including temporary differences with liability balances |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | (582,378) | (609,494) |
Deferred tax assets | (281,425) | (297,317) |
Deferred tax liabilities | (300,953) | (312,177) |
Non-capital loss carryforwards |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 370,642 | 391,132 |
Deferred tax assets | 329,405 | 339,396 |
Deferred tax liabilities | 41,237 | 51,736 |
Lease obligations |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 48,481 | 56,894 |
Deferred tax assets | 37,153 | 44,455 |
Deferred tax liabilities | 11,328 | 12,439 |
Share-based compensation |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 14,063 | 14,669 |
Deferred tax assets | 1,832 | 1,758 |
Deferred tax liabilities | 12,231 | 12,911 |
Other |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 34,656 | 70,931 |
Deferred tax assets | 11,204 | 49,232 |
Deferred tax liabilities | 23,452 | 21,699 |
Temporary differences including temporary differences with asset balances |  |  |
Disclosure of temporary difference, unused tax losses and unused tax credits [line items] |  |  |
Net | 467,842 | 533,626 |
Deferred tax assets | 379,594 | 434,841 |
Deferred tax liabilities | $ 88,248 | $ 98,785 |

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 2021-01-01 -Paragraph 81 -Subparagraph g -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2021-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: |