Koha EDI setup and workflow for libraries

EDI Setup and Workflow

Warning
Please be aware that EDI configuration can be complex and may require ongoing communication with your EDI vendor(s) and your team at ByWater. Because there is no standard configuration that works for all libraries, multiple rounds of test orders are typical. Please expect configuration to take multiple weeks from initial setup to being fully up and running.

Libraries in implementation should be aware that we cannot test until you are fully live. EDI will not be active immediately upon go-live.
The Koha Manual gives an overview of the EDI ordering process and setup requirements. Your ByWater Educator will work with you on the steps below. Any steps that must be completed by your library are clearly marked as: 
NotesAction item: [task details].

Setup

Step 1: System preferences

These are the key system preferences to consider when setting up EDI in Koha:
  1. EDIFACT: Set this to [Enable] to use EDIFACT in Koha.
  2. EdifactInvoiceImport: [Do] or [Don't] automatically import invoices when vendors send them to your library's FTP folder. Since importing invoices marks items as Received, ByWater sets this to [Don't] by default. That way, items won't be marked Received until your library imports each invoice, typically when items have physically arrived at the library. Your library can switch this to [Do] if preferred.
  3. AcqItemSetSubfieldsWhenReceiptIsCancelled: To have Koha automatically update an item subfield if receipt is cancelled, set the subfield and value here. For instance, if you would like an item's not for loan status (952$7) to revert to -1 (commonly 'On order' or 'Ordered') if receipt is cancelled, set it as 7=-1.
  4. AcqItemSetSubfieldsWhenReceived: This tell Koha to automatically update item subfields when items are received. For instance, if you would like items' not for loan status (952$7) to automatically update to -2/Processing upon receipt, set this to 7=-2. 
    1. Note that not for loan statuses can also be automatically updated using each vendor's plugin. Koha will use the plugin setting first, but if that is unset, this setting will be used as a fallback.
  5. MarcItemFieldsToOrder: If a vendor will be sending item information in order files, this maps the tag/subfields they will use in order to create your order lines in Koha, including item details. ByWater uses a standard set of tags/subfields unless a vendor requires a different specific tag. See Step 9 below for details.
  6. MarcFieldsToOrder: This system preference allows vendors to send order information including price, fund, and quantity in MARC order files. This is for vendors who are not sending item information as part of the order file. ByWater uses a standard set of tags/subfields unless a vendor requires a different specific tag. See Step 9 below for details.
Notes
Action items:
  1. Review the system preferences above, and discuss any questions or changes with your Educator.
  2. These system preferences are the ones most commonly used for EDI. Please discuss questions about any other Acquisitions system preferences with your Educator.

Step 2: Create budget and funds

If your library does not already have them set up, you will need to create a budget with funds in order to use EDI.

Notes
Action item: Follow the instructions in the Koha manual to create a budget and add funds if you do not already have them set up.

Alert
Important: Fund codes should not contain spaces or special characters.

Step 3: Create vendors

Your library will create EDI vendor records in Koha's Acquisitions module. It can be helpful to include account numbers in a vendor note. A library may have one or more vendor records for the same vendor. 

Keep in mind that in Acquisitions, baskets, orders and invoices are linked to a vendor record. This means that a single Koha system may have multiple vendor accounts for the same vendor. There is not necessarily a right or wrong way to set this up - it entirely depends on how your library structures ordering, and how you want to be able to track orders and invoices. These are examples of situations when multiple accounts for the same vendor may be necessary or preferable:
  1. In a consortium, each library system will have their own account for each vendor. So, the accounts in Koha could be Vendor A - County X Library, Vendor A - County Y Library, Vendor A - County Z Library.
  2. In a unified system with multiple locations where each branch does their own ordering, each branch may have a separate account for the same vendor. This could look like Vendor A - Main branch, Vendor A - East branch, Vendor A - West branch. (If ordering is centralized, on the other hand, the vendor accounts would be simply Vendor A, Vendor B etc.)
  3. A single-location library may have separate accounts for Adult, Teen, and Children's materials for the same vendor. This could look like Vendor A - Adult, Vendor A - Teen, Vendor A - Children. 
  4. A library might have separate accounts for different types of orders from the same vendor. This could look like Vendor A - Processed, Vendor A - Unprocessed.
When deciding whether to create multiple vendor accounts for the same vendor, consider these points:
  1. Do any of the circumstances above apply?
  2. Will your library want to run reports that group expenditures by vendor? If so, will you want all orders from that vendor grouped together, or will you want to have them listed separately (perhaps by order type, material type, or audience)?
  3. If any of your vendors use a standard percentage discount for orders, is that discount the same across all orders, or does it only apply to one type of order (for instance, unprocessed items only)?
Notes
Action item: Create vendor(s) in Koha from Acquisitions > Vendors.

Step 4: Gather account information

Make a copy of this EDI workbook to collect the information you will need from each vendor for EDI setup in Koha. Please note the following: 
  1. Library EAN(s) and qualifier: Libraries with multiple ordering accounts will typically have multiple EANs.
  2. Library SAN and qualifier:
    1. A library SAN may be required by your vendor(s) in addition to your Library EAN. If your vendor tells you that they do not require a library SAN, you may skip these two entries in the workbook.
    2. SANs are assigned by Bowker Publishing Services. If your vendor requires a SAN but you are not sure what yours is, you can contact Bowker Support at (856) 399-7495 or isbn-san@bowker.com to look it up. If they tell you that none exists, they can be created by/purchased from Bowker.
Notes
Action items: 
  1. Make a copy of the EDI workbook for your library's use.
  2. Complete details on your copy of the workbook for each vendor your library will be ordering with using EDI. 
  3. Submit a ticket with your workbook linked (preferred) or attached.

Step 5: Plugin setup

EDI uses vendor-specific plugins to send orders and receive invoices. First, your library will install each plugin and complete initial configuration using the details in your EDI workbook. Next, your Educator will finalize plugin setup. Note that adjustments may be needed once you start sending and receiving EDI orders.

Your library's steps for EDI plugin installation and configuration are as follows:

Installation

  1. Start in Administration > Manage plugins (under the Plugins header toward the bottom of the left-hand column in Administration).
  2. In the plugin search box, type the name of the vendor with whom you will be ordering via EDI (for instance, Midwest Tape, Brodart, Follett etc.), then click the magnifying glass or hit Enter to search:

    Info
    For the Playaway plugin, search 'Findaway'.
  3. The most up-to-date version of the plugin for that vendor should appear as a search result. Click Install to import the plugin:
  4. Once the plugin loads, it will appear in your Plugins table. Click the Action button for the plugin you just installed, then select the Configure option:

Configuration

When applicable, plugins will be loaded with standard values specific to each vendor. If a setting is checked (or unchecked), it should not be changed unless discussed with your Educator. Only settings that must be reviewed/set by your library are outlined below. 

Buyer SAN section
  1. Buyer SAN: This library-specific identifier is also sometimes referred to as a 'Library SAN'. Not all vendors require this identifier. If your vendor doesn't require a buyer/library SAN, skip to 'Other INVOICE configurations' below.
    1. If you have a single SAN (typically libraries who are not part of a consortium, or are the only library ordering with this vendor in a consortium), enter your SAN here.
    2. If there are multiple SANs with this vendor on this instance of Koha (typically only when other libraries in your consortium use EDI with this vendor), leave blank.
    3. Note that this setting is not for the vendor SAN, which is a standard number assigned to each vendor. (Vendor SANs are entered in 'EDI accounts'.)
  2. Extract from Library EAN:
    1. If you are not part of a consortium and have a single SAN, leave unchecked.
    2. If there are multiple SANs with this vendor (typically only when other libraries in your consortium use EDI with this vendor), this should be checked.
      IMPORTANT: If you check this box, see special 'Multiple SAN instructions' in Library EAN setup (step 8) below.
 Single SAN example:

Multiple SAN example:
Other INVOICE configurations section
Anything marked N/A (grey boxes) in the following screenshot does not need library configuration. Your Educator will adjust N/A (grey) options if needed depending on your vendor and test orders.
  1. Shipping budget from order line (A1) and Shipping budget id (A2):
    1. If your library does not have a dedicated shipping fund, check Shipping budget from order line (A1) and leave Shipping budget id (A2) blank. 
    2. If your library has a dedicated shipping fund, leave Shipping budget from order line (A1) unchecked and put the numeric fund ID in Shipping budget id (A2).
  2. Add tax to shipping: unchecked for most libraries. If your vendor charges tax, discuss with your Educator.
  3. Close invoice on receipt: Library's preference 
    1. Many libraries choose to leave this unchecked, and instead close invoices manually after they have reviewed them for accuracy.
    2. Invoices that are automatically closed using this plugin option can be reopened for adjustments if needed.
  4. Add item note receipt: Library's preference
  5. Update item prices: Library's preference
    1. The plugin can update the price (952$g), replacement price (952$v), both, or neither in item records using the price for each item in the EDI invoice.
    2. If the price that patrons are charged for a lost item (replacement price/952$v) differs from the price you pay vendors for items (for instance, if patrons are charged the cover price of $19.99 but your vendor charges a discounted price of $16), choose 'Update neither' or 'Update price' so that patrons who lose an item will still be charged the full price of $19.99.
    3. Keep in mind that this affects prices in the item record only, not the price reflected in your budget/funds in Acquisitions.
  6. Not for loan status: Library's preference
    1. If desired, the plugin can update items' not for loan status upon receipt. If using, select the not for loan status to which values should be updated when items are received.
    2. If this is unset, Koha will update items to the value in AcqItemSetSubfieldsWhenReceived if that system preference is configured to update not for loan statuses. 


Be sure to click the 'Save configuration' button at the bottom of the plugin configuration screen once you're done.

Repeat this process for each plugin you need. Once you have set the options above, your Educator will complete plugin setup.

If you have questions about settings that aren't discussed here, please ask your Educator. 
Notes
Action items:
  1. Confirm that you have submitted a ticket with your EDI workbook linked (preferred) or attached.
  2. Download and configure the EDI plugin for each vendor you need using the instructions above.
    1. Notify your Educator if you are unable to find a plugin for a specific vendor.
  3. Notify your Educator once you have configured the settings above.
  4. Discuss any configuration questions with your Educator.

Step 6: File transports

File transports are the settings that Koha uses to send libraries' EDI orders to vendors and to retrieve vendors' invoices, typically via SFTP (preferred) or FTP.  

Most commonly, each distinct library system will only need one file transport per vendor, even if they have multiple vendor accounts/EDI account settings for that vendor. For instance, consider a library with four separate Follett ordering accounts. As long as the four ordering accounts belong to the same library and share the same username/password combination, the library can create one Follett file transport and use that file transport for all four of their Follett EDI accounts. 

In a consortium, each library system will need its own file transport settings per EDI vendor. This means that in a consortium with Library System A and Library System B, there will be separate file transports for Vendor 1 - Library System A and Vendor 1 - Library System B. 

It can be useful to think of file transports as an organization's mailing address, and each ordering account as a specific department within the organization. All mail for the organization goes to the same address (the file transport), but it is routed to the correct department (ordering account) when it arrives using addressee details on the envelope.  This means that in a consortium, there will be separate mailing addresses (file transports) per vendor, because each system within the consortium is its own organization.

Alert
Important: if your vendor specifies settings that differ from what is listed below, use what your vendor has provided instead. For instance, if they share a different 'Remote upload directory', use that instead of the information included below. 
Brodart file transport settings
  • Name: Library's choice (for example: 'Brodart EDI' or 'EDI transport for Brodart'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: FTP
  • Host: ftp.brodart.com
  • Port: 21
  • Passive mode: Enabled
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: out (will save with a trailing backslash)
  • Remote upload directory: in (will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • Follett file transport settings
    1. Name: Library's choice (for example: 'Follett EDI' or 'EDI transport for Follett'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
    2. Transport: SFTP
    3. Host: edi.follettcontent.com
    4. Port: 22
    5. Passive mode: Enabled (doesn't apply to SFTP connections)
    6. Authentication mode: Password-based
    7. Username: provided by vendor
      1. Often a variation on [librarynameST]-#####, where ST is the state abbreviation and ##### is the library's SAN or customer number with Follett
      2. Example: LibraryNameMD-123456
    8. Password: provided by vendor
    9. Key file path: leave blank
    10. Remote download directory: PickUp (will save with a trailing backslash)
    11. Remote upload directory: DropOff (will save with a trailing backslash)
    12. Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
    Ingram file transport settings
  • Name: Library's choice (for example: 'Ingram EDI' or 'EDI transport for Ingram'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: FTP
  • Host: ftp.ingramcontent.com
  • Port: 21
  • Passive mode: Enabled
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: /outgoing (will save with a trailing backslash)
  • Remote upload directory: /incoming (will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • Libraria file transport settings
  • Name: Library's choice (for example: 'Libraria EDI' or 'EDI transport for Libraria'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: SFTP
  • Host: ftp.libraria.com
  • Port: 22
  • Passive mode: Enabled (doesn't apply to SFTP settings)
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: /OUT (will save with a trailing backslash)
  • Remote upload directory: /IN (will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • Mackin file transport settings
    1. Name: Library's choice (for example: 'Mackin EDI' or 'EDI transport for Mackin'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
    2. Transport: SFTP
    3. Host: sftp.mackin.com
    4. Port: 22
    5. Passive mode: Enabled (doesn't apply to SFTP settings)
    6. Authentication mode: Password-based
    7. Username: provided by vendor
    8. Password: provided by vendor
    9. Key file path: leave blank
    10. Remote download directory: from_mackin (will save with a trailing backslash)
    11. Remote upload directory: to_mackin (will save with a trailing backslash)
    12. Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
    Midwest Library Services file transport settings
  • Name: Library's choice (for example: 'Midwest Library Services EDI' or 'EDI transport for MLS'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: FTP
  • Host: ftp.midwestls.com
  • Port: 21
  • Passive mode: Enabled
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: /pick-up-inv (will save with a trailing backslash)
  • Remote upload directory: /drop-off (will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • Midwest Tape file transport settings
  • Name: Library's choice - (for example: 'Midwest Tape EDI' or 'EDI transport for MWT'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: FTP (default); SFTP option coming soon
  • Host: ftp.midwesttapes.com
  • Port: 21
  • Passive mode: Enabled
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: Out (will save with a trailing backslash)
  • Remote upload directory: In (will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • Playaway file transport settings
  • Name: Library's choice (for example: 'Playaway EDI' or 'EDI transport for Playaway'). It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: FTP
  • Host: ftp.playawaycentral.com
  • Port: 21
  • Passive mode: Enabled
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: /outbound (will save with a trailing backslash)
  • Remote upload directory: /inbound (will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • Other vendor file transport settings
  • Name: Library's choice - typically '[Vendor name] EDI' or 'EDI transport for [vendor]'. It should include the vendor's name, and if your library is part of a consortium, your library system's name as well. This is what you will use to link the file transport with one or more vendor accounts in EDI account settings.
  • Transport: SFTP (default; preferred) or FTP
  • Host: address provided by vendor
  • Port: 22 (default; use for SFTP) or 21 for FTP
  • Passive mode: Defaults to On (Recommended)/Enabled (Recommended) for FTP - leave at default unless discussed otherwise with ByWater Solutions
  • Authentication mode: Password-based
  • Username: provided by vendor
  • Password: provided by vendor
  • Key file path: leave blank
  • Remote download directory: provided by vendor (note: will save with a trailing backslash)
  • Remote upload directory: provided by vendor (note: will save with a trailing backslash)
  • Debug mode: Disabled (ByWater will enable if needed for troubleshooting)
  • The completed screen should look similar to this (with your vendor's details substituted):

    Click 'Submit' to continue.

    When you save the new connection (or edit an existing connection), you will receive a confirmation screen. For SFTP connections, it will look like this:

    For FTP connections:

    Click 'Save' to complete the new file transport (or save edits to an existing transport).

    Notes
    Action item: In Administration > File transports (under Additional parameters), create new file transport settings for the vendor(s) your library will be using for EDI orders based on the details above and/or in your EDI workbook.

    Step 7: EDI accounts

    The next step will link your file transport settings with specific EDI vendor accounts. This is how Koha knows which file transport settings to use to send orders and retrieve invoices based on the vendor account used to create a basket. To extend the mailing address metaphor, EDI accounts can be considered Koha's address book linking departments (ordering accounts) with the organization's main mailing address (file transports). 

    To begin, go to Administration > EDI accounts (also accessible from Acquisitions > EDI accounts), and enter the details below for each applicable vendor.
    Alert
    Important: if your vendor specifies settings that differ from what is listed below, use what your vendor has provided instead. 
    Brodart EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Brodart
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 1697684
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: EDItEUR
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Follett EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Follett
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 7607164
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: EDItEUR
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Ingram EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Ingram
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 1697978
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: BiC
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Libraria EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Libraria
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 7607946
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: EDItEUR
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Mackin EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Mackin
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 1348795
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: EDItEUR
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Midwest Library Services EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Midwest Library Services
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 1694243
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: EDItEUR
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Midwest Tape EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Midwest Tape
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 2549913
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: EDItEUR
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Playaway EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Edifact - Findaway
      4. Qualifier: (31B) US SAN Agency
      5. SAN: 8538778
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: BiC
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and ByWater Solutions.
    Click 'Submit' to save your settings.
    Other vendor EDI accounts
    1. Basic information
      1. Vendor: Select from the vendors you created in step 3
      2. Description: Enter a description that will help library staff identify this account, including distinguishing it from other accounts with the same vendor if applicable. This could include the library name (if multiple libraries or branches have accounts with the same vendor), account number, or account purpose (such as Teen, Grant Orders, Processed etc.).
      3. Plugin: Select the plugin for this vendor
      4. Qualifier: Provided by your vendor
      5. SAN: Provided by your vendor
        1. This is the vendor's SAN, not your library's SAN
      6. Standard: Provided by your vendor
    2. Transport settings
      1. Select the file transport settings for this vendor that you created in step 6. If you are part of a consortium with other libraries who use EDI with this vendor, make sure to select your library's file transport.
    3. Message types
      1. Select 'Orders enabled' and 'Invoices enabled' unless discussed otherwise with your vendor and ByWater Solutions.
    4. Functional switches
      1. Leave both options deselected unless discussed otherwise with your vendor and By
      2. Water Solutions.
    Click 'Submit' to save your settings.
    The completed screen should look similar to this (with your vendor's details substituted):

    Notes
    Action item: Create EDI account settings for each account you will use for EDI ordering.

    Step 8: Library EANs

    Next, set up your Library EAN(s) for each ordering account you have with your vendor(s). Library EANs transmit your ordering account number so that vendors know which account you are using for a given basket. Think of Library EANs as the Attention: part of the address on an envelope - all mail goes to the business's main address, and the Attention:/addressee details (Library EAN) tell mailroom staff which department should receive specific envelopes. 

    To set these up, go to Administration > Library EANs (also accessible from Acquisitions > Library EANs), and enter the details below and from your EDI workbook for each applicable account.

    Info
    EANs must be 15 characters or less.

    Alert
    Important: if your vendor specifies settings that differ from what is listed below, use what your vendor has provided instead. 
    Brodart library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.). 
      1. Examples: Brodart - Teen, North Library - Brodart Grant Orders, Brodart - Processed.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, Brodart - Teen would become Brodart - Teen SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by Brodart - see workbook
      1. This is your Brodart customer number.
      2. It will be alphanumeric, and typically 6-7 digits/letters.
    4. Qualifier: US SAN Agency (31B)
    Follet library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.). 
      1. Examples: Follett - Teen, Main Library - Follett Grant Orders, Follett - Shelf Ready.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, Follett - Teen would become Follett - Teen SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by Follett - see workbook
      1. This may be an account number or a phrase such as Book Only or Shelf Ready.
      2. If it is a phrase, make sure to use the exact capitalization as provided by Follett.
    4. Qualifier: Assigned by supplier (91)

    Ingram library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.).
      1. Examples: Ingram - Teen, West Library - Ingram Grant Orders, Ingram - Unprocessed.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, Ingram - Teen would become Ingram - Teen SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by Ingram - see workbook
      1. This will be your Ingram account number - typically an alphanumeric string starting with 20.
    4. Qualifier: Assigned by supplier (91)

    Libraria library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.).
      1. Examples: Libraria - Adult, Central Library - Libraria Cataloged, Libraria - Unprocessed.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, Libraria - Adult would become Libraria - Adult SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by Libraria - see workbook
      1. This will be your Libraria account number/name or customer number - typically an abbreviated combination of your state and library name (such as CABWS for ByWater Solutions in California). In some cases, it will be a string of numbers rather than letters.
    4. Qualifier: Assigned by supplier (91)
    Mackin library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.).
      1. Examples: Mackin - Adult, Central Library - Mackin Cataloged, Mackin - Unprocessed.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, Mackin - Teen would become Mackin - Teen SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by Mackin - see workbook
      1. This will be your Mackin account number/customer number.
    4. Qualifier: Assigned by supplier (91)
    Midwest Library Services library EANs
    Coming soon
    Midwest Tape library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.).
      1. Examples: Midwest Tape - Adult, Central Library - Midwest Tape Cataloged, Midwest Tape - Unprocessed.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, Midwest Tape - Adult would become Midwest Tape - Adult  SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by Midwest Tape - see workbook
      1. This will be your Midwest Tape account number.
    4. Qualifier: Assigned by supplier (91)

    Playaway library EANs
    Coming soon

    Other vendor library EANs
    1. Library: Leave at 'All libraries', or limit to a specific library if this account should only be used by one location.
    2. Description: Enter a description that will help library staff identify this account when sending EDI orders in Koha. This should include the vendor name and, if applicable, any distinguishing information such as the library name (if multiple libraries or branches have accounts with the same vendor) and account purpose (such as Teen, Grant Orders, Processed etc.).
      1. Examples: [Vendor name]  - Adult, Central Library - [Vendor name]  Shelf ready, [Vendor name]  - Grant funded.
      2. Multiple SAN instructions: If you checked 'Extract from Library EAN' in plugin setup because multiple libraries with different SANs will order from this vendor, append SAN:{library SAN} to your Description. For example, [Vendor name] - Adult would become [Vendor name] - Adult SAN:{12345}. If you did not check 'Extract from Library EAN' in plugin setup, your Description does not need to end with SAN:{library SAN}.
    3. EAN: Provided by vendor - see workbook
    4. Qualifier: Provided by vendor - see workbook

    Notes
    Action item: Create Library EAN settings for each account you will use for EDI ordering.

    Step 9: Vendor grid/mapping setup

    If your vendor will be providing MARC order files, your library will need to set up grids/mapping on each vendor's site. The fields to map with your vendor(s) will be based on the applicable tag(s) and subfields set in Koha's MarcFieldsToOrder and/or MarcItemFieldsToOrder system preferences. ByWater uses a standard set of tags/subfields for each of these system preferences unless a vendor requires a specific different tag. 

    Alert
    In addition to information in MarcFieldsToOrder and MarcItemFieldsToOrder, we highly recommend mapping bib-level item types in 942$c as part of your order files. If a vendor cannot do so, you will need to add 942$c to your files at the staging step by using a MARC modification template or prior to staging your file using an outside program such as MarcEdit.

    Some of these mapped fields will need a list of codes that will be incorporated into your grids and downloaded order files. Your Educator will add EDI reports to your Reports module that you can use to generate lists of these codes.

    Order files with item information

    If your vendor(s) order files will contain item details, the system preference MARCItemFieldsToOrder should be mapped as follows:

    budget_code: 970$e
    quantity: 970$q
    homebranch: 970$a
    holdingbranch: 970$b
    itype: 970$y
    price: 970$g
    replacementprice: 970$v
    notforloan: 970$7
    ccode: 970$8
    loc: 970$c
    nonpublic_note: 970$x
    public_note: 970$z
    copyno: 970$t
    itemcallnumber: 970$o
    barcode: 970$p
    enumchron: 970$h
    coded_location_qualifier: 970$f
    uri: 970$u

    If your MARCItemFieldsToOrder system preference is blank, you can copy and paste the list above. If your MARCItemFieldsToOrder has existing mapping that differs from the list above, please discuss with your Educator.

    Note the following for this mapping setup:

    Mandatory
    1. Fund (mapped to 970$e) - use EDI: Fund codes report
    2. Quantity (mapped to 970$q)
    3. Price (mapped to 970$g) - this should be the price your library is paying for each item, which may differ from the cover price.
    4. Home library (mapped to 970$a) - use EDI: Branch codes report
    5. Holding library (mapped to 970$b) - use EDI: Branch codes report
    6. Item-level item type (mapped to 970$y) - use EDI: Item type codes report
    Conditionally required
    1. ISBN/product ID (mapped to 970$f; labeled coded_location_qualifier in MARCItemFieldsToOrder) - if you answer Yes to the 'Order file requirements' question on the Mapping sheet of your EDI workbook, this field is required.
      1. If using, vendors should send the ISBN or other product identifier in this field in addition to its standard bib-level field (020$a, 028$a etc.).
    Strongly recommended
    1. Bib-level item type (mapped to 942$c) - use EDI: Item type codes report
    2. Replacement price (mapped to 970$v) - this is the amount that patrons should be charged if they lose the item. Typically it is the full cost of the item, regardless of the price paid by the library.
    3. Not for loan (mapped to 970$7) - this is typically hard-coded to -1 (Ordered or On order) for all items.
    Optional (partial list)
    1. Collection codes (mapped to 970$8) - use EDI: Collection codes report
    2. Shelving locations (mapped to 970$c) - use EDI: Shelving location codes report
    3. See EDI workbook for full list of optional subfields

    Order files without item information

    If your vendor(s) order files will not contain item details, the system preference MARCFieldsToOrder should be mapped as follows:

    budget_code: 975$e
    quantity: 975$q
    price: 975$g
    replacementprice: 975$v
    discount: 975$d
    sort1: 975$j
    sort2: 975$k

    If your MARCFieldsToOrder system preference is blank, copy and paste in the list above. If your MARCFieldsToOrder has existing mapping that differs from the list above, please discuss with your Educator.

    Note the following for this mapping setup:

    Mandatory
    1. Fund (mapped to 975$e) - use EDI: Fund codes report
    2. Quantity (mapped to 975$q)
    3. Price (mapped to 975$g) - this should be the price your library is paying for each item, which may be a discount from the cover price.
    Conditionally required
    1. ISBN/product ID (tag/subfield TBD) - if you answer Yes to the 'Order file requirements' question on the Mapping sheet of your EDI workbook, this field is required.
      1. If using, vendors should send the ISBN or other product identifier in this field in addition to its standard bib-level field (020$a, 028$a etc.).
      2. Discuss the tag/subfield to use with your Educator, then map accordingly in your vendor grids.
    Strongly recommended
    1. Bib-level item type (mapped to 942$c) - use EDI: Item type codes report
    Optional (partial list)
    1. Discount (mapped to 975$d) - only used if your vendor applies the same percentage discount to all titles in an order. If using, the price field (975$g) should list the full item price to which this discount should be applied.
    2. Replacement price (mapped to 975$v) - this is the amount that patrons should be charged if they lose the item. Typically it is the full cost of the item, regardless of the price paid by the library.
    3. See EDI workbook for full list of optional subfields
    Notes
    Action items: 
    1. Review your MARCItemFieldsToOrder and MARCFieldsToOrder system preferences:
      1. If they are blank, copy and paste in the mapping above.
      2. If they contain other mapping, discuss with your Educator.
    2. Set up grids/mapping using the applicable tags/subfields per your EDI workbook.
      1. If your vendor requests different tags/subfields, or cannot include a given tag/subfield, please discuss with your Educator.
    3. For the applicable fields outlined above, share code lists with your vendor(s) using the EDI reports in Koha's Reports module.

    Step 10: Final MARC file setup (if applicable)

    If your vendor will be sending final MARC files for your library to overlay atop order files, matching should occur on 999$c (Koha biblionumber) for bib overlay and 952$9 (Koha item number) for item overlay. The Koha biblionumber and item number are sent to vendors as part of your EDI order. Your library should confirm that each vendor can include these numbers as part of your final MARC files. If they cannot, discuss with your Educator. 

    Alert
    Note: For final MARC files, Ingram will send the biblionumber in 999$a. Libraries will need a special MARC modification template to copy that number to 999$c. Please discuss with your Educator.

    If your vendor's final MARC files will include item information, the vendor may want a list of item subfields. 952 is Koha's item tag. The most common item subfields for final files are:

    952$a - Home library
    952$b - Holding library
    952$c - Shelving location
    952$g - Price
    952$o - Call number
    952$p - Barcode
    952$v - Replacement price
    952$y - Item type
    952$7 - Not for loan status
    952$8 - Collection code
    952$9 - Item number

    A full list of item subfields is available in the Koha Manual.

    Alert
    Note that Koha overlays the entire tag - it can't overlay only specific subfields. This means that for item overlays, any item subfields that are not included in your vendor's final MARC files will be treated as blank/null by Koha. For instance, if your order file contained an item type, home library, holding library, not for loan value, shelving location, and collection code, the final MARC file must also contain those subfields, or existing data will be blanked out when you overlay the final file.

    Similarly, if your library will be overlaying bib records, you will want to make sure that your bib-level item type (942$c) is retained/included. Please discuss options with your Educator if your vendor cannot include 942$c in final files.

    Notes
    Action items:
    1. Verify that your vendors can include 999$c (biblionumber) and, if applicable, 952$9 (item number) in your final MARC files.
      1. If they cannot include both, discuss with your Educator.
      2. Libraries receiving final MARC files from Ingram: discuss the required custom MARC modification template with your Educator.
    2. Confirm that your vendor will include all applicable item subfields in your final MARC records.
    3. Verify that your vendor can include 942$c (bib-level item type) in your final files. If they cannot, discuss options with your Educator.

    Ordering/receiving workflow

    Once configuration is complete, you will work with your Educator and vendor to set up a test order (or, depending on the vendor, a small 'live' order). This is the same process you will use to place regular orders.

    Creating orders

    1. On your vendor's site, create your order, but do not submit it.

    2. Download the cart's order MARC file to your local computer.

    3. If you prefer to stage your file ahead of time, go to Cataloging > Stage records for import to stage your MARC file. If you prefer to stage and import from the basket, skip to Step 4, and use step 5a to add to your basket.
    1. Use any MARC modification templates that you have discussed with your Educator.
    2. Do not import the file at this step.
    4. In Acquisitions, find the vendor's record, then create a new basket. 

    5. Add to the basket using one of these methods:
    1. If you did not already stage your file, select the 'From a new file' option. Be sure to use any MARC modification templates that you have discussed with your Educator. Review the staged file, then complete the import. 
    2. If you staged your file previously in Cataloging, use the 'From a staged file' option, and select the file you staged earlier. 
    6. Review the details for each bib/item in your order:
    1. If your EDI vendor's grid/mapping only includes order information (price, quantity, and fund) but not item information, verify the order details and add item details as needed.
    2. If your EDI vendor's grid/mapping contains order and item information, verify that both have imported completely and correctly.
    3. If any details are not displaying as you expect, please discuss with your Educator.
    4. Once your order file has been imported into a basket, its bibs/items will be visible in your OPAC/Aspen (unless you have chosen to suppress them). Depending on your settings, patrons may be able to place holds on these titles. 
    7. Click the 'Create EDIFACT order' button and select the proper Library EAN to submit your order and close your basket.
    1. Once 'Create EDIFACT order' is clicked, 'EDI status' will change to Pending. The EDI cron runs every 15 minutes, so this will remain pending until the next run. Once it sends, the status will update again.
    2. You can view the status of your EDIFACT message in the basket under 'EDI status'. 

    1. The status will also be visible in Acquisitions > EDIFACT messages.
    Your vendor will process the order and send an EDIFACT invoice back to Koha, typically when items are shipped. Follow the next steps when you are ready to work with an invoice that your vendor has sent.

    Receiving and invoices

    Invoices will import into Koha one of two ways:
    1. If your library individually imports invoices into Koha when staff are ready to review them (typically when items have physically arrived at the library), start with step 1.
    2. If your library is automatically importing invoices as soon as the vendor sends them, start with step 2 (this is less common).
    1. Go to Acquisitions > EDIFACT messages, and click the 'Import' button next to the invoice you want to download and review.

    2. In Acquisitions > Invoices, find your invoice.

    3. Review the invoice for accuracy. If items have been marked Received that are not physically present or are damaged, cancel their receipt.

    4. Add any adjustments if needed.

    5. If everything is correct and you have received everything you expect to on this invoice, click 'Close'.

    6. Save your invoice.

    If anything does not appear as expected, please discuss with your Educator.

    Alert
    Importing the invoice will mark items Received, so most libraries choose to wait to import invoices until they have physically received items. Depending on settings in your plugin(s) settings as discussed above, receiving items may also update not for loan statuses and prices. Please reach out to your Educator with any questions.

    Cataloging/processing (overlaying final files)

    1a. If your library does not receive final MARC files from your vendor(s), you are now ready to complete cataloging/processing of your newly acquired items.

    1b. If your vendor does provide final MARC files, go to Cataloging > Stage records for import to overlay your final file over the brief order bibs. 
    1. Typically, libraries use a 999$c/Koha biblionumber matching rule for final files. When applicable, Koha matches for item overlay on 952$9/item number. The biblionumber and item number are sent to vendors as part of your EDI order, and they should include them in your final files so that they overlay properly.
    2. Please discuss any questions about which settings to use for staging/importing final files with your Educator.

    Troubleshooting

    Troubleshooting ISBNs/LINs for EDI Orders