Complete Guide to Filing IRS Anexo G for Capital Gains in Portugal

Table of Contents


What is it?

IRS Anexo G is a specific annex of the IRS tax return in Portugal used to declare capital gains, specifically those arising from the sale of financial assets such as stocks, bonds, and other investments.

Who needs it?

Any individual or entity that has realized capital gains from the sale of financial assets during the tax year needs to complete this annex when filing their IRS tax return. This includes retail investors, traders, and anyone who has engaged in buying and selling securities.


  1. Gather All Relevant Information:

    • Ensure you have details of all transactions involving the sale of financial assets. This includes purchase and sale dates, the amounts involved, and any associated costs or fees.
  2. Access the Portal das Finanças:

  3. Navigate to the IRS Declaration Section:

    • Once logged in, navigate to the IRS section and choose the option to start a new IRS declaration.
  4. Select the Appropriate Year:

    • Ensure you are declaring for the correct fiscal year in which the capital gains occurred.
  5. Choose Anexo G:

    • Within the IRS declaration, select Anexo G to begin detailing your capital gains.
  6. Input Transaction Details:

    • For each transaction, input the following:
      • ISIN code (International Securities Identification Number) if applicable.
      • Dates of purchase and sale.
      • Purchase price and sale price.
      • Any transaction costs.
  7. Verify Tax Calculation:

    • The system will automatically calculate the capital gains based on the information provided. Verify the calculations to ensure accuracy.
  8. Submit the Declaration:

    • Review all the details you have entered. If everything is correct, proceed to submit your IRS declaration along with Anexo G.

Required Documents

  • Transaction Records: Statements from your brokerage or trading platform showing all transactions, including dates and amounts.
  • Proof of Costs: Documents evidencing any costs related to the transactions, such as broker fees.
  • Identification Details: Your NIF (Número de Identificação Fiscal) and login credentials for the Portal das Finanças.

Providers that can do it for you

(We are currently curating the best providers. If you are or know a provider, please contact us or edit the page directly)


Additional details

  • According to users, XTB (a trading platform) provides detailed statements that can simplify the process of reporting capital gains. Make sure to download your statements directly from the platform to ensure accuracy.
  • When reporting gains from different types of assets, be sure to categorize them correctly within Anexo G to avoid any discrepancies.
  • Always double-check the ISIN codes and amounts to match them exactly as shown in your trade confirmations and end-of-year statements.

By following these steps and ensuring you have all necessary documents, you can accurately complete IRS Anexo G and stay compliant with Portuguese tax regulations regarding capital gains.


Improve this article by using the contact form or editing it through our open-source GitHub repository: tramitit/guides