XML 92 R79.htm IDEA: XBRL DOCUMENT
v3.22.1

Short Term Debt (Details) - Schedule of short term debt - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020
Short Term Debt Disclosure [Abstract] |  |
Total short term borrowings | $ 17,032 | $ 11,529
Short-term credit from banks one [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Linkage basis | NIS |
Total short term borrowings | $ 4,644 | 1,259
Short-term credit from banks one [Member] | Minimum [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Interest rate % | 1.80% |
Short-term credit from banks one [Member] | Maximum [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Interest rate % | 2.30% |
Current maturities of long-term loans from financial institutions and banks [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Linkage basis | NIS |
Total short term borrowings | $ 8,638 | 10,270
Current maturities of long-term loans from financial institutions and banks [Member] | Minimum [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Interest rate % | 1.70% |
Current maturities of long-term loans from financial institutions and banks [Member] | Maximum [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Interest rate % | 3.14% |
Current maturities of long-term loans from financial institutions and banks [Member] |  |
Short Term Debt Disclosure [Abstract] |  |
Linkage basis | USD |
Interest rate % | 2.10% |
Total short term borrowings | $ 3,750 |

X
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. + References No definition available. + Details
Name: | mgic_TotalShortTermBorrowings
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Identification of the specific currency to be purchased upon settlement or exercise of the foreign currency derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeCurrencyBought
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShortTermDebtLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=mgic_ShorttermCreditFromBanksOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=mgic_CurrentMaturitiesOfLongtermLoansFromFinancialInstitutionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=mgic_CurrentMaturitiesOfLongtermLoansFromFinancialInstitutionsAndBanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |