Skip to content

Bill.com Sandbox Setup Guide

A Bill.com sandbox is a free, standalone test version of Bill.com. Nothing you do in the sandbox affects your live Bill.com account, and no real money moves. When the sandbox is connected to a Business Central sandbox, you can test the Bill.com MEM Integration safely before you make changes in production.

The Bill.com MEM Integration works with several Bill.com organizations at once, one for each entity. To test it properly, the sandbox needs a Bill.com Console with at least two organizations. The Console is the Bill.com feature that lets one user manage several organizations. In the Console, each organization is called a client.

This guide takes you through the full setup, from creating the Bill.com sandbox Console to importing the sandbox organizations into Business Central. Complete the sections in order.

When you finish, you will have:

  • A Bill.com sandbox Console with at least two client organizations.
  • A developer key that works with every client organization.
  • A test bank account in each client organization, so that bills can be paid.
  • A Business Central sandbox environment that is connected to the Bill.com sandbox, with each Bill.com organization linked to an entity.

Plan for about one hour of work.

Make sure you have the following before you start.

  • A work email address. This email address becomes the user name for the sandbox. It cannot be the same email address that you use for your live Bill.com account. A shared mailbox, such as a test or IT mailbox, works well because other team members can reach it later.
  • A mobile phone. Bill.com sends a verification code by text message or phone call during sign-up.
  • A password manager. You will create several credentials that must be stored securely. Do not send them by email or chat.
  • A Business Central sandbox environment. Do not use your production environment for any step in this guide.
  • At least two entities in the Business Central sandbox. Each entity is identified by a Global Dimension 1 value. Decide which entity each Bill.com test organization will represent.
  • The Bill.com MEM Integration installed in the Business Central sandbox, with a valid license. If the integration is not installed or registered in the sandbox, contact Blue Dragonfly before you continue.
  • The Bill.com PS BLD permission set assigned to your Business Central user in the sandbox.

Bill.com sandbox accounts are created with a sign-up form that is separate from the live Bill.com website. Signing up as an accounting firm creates a sandbox Console, which can hold several organizations.

  1. Open a web browser and go to https://www-test.bill.com/signup?env=stage.
  2. In the First name and Last name fields, enter your name.
  3. In the Work email field, enter the email address you chose for the sandbox.
  4. In the Phone field, enter your phone number.
  5. In the Company name field, enter a name that clearly marks this as a test account, for example Contoso Sandbox Console.
  6. In the Number of employees field, enter 1.
  7. In the I’m with a field, select Accounting Firm.
  8. For products, select Accounts Payable & Receivable.
  9. Select Get Started.
  10. Create a password, and then select Next. Save the email address and password in your password manager now.
  11. On the 2-step verification page, enter your mobile phone number, choose how to receive the code, and select Send code.
  12. Enter the code that Bill.com sends to your phone.
  13. When asked for the address, enter 123 Main Street, San Jose, CA, 95002, and then select Next.
  14. Continue through any remaining guided setup pages.
  15. Open your email inbox. If you received a message from Bill.com asking you to confirm your email address, confirm it.

The sandbox Console opens in your browser. The menu includes Clients and Staff.

Create one client organization for each entity you want to test. Create at least two.

  1. Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
  2. Select Clients.
  3. Select Add Client.
  4. In the Legal company name field, enter a name that identifies the entity, for example Contoso East Sandbox.
  5. In the company address fields, enter 234 Main Street, San Jose, California, 95002.
  6. In the Company phone field, enter any US phone number.
  7. For the mailing address, select Use the company address.
  8. Select Next.
  9. Under products, select Payables and Receivables.
  10. For Client accounting system, select I don’t use accounting software.
  11. Select Next. Your Console user is added to the client organization as an Administrator.
  12. Select Finish.
  13. Repeat steps 2 through 12 for each additional entity.

The Clients page lists each client organization.

New sandbox accounts start on a trial plan, which hides some features. Upgrade to the highest plan so that all features are available. Bill.com does not charge for plans in the sandbox.

  1. Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
  2. On the Clients page, select the first client organization to open it.
  3. Select Settings.
  4. Select Billing & subscription, and then select Pricing & plans.
  5. If the organization is on a trial plan, select the highest plan that is available, and confirm the change.
  6. Repeat steps 2 through 5 for each client organization.

Each client organization now has access to all Bill.com features.

Business Central uses one developer key to communicate with every Bill.com organization. Only a user with the Administrator role can create a developer key.

  1. Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
  2. On the Clients page, select the first client organization to open it.
  3. Select Settings.
  4. Select Sync & Integrations, and then select Manage Developer Keys.
  5. Select Generate developer key.
  6. Read and accept the developer terms of service.
  7. Select Generate key. Creating the key can take up to one minute.
  8. Select Reload page. The developer key appears on the page.
  9. Copy the developer key and save it in your password manager.
  10. Scroll to the bottom of the Manage Developer Keys page. Copy the Organization ID and save it in your password manager with the client organization name. The organization ID starts with 008.
  11. Open each of the other client organizations, go to Settings, Sync & Integrations, Manage Developer Keys, and copy the Organization ID from the bottom of the page. Do not generate another developer key.

Bill.com needs a bank account before it can pay bills. In the sandbox, you add a test bank account that uses test values. No real bank is involved. Add a test bank account to each client organization.

  1. Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
  2. On the Clients page, select the first client organization to open it.
  3. Select Settings.
  4. Select Bank & Payment Accounts, and then select Bank Accounts.
  5. Select Add Bank Account. A Plaid window opens.
  6. Close the Plaid window to enter the bank account manually, and then select Continue.
  7. Enter the following values, and then select Continue.
FieldValue
Bank account holder’s nameAGATHA FFRINGE
Account typeBusiness Checking
Routing number074000010
Account number111222333
Re-enter account number111222333
  1. If Bill.com asks for company details, enter the following values, and then select Continue.
FieldValue
Company ownerAGATHA FFRINGE
Business typeCorporation
IndustryAccounting or Bookkeeping
Tax ID typeEIN
Tax ID number999888777
  1. When Bill.com explains that it will send a small deposit, select Continue. The bank account shows the status Pending.
  2. On the bank account row, open the menu (the three dots), and then select Verify.
  3. In the deposit amount field, enter 50. This represents a deposit of $0.50.
  4. Select Verify. The bank account status changes to verified.
  5. Repeat steps 2 through 12 for each client organization.

Before you go to Business Central, confirm that your password manager holds every value in the table below. You will enter the first three values in Business Central.

ValueWhere it comes fromExample format
API userThe email address you used to sign uptest@yourcompany.com
API passwordThe password you created during sign-upYour password
Developer keySettings, Sync & Integrations, Manage Developer Keys, in the first client organization01ABCDEFGHIJKLMNOPQR
Organization ID, one for each client organizationBottom of the Manage Developer Keys page in each client organization008ABCDEFGHIJKLMNOPQ

The organization IDs are not entered in Business Central. The integration imports them automatically. Keep them to confirm the import, and for support requests.

Check the Business Central sandbox before you enter the Bill.com sandbox credentials.

Check whether the sandbox was copied from production

Section titled “Check whether the sandbox was copied from production”

A Business Central sandbox that was created as a copy of your production environment also contains a copy of the production Bill.com settings. Those settings point to your live Bill.com account.

  1. Sign in to the Business Central sandbox. Confirm that the environment name in the upper right corner is your sandbox, not production.
  2. Choose the search icon, enter Bill.com MEM Integration Setup, and open the page.
  3. Look at the Bill.com Organizations list.

If the list is empty, continue to the next section.

If the list shows organizations, the sandbox was probably copied from production. Stop and contact Blue Dragonfly before you continue. Production organizations cannot be removed from this page, and the integration tries to sign in to every organization in the list. Blue Dragonfly can prepare the sandbox so that it works with the Bill.com sandbox.

Connect Business Central to the Bill.com Sandbox

Section titled “Connect Business Central to the Bill.com Sandbox”

Enter the sandbox credentials and the sandbox web addresses on the integration setup page first, and then allow the integration to contact outside services. Complete the steps in this order. Until outbound requests are turned on, the integration cannot contact Bill.com, so a production value that is still in a field cannot reach your live Bill.com account.

Enter the sandbox credentials and web addresses

Section titled “Enter the sandbox credentials and web addresses”
  1. In the Business Central sandbox, choose the search icon, enter Bill.com MEM Integration Setup, and open the page.
  2. On the Bill.com API Credentials FastTab, in the API User field, enter the sandbox email address.
  3. In the API Password field, enter the sandbox password. A message confirms that the password is stored.
  4. In the API Developer Key field, enter the sandbox developer key. A message confirms that the key is stored.
  5. On the Bill.com API URL FastTab, fill in the three fields with the values in the table below. Copy each value exactly, including the forward slash at the end of the API Base URL value.
FieldSandbox value
API Base URLhttps://gateway.stage.bill.com/connect/v3/
V2 Bills API URLhttps://api-stage.bill.com/api/v2/List/Bill.json
API Organization URLhttps://api-stage.bill.com/api/v2/ListOrgs.json

The setup page now points to the Bill.com sandbox.

Turn on outbound requests for the integration

Section titled “Turn on outbound requests for the integration”

Business Central sandboxes block extensions from contacting outside services by default. The integration must be allowed to contact Bill.com, and the Blue Dragonfly Registration extension must be allowed to contact the Blue Dragonfly license server.

  1. Choose the search icon, enter Extension Management, and open the page.
  2. Select the Blue Dragonfly Bill.com MEM Integration extension.
  3. On the action bar, select Configure.
  4. Turn on Allow HttpClient Requests.
  5. Close the page.
  6. Repeat steps 2 through 5 for the Blue Dragonfly Registration extension. The Sync License action uses this extension to contact the Blue Dragonfly license server.
  1. Open the Bill.com MEM Integration Setup page.
  2. On the action bar, select Sync License.

Import the sandbox organizations and their data into Business Central. This is the first step that contacts Bill.com, so it also confirms that the connection works.

  1. Open the Bill.com MEM Integration Setup page.
  2. On the Bill.com Organizations list, select Fetch Organization Data.
  3. A message shows the number of organizations found. Select OK. The import continues with accounts, locations, departments, and vendors.
  4. When the import finishes, confirm that the Bill.com Organizations list shows a row for each client organization. Compare the Organization ID and Organization Name values with the values you saved from Bill.com.
  5. For each organization, in the Dimension 1 Code field, select the code of the entity that the organization represents. Use a different entity for each organization.
  6. For each organization, set the Bank Account field to the Business Central bank account to use for that entity’s test payments.

The Business Central sandbox is now connected to the Bill.com sandbox.

To finish configuring the integration, follow the Bill.com MEM Integration User Guide, starting with the section “Configure sync options”. Complete those steps in the sandbox.

  • Approved bills. When the V2 Bills API URL field is filled in, the integration imports only bills that are approved in Bill.com. A bill with no approver assigned is not approved, so it is not imported. Either set up an approval workflow in each Bill.com client organization and approve each test bill, or leave the V2 Bills API URL field blank while you test. When the field is blank, bills are imported regardless of approval status.
  • Test data. A new client organization has no vendors and no bills. Create a few vendors, accounts, and bills in each Bill.com client organization, or use the integration to send vendors and G/L accounts from Business Central to Bill.com.
  • No real email to vendors. Use made-up vendor names and email addresses in the sandbox. Do not copy real vendor email addresses into the sandbox.
  • Sync start date. Set the Sync Start Date on the setup page to a date before your first test bill. Bills updated before this date are not imported.
  • Logs. After each test, choose View Logs on the setup page to see what the integration did.
ProblemLikely causeWhat to do
Login failed when you fetch organization dataThe API user, password, or developer key is wrong, or it belongs to the live Bill.com accountRe-enter the sandbox email address, password, and developer key. Confirm that the developer key came from the sandbox.
Login works for the first organization but fails for the othersYour Console user is not an Administrator in the other client organizations, or Bill.com has not enabled the developer key for themConfirm that your Console user is an Administrator in each client organization and that you entered the sandbox developer key. If login still fails, send an email to developerprogram@hq.bill.com. Include your sandbox Console user name, the developer key, and the name and organization ID of every client organization, and ask Bill.com to enable the developer key for all client organizations. Do not include your password.
An organization is missing from the Bill.com Organizations listYour Console user is not an Administrator in that client organizationIn the Bill.com Console, add your user to the client organization as an Administrator, and then fetch organization data again.
The request fails, or no organizations are foundOne of the web addresses is wrong or is missing the forward slash at the endCompare each field to the table in “Connect Business Central to the Bill.com Sandbox”.
Business Central reports that the request was blockedOutbound requests are turned off for the extensionComplete “Turn on outbound requests for the integration”.
The Clients menu does not appear in Bill.comThe Console is not turned on for the sandbox accountContact developerprogram@hq.bill.com as described in “Create the Bill.com Sandbox Console”.
You cannot sign in to the sandbox websiteYou are on the live Bill.com sign-in pageUse https://login.stage.us.bill.com/neo/login.
A web address contains api-sandbox.bill.com or app-sandbox.bill.comThese are old sandbox addresses that Bill.com retired in 2024Replace them with the addresses in this guide.
Bills exist in Bill.com but are not importedThe bills are not approved, or they were updated before the sync start dateSee “Approved bills” and “Sync start date” in “Tips for Testing”.
The Generate developer key option is missingThe signed-in user is not an Administrator in the client organizationSign in as the user who created the sandbox Console.

If a problem continues, contact Blue Dragonfly at support@bluedragonflyllc.com. Include the time of the error and a screenshot of the message. Do not include passwords or developer keys in the email.