BeyondERP.Newsletter
Menu

Setup step on the Transaction codes page · Tax

Set up Transaction codes

Use this page to set, for each transaction code, how invoice amounts and statistical amounts are calculated for transfer orders and for sales and purchase orders.

See how to set it up Back to Tax

Used by
Accountant, Accounting manager, Accounting supervisor
Business process
Report tax and financial data to authorities in Dynamics 365 Finance
Menu item
IntrastatTransactionCode
Main table
IntrastatTransactionCode
Data entity
IntrastatTransactionCodeEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Transaction code drives Intrastat amounts”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page for the two-digit transaction codes that show the nature of a transaction in Intrastat reporting.
What you do hereUse this page to set, for each transaction code, how invoice amounts and statistical amounts are calculated for transfer orders and for sales and purchase orders.
ExampleFor example, transaction code 11, Outright purchase/sale, uses the invoice amount for both the invoice amount and the statistical amount.
Transaction codes page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Transaction codes1 screen

Use this page to set, for each transaction code, how invoice amounts and statistical amounts are calculated for transfer orders and for sales and purchase orders.

  1. Screen 1

    Create the transaction code

    Go to Tax > Setup > Foreign trade > Transaction codes

    1. Select New
    2. Enter the Transaction code and Name
    3. Under Sales and purchases, select the Invoice amount and Statistical amount rules
    4. Select Save
    1Transaction codeBEAT-11
    2NameOutright purchase or sale
    3Invoice amountInvoice amount
    4Statistical amountInvoice amount
    Create the transaction code (zoomed on the outlined fields)
    Show the full screenCreate the transaction code
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Tax > Setup > Foreign trade > Transaction codes.
  2. On the Action Pane, select New.
  3. In the Transaction code field, enter the code, such as 11.
  4. In the Name field, enter a name.
  5. In the Sales and purchases section, select the rules in the Invoice amount and Statistical amount fields.
  6. Set the rules for transfer orders as needed, and then select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Invoice amountHow the invoice amount is calculated: empty, the invoice amount or the base amount for orders; for transfer orders also cost or manual.Microsoft Learn Invoice amount
Statistical amountHow the statistical amount is calculated, using the same rule options.Microsoft Learn Invoice amount
Transaction codeThe two-digit code that shows the nature of the transaction.Checked in Dynamics 36511TransactionCode
NameThe name of the transaction code.Checked in Dynamics 365Outright purchase or saleName

Common errors and fixes

MessageWhat to do
Intrastat lines show an invoice or statistical amount of 0.00.The rule for that transaction type is Empty. Set Invoice amount, Base amount or a cost rule on the transaction code and transfer again. Microsoft Learn

Test checklist

  1. Create code 11 with Invoice amount for both amounts under Sales and purchases and Total cost under Transfer order.
  2. Set it as the default Transaction code in Foreign trade parameters and check a new EU purchase order header shows 11.
  3. Post a purchase invoice with a Freight charge that has Intrastat invoice value and Intrastat statistical value set to Yes.
  4. Transfer to the Intrastat journal and check Invoice value equals Invoice amount plus Invoice charges amount.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Transaction codesThe unified EU two-digit codes in use since 1 January 2022 (for example 11 Outright purchase/sale), with Invoice amount for both amounts on sales and purchases, and a cost rule such as Total cost for transfer ordersLearn says a unified system of two-digit codes applies in the EU from 1 January 2022, and its worked examples set code 11 to Invoice amount for sales and purchases and Total cost for transfer orders.Which amount rule should transfer orders use for the invoice and statistical amount?Leaving a rule as Empty. The invoice or statistical amount is then 0 on Intrastat lines for that transaction type.Test: Transaction code drives Intrastat amounts

Feature management and licence

Licence or add-inOn the live system, these roles have access to this page: Accountant, Accounting supervisor, Accounting manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Rules are read when transactions are transferred to the Intrastat journal. Changing a rule affects later transfers; lines already transferred keep their amounts but can be updated manually.
If you change it laterThe rules are read when transactions are transferred to the Intrastat journal, so a change affects later transfers. Lines already transferred keep their amounts and can be updated by hand. Microsoft Learn
Technical architect

6Technical

Menu itemIntrastatTransactionCode Checked in Dynamics 365
FormIntrastatTransactionCode Checked in Dynamics 365
TableIntrastatTransactionCodeShown as “Transaction codes” in Record infoKey field: TransactionCode, NameChecked in Dynamics 365
Data entitiesIntrastatTransactionCodeEntityTransaction codes Microsoft data model
Who can open it

3 security roles. Select a role to see its duties and privileges.

  • RoleAccountantLedgerAccountant
    • DutyEnable Intrastat processTaxIntrastatProcessEnable
      • PrivilegeMaintain Intrastat transaction codesIntrastatTransactionCodeMaintain
  • RoleAccounting managerLedgerAccountingManager
    • DutyInquire into Intrastat reference dataTaxIntrastatReferenceDataInquire
      • PrivilegeView Intrastat transaction codesIntrastatTransactionCodeView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyEnable Intrastat processTaxIntrastatProcessEnable
      • PrivilegeMaintain Intrastat transaction codesIntrastatTransactionCodeMaintain
    • DutyInquire into Intrastat reference dataTaxIntrastatReferenceDataInquire
      • PrivilegeView Intrastat transaction codesIntrastatTransactionCodeView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccountant LedgerAccountantAccounting supervisor LedgerAccountingSupervisorTo use itAccounting manager LedgerAccountingManagerGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=IntrastatTransactionCode
Integrate withIntrastatTransactionCodeEntity data entity Microsoft data model
Data migrationIntrastatTransactionCodeEntity (Transaction codes): loaded for each company, in Microsoft's default template 130 - Tax.Load order: Microsoft's default template 130 - Tax loads Transaction codes at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn
Table definitionIntrastatTransactionCode columns and relations Microsoft data model
Everyone

8Sources

To cite this step: TAX-SETUP-090, Set up Transaction codes. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/TAX-SETUP-090