web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Pyament Export SEPA

(0) ShareShare
ReportReport
Posted on by

Hi,

I have this problem:

When I try to export payment on a  file I get this error" Only transactions in euro (EUR) are allowed, because the 01 bank account is set up to use the SEPACT export format."

The transaction is in Euro, the currency of the account is euro.

I don't know how to solve this problem 

Could you hel me? Many thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at
    RE: Pyament Export SEPA

    check the settings of the bank accounts.

  • Verified answer
    Jens Glathe Profile Picture
    6,092 on at
    RE: Pyament Export SEPA

    Hi,

    sounds like a setup issue. Is your LCY 'EUR'? And did you also enter 'EUR' as currency, and set it in the bank account? In this case the checking logic would simply fail (and this would be correct from the system POV).

    Here's a list of possible setup errors:

    GLSetup LCY Code = EUR, Bank = EUR - should be empty.

    Currency Code for Euro is not EUR - must be, since the check is sort of hard coded in Codeunit 1223.

    If you already have posted entries in EUR and your LCY code is the same, then these entries will be treated as in a foreign currency. Although this is one of the more common errors, limiting the effect of this will require some changes from your NAV partner (or your inhouse NAV team).

    How to get out of this:

    In Codeunit 1223, function CheckGenJnlLine() should be changed:

    LOCAL CheckGenJnlLine(VAR GenJnlLine : Record "Gen. Journal Line")
    GLSetup.GET;
    WITH GenJnlLine DO BEGIN
      IF "Bal. Account Type" <> "Bal. Account Type"::"Bank Account" THEN
        InsertPaymentFileError(MustBeBankAccErr);
    
      IF "Bal. Account No." = '' THEN
        AddFieldEmptyError(GenJnlLine,TABLECAPTION,FIELDCAPTION("Bal. Account No."),'');
    
      IF "Recipient Bank Account" = '' THEN
        AddFieldEmptyError(GenJnlLine,TABLECAPTION,FIELDCAPTION("Recipient Bank Account"),'');
    
      IF NOT ("Account Type" IN ["Account Type"::Vendor,"Account Type"::Customer]) THEN
        InsertPaymentFileError(MustBeVendorOrCustomerErr);
    
      IF (("Account Type" = "Account Type"::Vendor) AND ("Document Type" <> "Document Type"::Payment)) OR
         (("Account Type" = "Account Type"::Customer) AND ("Document Type" <> "Document Type"::Refund))
      THEN
        InsertPaymentFileError(STRSUBSTNO(MustBeVendPmtOrCustRefundErr));
    
      IF Amount <= 0 THEN
        InsertPaymentFileError(MustBePositiveErr);
    
      IF "Currency Code" <> GLSetup.GetCurrencyCode('EUR') THEN BEGIN
        //PX001s px.jgl
        if "Currency Code" <> 'EUR' then begin
          BankAccount.GET("Bal. Account No.");
          InsertPaymentFileError(STRSUBSTNO(EuroCurrErr,"Bal. Account No.",BankAccount."Payment Export Format"));
        end;
        //PX001e px.jgl
      END;
    
      IF "Posting Date" < TODAY THEN
        InsertPaymentFileError(TransferDateErr);
    END;
    

    This change tests again after the normal check if the currency code is indeed EUR, handled as a foreign currency. This should ensure that the export can jump over this obstacle.

    The correct way to correct this would be to clean the EUR currency code from the whole company, which can be quite a task. Better to change the checking and ensure that the currency exchange rate for EUR is 1.

    with best regards

    Jens

  • Community Member Profile Picture
    on at
    RE: Pyament Export SEPA

    Hi,

    I missed the GLSetup LCY Code = EUR

    Thank you very much

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans