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
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page for the two-digit transaction codes that show the nature of a transaction in Intrastat reporting.
What you do here
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.
Example
For example, transaction code 11, Outright purchase/sale, uses the invoice amount for both the invoice amount and the statistical amount.
The page in Dynamics 365. page title tab to open what to set or check
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.
Screen 1
Create the transaction code
Go to Tax > Setup > Foreign trade > Transaction codes
Select New
Enter the Transaction code and Name
Under Sales and purchases, select the Invoice amount and Statistical amount rules
Select Save
1Transaction code
BEAT-11
2Name
Outright purchase or sale
3Invoice amount
Invoice amount
4Statistical amount
Invoice amount
Show the full screen page title tab to open what to set or check
Steps from Microsoft
Go to Tax > Setup > Foreign trade > Transaction codes.
On the Action Pane, select New.
In the Transaction code field, enter the code, such as 11.
In the Name field, enter a name.
In the Sales and purchases section, select the rules in the Invoice amount and Statistical amount fields.
Set the rules for transfer orders as needed, and then select Save.
How 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 amount
How the statistical amount is calculated, using the same rule options.Microsoft Learn
Invoice amount
Transaction code
The two-digit code that shows the nature of the transaction.Checked in Dynamics 365
11
TransactionCode
Name
The name of the transaction code.Checked in Dynamics 365
Outright purchase or sale
Name
Common errors and fixes
Message
What 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
Create code 11 with Invoice amount for both amounts under Sales and purchases and Total cost under Transfer order.
Set it as the default Transaction code in Foreign trade parameters and check a new EU purchase order header shows 11.
Post a purchase invoice with a Freight charge that has Intrastat invoice value and Intrastat statistical value set to Yes.
Transfer to the Intrastat journal and check Invoice value equals Invoice amount plus Invoice charges amount.
The 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.
Reversible: Codes and their rules can be changed. The change applies to transactions transferred afterwards; already transferred Intrastat lines can be updated manually. Microsoft Learn
If you change it later
The 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 item
IntrastatTransactionCodeChecked in Dynamics 365
Form
IntrastatTransactionCodeChecked in Dynamics 365
Table
IntrastatTransactionCodeShown as “Transaction codes” in Record infoKey field: TransactionCode, NameChecked in Dynamics 365
To 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 page
Options: Personalize, Page options, ShareChecked in Dynamics 365
IntrastatTransactionCodeEntity (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
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.