XML 99 R76.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Lease obligations - Lease activity (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Disclosure of Leases [Abstract] |  |
Opening lease obligations, beginning balance | $ 870,163 | $ 717,101
Additions, net of disposals | 123,187 | 262,470
Interest expense | 53,418 | 48,039
Lease payments | (171,577) | (153,901)
Effect of movements in exchange rates and other | (3,071) | (3,546)
Lease obligations, ending balance | 872,120 | 870,163
Less: current portion | (120,731) | (108,736)
Lease obligations - non current portion | $ 751,389 | $ 761,427

X
- Definition The amount of current lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of interest expense on lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InterestExpenseOnLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of non-current lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NoncurrentLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of Leases [Abstract] + References No definition available. + Details
Name: | mx_DisclosureOfLeasesAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effect of Exchange Rate Changes And Other + References No definition available. + Details
Name: | mx_EffectofExchangeRateChangesAndOther
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Finance Lease, Payments + References No definition available. + Details
Name: | mx_FinanceLeasePayments
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Lease Liabilities, Additions, Net of Disposals + References No definition available. + Details
Name: | mx_LeaseLiabilitiesAdditionsNetofDisposals
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration