[
  {
    "section": "preamble",
    "before": "the General Courts",
    "after": "the Cortes Generales",
    "reason": "Spanish Parliament is not a court",
    "occurrences": 1
  },
  {
    "section": "preamble",
    "before": "Having regard to and examined the 29 articles of the Convention, its annexed protocol and the exchange of those notes, and amending paragraph 3 of Article 2 of that Convention;",
    "after": "Having considered and examined the 29 articles of the Convention, its annexed Protocol and the exchange of notes amending Article 2(3) of that Convention;",
    "reason": "The notes, not this ratification sentence, amend the paragraph",
    "occurrences": 1
  },
  {
    "section": "preamble",
    "before": "AGREEMENT BETWEEN THE GOVERNMENT OF THE KINGDOM OF SPAIN AND THE GOVERNMENT OF THE KINGDOM OF MOROCCOS TO AVOID DOUBLE IMPOSITION ON RENT AND PATRIMONY",
    "after": "CONVENTION BETWEEN THE GOVERNMENT OF THE KINGDOM OF SPAIN AND THE GOVERNMENT OF THE KINGDOM OF MOROCCO FOR THE AVOIDANCE OF DOUBLE TAXATION WITH RESPECT TO TAXES ON INCOME AND ON CAPITAL",
    "reason": "Correct subject matter, State name and treaty terminology",
    "occurrences": 1
  },
  {
    "section": "preamble",
    "before": "Desiring to avoid double taxation of income and property taxes, they have agreed, to this effect, the following provisions:",
    "after": "Desiring to avoid double taxation with respect to taxes on income and on capital, have agreed to the following provisions:",
    "reason": "Income/capital, not a property tax alone",
    "occurrences": 1
  },
  {
    "section": "art-2",
    "before": "income and property taxes",
    "after": "taxes on income and on capital",
    "reason": "Scope includes capital, not merely property taxes",
    "occurrences": 1
  },
  {
    "section": "art-2",
    "before": "on the total tax on land or wages paid by enterprises",
    "after": "on the total amount of wages or salaries paid by enterprises [source wording query: the Spanish BOE text contains apparent typographical errors here]",
    "reason": "Flag source corruption instead of presenting land as a payroll tax",
    "occurrences": 1
  },
  {
    "section": "art-2",
    "before": "7. The patent tax",
    "after": "7. The business licence tax",
    "reason": "Patentes is a business licence tax, not tax on patents",
    "occurrences": 1
  },
  {
    "section": "art-2",
    "before": "which are added to or replaced by current taxes",
    "after": "which are imposed in addition to, or in place of, the existing taxes",
    "reason": "Correct reversed temporal/substitution relation",
    "occurrences": 1
  },
  {
    "section": "art-2",
    "before": "shall communicate, since its promulgation, the amendments made to their respective tax laws",
    "after": "shall notify each other, upon promulgation, of amendments to their respective tax laws",
    "reason": "Duty to communicate changes upon enactment",
    "occurrences": 1
  },
  {
    "section": "art-3",
    "before": "The term 'Society'",
    "after": "The term ‘company’",
    "reason": "Sociedad is a defined company",
    "occurrences": 1
  },
  {
    "section": "art-3",
    "before": "Company of one Contracting State",
    "after": "enterprise of a Contracting State",
    "reason": "Empresa is enterprise, distinct from company",
    "occurrences": 1
  },
  {
    "section": "art-3",
    "before": "Company of the other Contracting State",
    "after": "enterprise of the other Contracting State",
    "reason": "Preserve enterprise/company distinction",
    "occurrences": 1
  },
  {
    "section": "art-3",
    "before": "society of persons",
    "after": "partnership",
    "reason": "Sociedad de personas",
    "occurrences": 1
  },
  {
    "section": "art-3",
    "before": "effective headquarters",
    "after": "place of effective management",
    "reason": "Treaty residence/transport terminology",
    "occurrences": 1
  },
  {
    "section": "art-4",
    "before": "domicile, residence, address",
    "after": "domicile, residence, place of management",
    "reason": "Sede de dirección is not a postal address",
    "occurrences": 1
  },
  {
    "section": "art-4",
    "before": "If you have permanent housing at your disposal in both states, you will be considered",
    "after": "If that person has a permanent home available in both States, that person shall be considered",
    "reason": "Third-person operative rule",
    "occurrences": 1
  },
  {
    "section": "art-4",
    "before": "If he is a national of either Contracting State or is not a national of either Contracting State",
    "after": "If that person is a national of both Contracting States or of neither of them",
    "reason": "Material mistranslation: both, not either",
    "occurrences": 1
  },
  {
    "section": "art-5",
    "before": "an independent Statute",
    "after": "independent status",
    "reason": "Estatuto independiente is status",
    "occurrences": 1
  },
  {
    "section": "art-5",
    "before": "a general commissioner",
    "after": "a general commission agent",
    "reason": "Commission agent, not a public official",
    "occurrences": 1
  },
  {
    "section": "art-5",
    "before": "any of these Societies",
    "after": "either of those companies",
    "reason": "Defined company terminology",
    "occurrences": 1
  },
  {
    "section": "art-6",
    "before": "the use of immovable property",
    "after": "the usufruct of immovable property",
    "reason": "Usufruct is a specific property right",
    "occurrences": 1
  },
  {
    "section": "art-6",
    "before": "lease or shareholding",
    "after": "letting or sharecropping",
    "reason": "Aparcería is sharecropping, not equity ownership",
    "occurrences": 1
  },
  {
    "section": "art-7",
    "before": "2. Where an Enterprise of one Contracting State carries out its activity in the other Contracting State through a permanent establishment situated in the other Contracting State, in each Contracting State, the profits it would have obtained from being a separate and separate Enterprise carrying out the same or similar activities under the same or similar conditions shall be attributed to that establishment and shall deal entirely independently with the Enterprise of which it is a permanent establishment.",
    "after": "2. Where an enterprise of a Contracting State carries on business in the other Contracting State through a permanent establishment situated there, each Contracting State shall attribute to that permanent establishment the profits it might be expected to make if it were a distinct and separate enterprise carrying on the same or similar activities under the same or similar conditions and dealing wholly independently with the enterprise of which it is a permanent establishment.",
    "reason": "Restore hypothetical arm’s-length attribution; no separate obligation imposed on the establishment",
    "occurrences": 1
  },
  {
    "section": "art-7",
    "before": "determining the benefit",
    "after": "determining the profits",
    "reason": "Beneficio is profit in this provision",
    "occurrences": 1
  },
  {
    "section": "art-8",
    "before": "effective head office",
    "after": "place of effective management",
    "reason": "Effective management is the connecting factor",
    "occurrences": 1
  },
  {
    "section": "art-9",
    "before": "the same or the same persons",
    "after": "the same person or persons",
    "reason": "Preserve singular/plural control condition",
    "occurrences": 1
  },
  {
    "section": "art-10",
    "before": "if the benefit of the dividends is a company (excluding companies of persons)",
    "after": "if the recipient of the dividends is a company (excluding partnerships) [source wording query: Spanish prints “beneficio”]",
    "reason": "Correct entity/benefit confusion while flagging the defective source word",
    "occurrences": 1
  },
  {
    "section": "art-10",
    "before": "the share generated by the dividends",
    "after": "the holding in respect of which the dividends are paid",
    "reason": "Holding generates dividends, not vice versa",
    "occurrences": 1
  },
  {
    "section": "art-10",
    "before": "shares or vouchers, parts of mines, parts of founders",
    "after": "“jouissance” shares or “jouissance” rights, mining shares, founders’ shares",
    "reason": "Established legal categories of participating rights",
    "occurrences": 1
  },
  {
    "section": "art-10",
    "before": "the Society",
    "after": "the company",
    "reason": "Defined company terminology",
    "occurrences": 1
  },
  {
    "section": "art-11",
    "before": "the income from public funds, bonds or bonds, loans",
    "after": "income from government securities, bonds or debentures, and loans",
    "reason": "Debt securities, not public funds as institutions",
    "occurrences": 1
  },
  {
    "section": "art-11",
    "before": "income in amounts provided by the tax legislation",
    "after": "income from money lent under the tax legislation",
    "reason": "Amounts lent and source-State assimilation",
    "occurrences": 1
  },
  {
    "section": "art-11",
    "before": "the party exceeding the payments",
    "after": "the excess part of the payments",
    "reason": "Part of an amount, not a contracting party",
    "occurrences": 1
  },
  {
    "section": "art-12",
    "before": "Fees",
    "after": "Royalties",
    "reason": "Cánones in Article 12 are royalties",
    "occurrences": 1
  },
  {
    "section": "art-12",
    "before": "fees",
    "after": "royalties",
    "reason": "Cánones in Article 12 are royalties",
    "occurrences": 5
  },
  {
    "section": "art-12",
    "before": "the benefit for which they are paid",
    "after": "the consideration for which they are paid",
    "reason": "Prestación is the underlying consideration, not a tax benefit",
    "occurrences": 1
  },
  {
    "section": "art-12",
    "before": "the excess may be imposed",
    "after": "the excess may be taxed",
    "reason": "Taxation of excess amount",
    "occurrences": 1
  },
  {
    "section": "art-13",
    "before": "fixed basis",
    "after": "fixed base",
    "reason": "Treaty fixed base, distinct from permanent establishment",
    "occurrences": 1
  },
  {
    "section": "art-13",
    "before": "(only or with the Enterprise as a whole)",
    "after": "(alone or together with the enterprise as a whole)",
    "reason": "Disposal of PE alone or with entire enterprise",
    "occurrences": 1
  },
  {
    "section": "art-14",
    "before": "fixed basis",
    "after": "fixed base",
    "reason": "Fixed base terminology",
    "occurrences": 1
  },
  {
    "section": "art-15",
    "before": "an employed employee in the other Contracting State",
    "after": "employment exercised in the other Contracting State",
    "reason": "Employment exercised, not an employed employee",
    "occurrences": 1
  },
  {
    "section": "art-15",
    "before": "The preceptor remains",
    "after": "The recipient is present",
    "reason": "Perceptor is recipient, not a teacher",
    "occurrences": 1
  },
  {
    "section": "art-15",
    "before": "fixed basis",
    "after": "fixed base",
    "reason": "Fixed base terminology",
    "occurrences": 1
  },
  {
    "section": "art-16",
    "before": "Participations, attendance allowances",
    "after": "Directors’ fees, attendance allowances",
    "reason": "Board remuneration rather than equity holdings",
    "occurrences": 1
  },
  {
    "section": "art-17",
    "before": "the rents which the professionals of the spectacle",
    "after": "the income which entertainers",
    "reason": "Rentas is income; professional entertainment terminology",
    "occurrences": 1
  },
  {
    "section": "art-18",
    "before": "life income",
    "after": "life annuities",
    "reason": "Rentas vitalicias",
    "occurrences": 1
  },
  {
    "section": "art-19",
    "before": "to this branch or entity",
    "after": "to that subdivision or entity",
    "reason": "Government subdivision, not business branch",
    "occurrences": 1
  },
  {
    "section": "art-20",
    "before": "a person in practice",
    "after": "a trainee",
    "reason": "Persona en prácticas",
    "occurrences": 1
  },
  {
    "section": "art-20",
    "before": "may not be imposed",
    "after": "shall not be taxed",
    "reason": "Prohibition on source-State taxation",
    "occurrences": 1
  },
  {
    "section": "art-21",
    "before": "fixed basis",
    "after": "fixed base",
    "reason": "Fixed base terminology",
    "occurrences": 1
  },
  {
    "section": "art-22",
    "before": "Article 22. Heritage.",
    "after": "Article 22. Capital.",
    "reason": "Patrimonio in treaty capital article",
    "occurrences": 1
  },
  {
    "section": "art-22",
    "before": "effective head office",
    "after": "place of effective management",
    "reason": "Effective management connecting factor",
    "occurrences": 1
  },
  {
    "section": "art-23",
    "before": "the first State may, subject to the provisions of paragraph 2 below, exempt such income or property from tax, but, in order to calculate the tax corresponding to the remaining income or property of that resident, apply the tax rate",
    "after": "the first State shall, subject to paragraph 2 below, exempt that income or capital from tax; however, in calculating the tax on that resident’s remaining income or capital, it may apply the tax rate",
    "reason": "Material correction: mandatory exemption; discretion concerns progression only",
    "occurrences": 1
  },
  {
    "section": "art-23",
    "before": "the first state shall deduct the income tax of that resident an amount equal to the tax paid in the other Contracting State",
    "after": "the first State shall allow a credit against the tax on that resident’s income equal to the tax paid in the other Contracting State",
    "reason": "Foreign tax credit against liability, not deduction of income tax itself",
    "occurrences": 1
  },
  {
    "section": "art-23",
    "before": "The amount thus deducted may not, however, exceed the part of the corresponding tax, the income obtained in the other Contracting State, calculated before deduction.",
    "after": "That credit shall not, however, exceed the part of the tax, calculated before the credit, attributable to the income obtained in the other Contracting State.",
    "reason": "Restore limitation and attribution relationship",
    "occurrences": 1
  },
  {
    "section": "art-23",
    "before": "The Spanish tax deduction applies to both general and account taxes.",
    "after": "The credit against Spanish tax applies both to the general taxes and to the taxes levied on account.",
    "reason": "Impuestos a cuenta and credit mechanism",
    "occurrences": 1
  },
  {
    "section": "art-24",
    "before": "The imposition of a permanent establishment",
    "after": "The taxation of a permanent establishment",
    "reason": "Taxation, not imposition of an establishment",
    "occurrences": 1
  },
  {
    "section": "art-25",
    "before": "involve or may represent for an imposition",
    "after": "result or may result for that taxpayer in taxation",
    "reason": "Restore person affected and meaning of taxation",
    "occurrences": 1
  },
  {
    "section": "art-25",
    "before": "whose imposition he contests",
    "after": "whose taxation the taxpayer contests",
    "reason": "Taxation complained of",
    "occurrences": 1
  },
  {
    "section": "art-25",
    "before": "avoid an imposition",
    "after": "avoid taxation",
    "reason": "Taxation inconsistent with treaty",
    "occurrences": 1
  },
  {
    "section": "art-26",
    "before": "the provisions of subparagraph i",
    "after": "the provisions of paragraph 1 [Spanish source prints “i”]",
    "reason": "Flag source character instead of inventing subparagraph i",
    "occurrences": 1
  },
  {
    "section": "art-28",
    "before": "tax periods ending on 1 January",
    "after": "tax periods ending on or after 1 January",
    "reason": "Material correction: a partir de includes all subsequent end dates",
    "occurrences": 1
  },
  {
    "section": "art-29",
    "before": "until 30 June including any calendar year after the fifth year of ratification of the Convention",
    "after": "up to and including 30 June of any calendar year beginning with the fifth year following the year of ratification of the Convention",
    "reason": "Termination window and inclusive deadline",
    "occurrences": 1
  },
  {
    "section": "art-29",
    "before": "prior to 31 December, including the year in which the complaint took place",
    "after": "on or before 31 December of the year in which notice of termination was given",
    "reason": "Denuncia is termination, not complaint; inclusive year-end",
    "occurrences": 1
  },
  {
    "section": "protocol",
    "before": "the previous translation",
    "after": "the foregoing translation",
    "reason": "Historical certification refers to the Spanish translation",
    "occurrences": 1
  },
  {
    "section": "protocol",
    "before": "it is satisfied",
    "after": "it conforms to the original",
    "reason": "Meaning of translation certification",
    "occurrences": 1
  },
  {
    "section": "protocol",
    "before": "diets and emoluments",
    "after": "allowances and emoluments",
    "reason": "Dietas are allowances",
    "occurrences": 2
  },
  {
    "section": "protocol",
    "before": "lifetime income",
    "after": "life annuities",
    "reason": "Rentas vitalicias",
    "occurrences": 2
  },
  {
    "section": "protocol",
    "before": "the products of shares or shares",
    "after": "income from shares or equity interests",
    "reason": "Avoid duplicated shares and preserve participating interests",
    "occurrences": 2
  },
  {
    "section": "protocol",
    "before": "Patent tax",
    "after": "Business licence tax",
    "reason": "Impuesto de patentes",
    "occurrences": 2
  },
  {
    "section": "protocol",
    "before": "The rate on real estate gains",
    "after": "The tax on gains from immovable property",
    "reason": "Tasa is tax here, not the tax rate",
    "occurrences": 2
  },
  {
    "section": "protocol",
    "before": "The property tax.",
    "after": "Wealth Tax.",
    "reason": "Spanish Impuesto sobre el Patrimonio",
    "occurrences": 2
  },
  {
    "section": "protocol",
    "before": "– Regional Agricultural Development Offices",
    "after": "– Offices Regionaux de Mise en Valeur Agricole",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Office of Mining Research and Holdings",
    "after": "– Bureau de Recherches et de Participations Minieres",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Office de Development Industriel",
    "after": "– Office de Developpement Industriel",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Office de Commerceisation et d'Exportation",
    "after": "– Office de Commercialisation et d'Exportation",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Property and Hotel Credit Fund (C.I.H.)",
    "after": "– Caisse Credit Mobilier et Hotelier («C.I.H.»)",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– National Bank for Economic Development",
    "after": "– Banque Nationale pour le Developpement Economique",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Societe Cherifienne de Petroleum S.C.P.",
    "after": "– Societe Cherifienne de Petrole S.C.P.",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Moroccan–Italian Refining Company (SAMIR)",
    "after": "– Societe Anonyme Maroco-Italienne de Raffinage «SAMIR»",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Compagnie Marocaine de Navigation ‘COMANAV’",
    "after": "– Compagnie Marocaine de Navigation «COMANAV»",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Royal Air Maroc ‘RAM’",
    "after": "– Royal Air Maroc «RAM»",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Company for the Exploitation of Kettara Pyrrhotite (SEPYK) [the company name is affected by source OCR].",
    "after": "– Societe d'Exploitation de la Pyrothene de Kettara «SEPYK»",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Rif Iron Mining Company (SEFERIF)",
    "after": "– Societe d'Explotation du Fer du Rif «SEFERIF»",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "protocol",
    "before": "– Societe Nationale de Siderurgie ‘SONASID’",
    "after": "– Societe Nationale de Siderurgie «SONASID»",
    "reason": "Preserve exact source legal entity name"
  },
  {
    "section": "preamble",
    "before": "Y",
    "after": "AND",
    "reason": "Untranslated conjunction"
  },
  {
    "section": "art-10",
    "before": "if the recipient of the dividends is a company (excluding partnerships) [source wording query: Spanish prints “beneficio”]",
    "after": "if the recipient of the dividends is a company (excluding partnerships)",
    "reason": "Article 10(2): beneficiary wording corrected by BOE-A-2000-15124; no unexpressed beneficial-owner condition added",
    "occurrences": 1
  },
  {
    "section": "art-10",
    "before": "the provisions of article 8 apply.",
    "after": "the provisions of Article 7 apply.",
    "reason": "Article 10(3): 8→7 under official corrigendum BOE-A-2000-15124",
    "occurrences": 1
  },
  {
    "section": "art-19",
    "before": "if the services are provided to that State",
    "after": "if the services are provided in that State",
    "reason": "Article 19(1)(b): to→in under official corrigendum BOE-A-2000-15124",
    "occurrences": 1
  }
]