XML 127 R105.htm IDEA: XBRL DOCUMENT
v3.22.4

Supplemental cash flow information - Changes in non-cash working capital (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Changes in non-cash working capital: |  |
Trade and other receivables | $ 50,442 | $ (139,367)
Inventories | 19,785 | (150,860)
Prepaid expenses | (2,622) | (2,217)
Trade, other payables and accrued liabilities | (46,751) | 234,998
Decrease (increase) in non-cash working capital | 20,854 | (57,446)
Adjustments for items not having a cash effect and working capital changes relating to taxes and interest paid and received | 59,283 | (31,924)
Changes in non-cash working capital | 80,137 | (89,370)
These changes relate to the following activities: |  |
Operating | 54,122 | (83,109)
Financing | 1,771 | 1,350
Investing | 24,244 | (7,611)
Changes in non-cash working capital | $ 80,137 | $ (89,370)

X
- Definition Adjustments for decrease (increase) in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Inventories; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInInventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments for decrease (increase) in trade and other receivables to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Trade and other receivables; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_AdjustmentsForDecreaseIncreaseInTradeAndOtherReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_AdjustmentsForReconcileProfitLossAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The increase (decrease) in working capital. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 20 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_IncreaseDecreaseInWorkingCapital
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments For Items Not Having A Cash Effect And Working Capital Changes Relating To Taxes And Interest Paid And Received + References No definition available. + Details
Name: | mx_AdjustmentsForItemsNotHavingACashEffectAndWorkingCapitalChangesRelatingToTaxesAndInterestPaidAndReceived
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (Decrease) In Working Capital [Abstract] + References No definition available. + Details
Name: | mx_IncreaseDecreaseInWorkingCapitalAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase (Decrease) In Working Capital, Before Other Adjustments + References No definition available. + Details
Name: | mx_IncreaseDecreaseInWorkingCapitalBeforeOtherAdjustments
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (Decrease) In Working Capital, Total + References No definition available. + Details
Name: | mx_IncreaseDecreaseInWorkingCapitalTotal
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (Decrease) in Operating Liabilities + References No definition available. + Details
Name: | mx_IncreaseDecreaseinOperatingLiabilities
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase (Decrease) in Prepaid Expense + References No definition available. + Details
Name: | mx_IncreaseDecreaseinPrepaidExpense
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (Decrease) ln Working Capital, Financing Activities + References No definition available. + Details
Name: | mx_IncreaseDecreaselnWorkingCapitalFinancingActivities
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (Decrease) ln Working Capital, Investing Activities + References No definition available. + Details
Name: | mx_IncreaseDecreaselnWorkingCapitalInvestingActivities
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration