AN-PN-TS Errors

AN-PN-TS Errors

Software Installation & DLL Errors

Error: "Module .dll not installed"
Explanation: A necessary software component is missing.
Solution: Please install SFSCustomsANPNTS1.0.4.exe program.


Authentication & Connection Errors

Error: "Unauthorised. Please make sure that the URL, User ID, Password and EORI No are correct as provided by Malta Tax and Customs Administration (MTCA)."
Explanation: The login credentials or connection details are incorrect.
Solution: Verify and correct the User ID, Password, URL, and EORI number in "Administration > Company Maintenance > Customs AN-PN-TS (tab)". Ensure these details match the information provided by the Malta Tax and Customs Administration (MTCA).  URL should be: https://edapps.mtca.gov.mt/customs-ucc-portal/anpnts-gateway/api/v1/anpnts/


Declaration Errors

Error: The declaration was invalid.
14 - NR1005 : Mismatch between type and identifier (personNotifyingTheArrival.communication.1.identifier)
Explanation: The email address provided contains invalid characters.
Solution: Remove any special characters from the email address.

Error: The declaration was invalid.
14 - NR1005 : Mismatch between type and identifier (personNotifyingTheArrival.communication.2.identifier)
Explanation: The phone number provided contains invalid characters.
Solution: Remove any special characters from the phone number.

Error: The declaration was invalid.
14 - BR3182 : Missing or invalid EORI number (declarant.identificationNumber)
14 - BR3182 : Missing or invalid EORI number (personPresentingTheGoods.identificationNumber)
14 - MT1005 : Invalid value (personPresentingTheGoods.identificationNumber)
Explanation: The EORI number is either missing or incorrect.
Solution: Verify and correct the EORI number in "Administration > Company Maintenance".

Error: The declaration was invalid.
14 - NR0142 : Invalid date - out of range (Declaration.actualDateAndTimeOfArrival)
Explanation: The arrival date is set to a date in the past.
Solution: Ensure the voyage arrival date is set to a future or current date. Voyages cannot be created with past dates.

Error: The declaration was invalid
14 - NR1020 : Invalid value (consignment.locationOfGoods.authorisationNumber)
Explanation: The wrong TSF authorisation number is submitted
Solution: Lookup the correct TSF authorisation number from the link below and insert in Support>Customs>Warehouses


Error: The declaration was invalid.
14 - NR2010 : Invalid entry summary declaration (consignment.previousDocument.2.referenceNumber)
Explanation: The ENS MRN (Entry Summary Declaration Master Reference Number) is invalid.
Solution: Confirm the ENS MRN provided by the shipper to the local agent is correct.

Error: The declaration was invalid.
12 - BR0020 : BR0020 (consignment.placeOfLoading.unlocode)
Explanation: The Point/Place of Loading ISO Code is incorrect.
Solution: Verify and correct the ISO Code in "Support > Locations" and "Support > Location ISO Codes".

Validation Errors

Error: "cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[a-zA-Z0-9]{1,35}' for type 'TransportMeansIDContentType'. (28) <identificationNumber />"
Explanation: The vessel's IMO number is missing.
Solution: Enter the vessel's IMO number in "Support > Vessels".

Error: "cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[a-zA-Z0-9]{2}' for type 'TypeOfPackagesContentType'. (line : 109) <typeOfPackages />"
Explanation: The Package Type is missing or incorrect. It must be two characters.
Solution: Enter a valid two-character Package Type.

Error: "cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '.{1,70}' for type 'EONameContentType'. (line : 34) <Consignor><name />"
Explanation: The shipper's name or address information is missing.
Solution: Ensure the shipper's name, address line 1, town (address line 2), postcode (address line 3), and country code are correctly populated.
    • Related Articles

    • AN-PN-TS Module

      To enhance trade efficiency and comply with the Union Customs Code (UCC), the Malta Tax & Customs Administration (MT&CA) has launched a new electronic customs system within the Customs Electronic System (CES). This system mandates electronic ...
    • Error: "Missing DSK.dll from..." when opening SFS application

      Problem The error "Missing DSK.dll from......" pops up when trying to launch SFS for the first time after installation of the application on a new machine or when a new user profile has been created on a machine that already has SFS installed. ...
    • Error: "File is in use. [,Tranpost.dbf] 227 openssltable" when creating an invoice

      Problem Error: "File is in use. [,Tranpost.dbf] 227 openssltable" when creating an invoice.   Environment SIMS All supported environments Solution Delete the tranpost folder located in the TEMP folder. Full path below: C:\Program Files ...
    • Error 7017: Corrupt Index

      Problem An "Error 7017: Corrupt .ADI, .CDX, or .IDX index." error when trying to use SFM. Environment SFM Solution An SFM Reindex is needed. Click here for instructions: Reindex SFM. Cause This error normally occurs when there is a constant network ...
    • POS Replicator error - Unknown member TMRDISCONNECT

      Problem  An error reading "Unknown member TMRDISCONNECT" appears even when POS uploads data successfully. Environment This will occur in the POS replicator client. Solution From the Replicator Client: Go to Advanced Options and disable the Disconnect ...
    • Recent Articles

    • How to Reverse a Sales/Purchases Transaction in SFM

      Reversing Entries in SFM Once users confirm an entry in SFM, they cannot modify any of its elements. The only available option is to reverse the entire transaction and re-post it with the correct values. The system supports both simple reversals and ...
    • Setting Up BOV SEPA v9

      Before proceeding, please ensure you are using the latest version of SFM. Starting October 5th, 2025, Bank of Valletta (BOV) will begin processing live transactions using the new SEPA file format (version 9). The older version 3 format will no longer ...
    • How do I process a Nominal Reconciliation?

      Procedure for Reconciling a Nominal Account (Current Year > Nominal > Nominal Reconciliation) Account Field: Select the relevant Nominal Account from the drop-down menu that you wish to reconcile. Details Field: Enter any necessary free text in the ...
    • How to Update SFS

      For optimal results, update SFS directly from the server. Important notes before updating: - All Users: Log out of SFS, SIMS and SFM (if applicable). - Remote Desktop Users: Log out of SFS, SIMS and SFM before disconnecting from the remote session. ...
    • How to Add Custom Footers per Client basis

      If you want to apply the same footer across all your invoices or the same footer across all your statements, please refer to this article: How to insert document footers in SFM If you need to use different footers for specific clients, SFM also ...
    • Popular Articles

    • How do I process an End Of Year in SFM?

      Overview SFM allows posting into two financial years simultaneously. This means that users do not need to finalise 2024 before starting to post entries into 2025. The end of year procedure will move the “Current Year” data into the "Previous Year". ...
    • Do I need to Process an End-of-Year in SIMS?

      SIMS does not require an end of year procedures to be run. However, SIMS controls users to only allow posting of transactions, such as sales invoices, cash sales, adjustments and purchases, within a range of dates referred to as the Posting Period. ...
    • How to setup a System Control Account in SFM? (Bank Account, Cash Account, Stock Control, etc...)

      Create the Account in your Chart of Accounts as seen below. Please make sure you use the code depending on your Heading and Sub-Heading digits. After creating the account, you need to specify the account as a System Control Account. Go to Support > ...
    • How to reset your Shireburn remote desktop service (RDS) account password

      The password for the Shireburn RDS Account used to connect to RDS server is set to expire after 90 days. A notification is provided to the user daily starting 5 days prior to the expiry date. In order to change password, the following steps need to ...
    • SIMS - User Manual

      The attached PDF includes the necessary functions and features of SIMS to get you started. SIMS User Manual.pdf