XML 126 R112.htm IDEA: XBRL DOCUMENT
v3.23.1

Revenue Recognition (Details) - Schedule of deferred revenues from contracts with customers (Parentheticals) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Jan. 01, 2021
--- | --- | --- | ---
Schedule Of Deferred Revenues From Contracts With Customers Abstract |  |  |
Net of allowance for credit losses | $ 5,416 | $ 5,071 | $ 3,967

X
- Definition The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets] + References No definition available. + Details
Name: | mgic_AllowanceAccountForCreditLosses
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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