XML 128 R105.htm IDEA: XBRL DOCUMENT
v3.20.4

Financial instruments - Fair value measurement (Details) - USD ($) $ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial assets | $ 1,285,583 | $ 930,166
Financial liabilities | 3,044,800 | 2,370,617
Trade, other payables and accrued liabilities, excluding tax payable | Financial liabilities at amortised cost, category |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial liabilities | 500,056 | 406,260
Long-term debt, including current portion | Financial liabilities at amortised cost, category |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial liabilities | 2,363,372 | 1,768,853
Cash flow hedges | Derivative instruments | Financial liabilities at fair value through other comprehensive income, category |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial liabilities | 181,372 | 195,504
Derivative instruments | Financial assets measured at fair value | Cash flow hedges |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial assets | 3,371 | 10
Cash and cash equivalents | Financial assets not measured at fair value |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial assets | 833,841 | 416,763
Trade and other receivables, excluding tax receivable | Financial assets not measured at fair value |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial assets | 406,392 | 473,980
Restricted cash included in other assets | Financial assets not measured at fair value |  |
Disclosure Of Fair Value Measurement Of Assets And Liabilities [Line Items] |  |
Financial assets | $ 41,979 | $ 39,413

X
- Definition The amount of assets that are: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favourable to the entity; or (d) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to receive a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose the entity’s own equity instruments do not include puttable financial instruments classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. [Refer: Financial instruments, class [member]; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_25&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35H -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35H&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35I -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35I&doctype=Standard -URIDate 2020-01-01 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35M -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35M&doctype=Standard -URIDate 2020-01-01 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35N -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35N&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity’s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity’s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_25&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition [Line Items] for Disclosure Of Fair Value Measurement Of Assets And Liabilities [Table] + References No definition available. + Details
Name: | mx_DisclosureOfFairValueMeasurementOfAssetsAndLiabilitiesLineItems
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialLiabilitiesAxis=mx_TradeOtherPayablesAndAccruedLiabilitiesExcludingTaxPayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfFinancialLiabilitiesAxis=ifrs-full_FinancialLiabilitiesAtAmortisedCostCategoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialLiabilitiesAxis=ifrs-full_LongtermBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_CashFlowHedgesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialLiabilitiesAxis=mx_DerivativeLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfFinancialLiabilitiesAxis=mx_FinancialLiabilitiesAtFairValueThroughOtherComprehensiveIncomeCategoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ifrs-full_DerivativesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfFinancialAssetsAxis=ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=mx_CashAndCashEquivalents1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfFinancialAssetsAxis=ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=mx_TradeAndOtherReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=mx_RestrictedCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |