Import and export nominal account information

Find this screen

Open: Nominal Ledger > Utilities > Import and Export > Import Ledger File

Open: Nominal Ledger > Utilities > Import and Export > Export Nominal Accounts

How to

Create an import file for nominal accounts

To help you with the import, we have provided files which you can download.

You can import Nominal accounts using either a CSV Comma Separated Value (CSV) file format. Sage 200 can import and export data in the CSV file format. or XML Extensible Markup Language (XML) file format. Sage 200 can import and export data in the XML file format. file.

  1. Download the import information and example files:

  2. Create your import file in the format of the CSV or XML example file.

  3. Read the information in the import format file (XLS), and make sure your information is correct including all mandatory fields.

    • The required mandatory fields will depend on whether you are creating a new account or updating an existing account.

    • Some fields can only be set when you create a new account, and can't be updated.

  4. Save your import file.

Create an import file for nominal transactions

To help you with the import, we have provided files which you can download.

You can import nominal transactions using either a CSV Comma Separated Value (CSV) file format. Sage 200 can import and export data in the CSV file format. or XML Extensible Markup Language (XML) file format. Sage 200 can import and export data in the XML file format. file.

  1. Download the import information and example files.

    For Sage 200 Professional version 2023 R1 onwards:

    For Sage 200 Professional up to version 2022 R2:

  2. Create your import file in the format of the CSV or XML example file.
  3. Read the information in the import format file (XLS), and make sure your information is correct and all mandatory fields are included.

    • Transactions will be posted to the Suspense nominal account if they use an invalid combination of nominal account code, cost centre, or department.

    • If a value is not entered for the User Number or Source, these are given the number 9 (nine) when imported.

    • To indicate transactions originating from a Source other than Sage 200, enter any value between 16 and 90.

    • The TransactionType is only applicable to versions up to version 2022 R2, and is not used from Sage 200 Professional 2023 R1 version onwards.

      You must specify a TransactionType of 1.

    • If the TransactionDate field is included in the import file, you must enter a transaction date for each transaction.

    • You can group any matching transactions by entering the same UniqueReferenceNumber value for each transaction in the group. Transactions that have the same UniqueReferenceNumber value in the import file will be assigned to the same new generated transaction URN during the import. The UniqueReferenceNumber value in the import file will not be used as the actual transaction URN (as that is generated automatically), it is just used to indicate which transactions should be assigned to the same generated URN. If you don't specify a UniqueReferenceNumber, transactions will be assigned individual URNs, so they will not be grouped with any other transactions when you view them.

    • The selected VATCode must have terms of Not Applicable.

      To set a VATCode for the transaction, you must also set a VATType that is not N/A or blank.

      Note: The VATType and VATCode fields can only be used for Sage 200 Professional 2023 R1 version onwards.

  4. Save your import file.

Create an import file for nominal budgets

To help you with the import, we have provided files which you can download.

You can import nominal budget values using either a CSV Comma Separated Value (CSV) file format. Sage 200 can import and export data in the CSV file format. or XML Extensible Markup Language (XML) file format. Sage 200 can import and export data in the XML file format. file.

  1. Download the import information and example file:

  2. Create your import file in the format of the CSV or XML example file.
  3. Read the information in the import format file (XLS), and make sure your information is correct and all mandatory fields are included.

    Note: You must enter budgets as a negative amount for all accounts where you're expecting the account balance to be a Credit. This normally applies to all Income type accounts on the Profit and Loss and Liability accounts on the Balance Sheet.

  4. Save your import file.
Note:
  • When you import, the Budget this year values are updated, and you can also choose whether you also want to Update original budgets to make the amounts the same.
  • The number of budgets you import must match the number of accounting periods configured in the system.
  • If you have different numbers of accounting periods defined for different years in Accounting System Manager then you must import these separately.

Validate your import file

Open: Nominal Ledger > Utilities > Import and Export > Import Ledger File

You can validate the file to make sure all the records are in the correct format and have the required mandatory fields. No records are imported

  1. Select Validate records only and click OK.

  2. Browse to your import file, select it and then click Open.

    The file is checked and two reports are generated:

    • The Update Report: Shows the valid records that would be successfully imported into Sage 200.
    • The Update Report (Invalid): Shows the invalid records that would not be imported into Sage 200. The reason for the failure is shown in the report, and there may be more than one reason for the failure.

    Note: The reports are displayed as a preview, printed, or sent to the spooler. This depends on the Output mode you have set.

    Note: If you get a message "Unable to process the specified file", make sure your import file is closed and isn't open in any applications.

  3. Check both reports to ensure that your records are complete and correct.

  4. Make any required corrections to the records in your import file.
  5. To revalidate your import file, repeat this process.

Import nominal accounts

Open: Nominal Ledger > Utilities > Import and Export > Import Ledger File

  1. Go to the Data to import list and select Nominal accounts.

  2. Select Validate and import records.

  3. Choose whether you want to update existing accounts:

    • If your import file contains existing accounts that you want to update, select Update account if it exists.

    • If you don't want to update existing accounts, don't select Update account if it exists.

  4. Specify any defaults you want to apply to all accounts being imported, which saves you having to specify them in the import file.

    • You can select a default Cost centre and Department to be applied to any nominal accounts with invalid codes in either of those fields.

    • You can select a default Account type.

  5. Choose what to do if accounts have new analysis codes or values that don't currently exist in Sage 200.

    • To import accounts with new analysis codes or values, select Ignore Invalid Analysis Codes.

      This imports new values for any analysis codes set to Enter free text on the Analysis Codes screen.

    • If you don't select Ignore Invalid Analysis Codes and the analysis code or value doesn't exist in Sage 200, the account isn't imported.

  6. Click OK.

  7. Browse to your import file, select it and click Open.

    The validation checks are repeated and reports are produced showing the records have been imported and second report (if required) showing those that can't.

    Note: The reports are displayed as a preview, printed, or sent to the spooler. This depends on the Output mode you have set.

    Note: If you get a message "Unable to process the specified file", make sure your import file is closed and isn't open in any applications.

  8. Check both reports to ensure that your records are complete and correct.

  9. Make any required corrections to the records in your import file.

    As part of this update, remove the details of records that were successfully imported.

  10. Repeat this process to import the corrected records.

Import nominal transactions

Open: Nominal Ledger > Utilities > Import and Export > Import Ledger File

You can add new transactions but you cannot add information to existing transactions.

The import will automatically run Update Waiting Postings and generate a report. This means all the imported transactions for Closed and Current accounting periods will be posted directly to the nominal ledger, along with any other transactions that are currently in waiting postings. If an imported transaction is dated in a Future accounting period, it will be placed in the deferred waiting postings file.

  1. Go to the Data to import list and select Nominal transactions.

  2. Select Validate and import records.

  3. To ensure that the imported transactions balance, select the Transactions must balance setting.

    Note: This is selected by default. In normal circumstances you would always select this option. However, you might clear this if you were importing transactions for correction purposes, for example following a system crash.

  4. Click OK.

  5. Browse to your import file, select it and click Open.

    The validation checks are repeated and reports are produced showing the records have been imported and second report (if required) showing those that can't.

    Note: The reports are displayed as a preview, printed, or sent to the spooler. This depends on the Output mode you have set.

    Note: If you get a message "Unable to process the specified file", make sure your import file is closed and isn't open in any applications.

  6. Check both reports to ensure that your records are complete and correct.

  7. Make any required corrections to the records in your import file.

    As part of this update remove the details of records that were successfully imported.

  8. Repeat this process to import those corrected records.

Note: The import may take a long time to complete if you have a large number of items in the import file. For example, it might take 1 minute per 1,000 items in the import file. Therefore, it's a good idea to remove any unnecessary items from the import file. So if you're only updating 10 items in a file that has 10,000 items, then edit the import file so it only contains those 10 items.

Import nominal budget values

Open: Nominal Ledger > Utilities > Import and Export > Import Ledger File

You can import budgets set at nominal account level, but not combined nominal budgets. This is useful if you want to maintain your budgets in an Excel spreadsheet and makes the process of entering and updating your budgets much quicker.

  • You can import the current year's budgets for existing nominal accounts, and budgets for up to five future years.
  • You can't import combined budgets, group budgets, budgets for previous years, or budget profiles for future years.

To import budgets:

  1. In the Data to import list, select Budget values.
  2. Select Validate and import records.
  3. Choose whether you want to Update original budgets.

    • If you only want to update the Budget this year values and not the Original budget values, don't select Update original budgets.
    • To update both the Original budget values and Budget this year values (to be the same), select Update original budgets.
  4. Click OK.

  5. Browse to your import file, select it and click Open.

    The validation checks are repeated and reports are produced showing the records that have been imported and second report (if required) showing those that can't.

    Note: The reports are displayed as a preview, printed, or sent to the spooler. This depends on the Output mode you have set.

    Note: If you get a message "Unable to process the specified file", make sure your import file is closed and isn't open in any applications.

  6. Check both reports to ensure that your records are complete and correct.

  7. Make any required corrections to the records in your import file.

    As part of this update remove the details of records that were successfully imported.

  8. Repeat this process to import those corrected records.

Export nominal accounts

Use this to export nominal accounts to a file. You can then make changes to your accounts using an external tool (such as Excel), and then import your updated information back into Sage 200.

Open: Nominal Ledger > Utilities > Import and Export > Export Nominal Accounts

  1. Select the nominal accounts that you want to export.
    • All nominal accounts: Export all nominal accounts.
    • Single nominal account: Select the nominal account to export.
    • Multiple nominal accounts: Export all nominal accounts that contain a particular account Code, Cost centre , or Department. For example:

      • To export all nominal accounts that have a particular cost centre, just select that cost centre.
      • To export accounts for a particular nominal code with any cost centre and departments, select the nominal Code only.
    • Analysis code: Export all nominal accounts that contain a particular analysis code name and/or value. For example:

      • To export accounts that match an analysis code, select both the name and value; e.g. accounts where Region has the value North.
      • To export all accounts that have a blank value for an analysis code, select the analysis code name but leave the value blank. This is useful if you want to find nominal accounts with missing analysis codes.
  2. If you also want to include nominal accounts that have a hidden status, select Include hidden nominal accounts.
  3. Click OK, then click Yes to proceed.
  4. Choose the filename and location, then click Save.

    If you have a large number of accounts, it might take a short while to export all the information.


Useful info

Importing nominal accounts

Note:

Before you import your nominal accounts, you must have created (or imported) your:

  • Report categories.

  • Cost centres and departments, if you're using them.

Nominal accounts are fundamental to the successful management of your finances. The value of every transaction entered into Sage 200 is posted to a nominal account. and this is where the revenue and expenditure of your business is recorded.

Every nominal account must have a Code and a Report Category. You can also specify:

  • A name.

  • A cost centre (optional). If you're using your own cost centres, you must import or create them before importing the accounts.

  • A department (optional). If you're using your own departments, you must import or create them before importing the accounts.

  • An indication of whether journals can be posted to the account (optional).

  • Analysis codes (optional). If you're using analysis codes you can add new values when importing nominal accounts. You can use analysis codes to capture additional information or add custom fields so you can report and examine specific areas of your organisation.

Importing nominal budgets

Note: Before you import nominal budgets you must have imported or created your nominal accounts.

You can import budgets set at nominal account level, but not combined nominal budgets. This is useful if you want to maintain your budgets in an Excel spreadsheet and makes the process of entering and updating your budgets much quicker.

Importing nominal transactions

Note: Before you import nominal transactions, you must have imported or created your nominal accounts.

You can only import new transactions. You cannot import information to add to existing transactions.

To make sure that you only import transactions, make sure the Transactions Must balance option is selected.

Note: This is selected by default. In normal circumstances you would always select this option. However, you might clear this if you were importing transactions for correction purposes following a system crash, for example.

For each nominal transaction you need to provide:

  • The nominal account number (mandatory).

  • Cost centre and /or department (optional). These must already exist in Sage 200.

  • The transaction date, posted date, and value (mandatory).

  • A reference number, user number, source and transaction analysis code (optional).

Exporting and updating information

Some information can be exported to a CSV file, which can make updating the information easier if you need to make a lot of changes.

The information is exported to a CSV file in the same format used for an import. This means you can export information and make changes to it using an external tool (such as Excel), and then import your updated information back into Sage 200.

For details of which records you can export and update, see What can I import, export and update?

Updating information

  • An import file can include information for both new records and existing records that you want to update. You can choose whether or not to update existing records when you import.

  • Check the import format spreadsheet (XLS/XSLX file) for details about each import format.
  • Not all fields need to be included in the import file. You only need to include the mandatory fields.

    • If you do not want to include a field for a particular record, just leave that field blank.
    • If you do not want to include a field for any of the records in your import file, then you can remove the field altogether (including the heading).

Questions

I have invalid records when I import

  1. Check the reason the import failed on the report and take the appropriate action:

    • If the record already exists: remove the record from your file.
    • If a mandatory field is missing: refer to the import file format (XLS/XLSX file) and add the mandatory field to your record.
    • If a field is incorrectly formatted: refer to the import file format (XLS/XLSX file) and amend the field so it adheres to the required format.
  2. Remove those records that were successfully imported from your import file, so they aren't imported again.
  3. After addressing all issues, import the file again.

What happens

What happens when I validate the file?

When you validate an import file, Sage 200 checks for the following:

  • Whether an item already exists.

  • All items contain the required mandatory fields.

  • All fields are correctly formatted.

The result of the validation is provided by reports.

  • A report lists the items that are valid and can be imported.

  • A separate report is produced to list any items that are invalid and can't be imported. The report will tell you why individual items are invalid.

Note: Depending on your selected output mode, the reports are displayed as a preview, sent to the spooler, or sent to the printer.

What happens when I import the file?

  1. The import file is validated.
  2. The import file is processed.

    All valid items are imported, and any invalid items are ignored.

  3. The result of the import is provided by reports.

    • A report lists the valid items that were successfully imported.

    • A separate report is produced to list any items that were invalid and could not be imported.

    Note: Depending on your selected output mode, the reports are displayed as a preview, sent to the spooler, or sent to the printer.