Bill.com Sandbox Setup Guide
Bill.com MEM Integration product page
Overview
Section titled “Overview”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.
Before You Begin
Section titled “Before You Begin”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.
Create the Bill.com Sandbox Console
Section titled “Create the Bill.com Sandbox Console”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.
- Open a web browser and go to https://www-test.bill.com/signup?env=stage.
- In the First name and Last name fields, enter your name.
- In the Work email field, enter the email address you chose for the sandbox.
- In the Phone field, enter your phone number.
- In the Company name field, enter a name that clearly marks this as a test account, for example Contoso Sandbox Console.
- In the Number of employees field, enter 1.
- In the I’m with a field, select Accounting Firm.
- For products, select Accounts Payable & Receivable.
- Select Get Started.
- Create a password, and then select Next. Save the email address and password in your password manager now.
- On the 2-step verification page, enter your mobile phone number, choose how to receive the code, and select Send code.
- Enter the code that Bill.com sends to your phone.
- When asked for the address, enter 123 Main Street, San Jose, CA, 95002, and then select Next.
- Continue through any remaining guided setup pages.
- 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 the Client Organizations
Section titled “Create the Client Organizations”Create one client organization for each entity you want to test. Create at least two.
- Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
- Select Clients.
- Select Add Client.
- In the Legal company name field, enter a name that identifies the entity, for example Contoso East Sandbox.
- In the company address fields, enter 234 Main Street, San Jose, California, 95002.
- In the Company phone field, enter any US phone number.
- For the mailing address, select Use the company address.
- Select Next.
- Under products, select Payables and Receivables.
- For Client accounting system, select I don’t use accounting software.
- Select Next. Your Console user is added to the client organization as an Administrator.
- Select Finish.
- Repeat steps 2 through 12 for each additional entity.
The Clients page lists each client organization.
Upgrade the Sandbox Plan
Section titled “Upgrade the Sandbox Plan”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.
- Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
- On the Clients page, select the first client organization to open it.
- Select Settings.
- Select Billing & subscription, and then select Pricing & plans.
- If the organization is on a trial plan, select the highest plan that is available, and confirm the change.
- Repeat steps 2 through 5 for each client organization.
Each client organization now has access to all Bill.com features.
Generate a Developer Key
Section titled “Generate a Developer Key”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.
- Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
- On the Clients page, select the first client organization to open it.
- Select Settings.
- Select Sync & Integrations, and then select Manage Developer Keys.
- Select Generate developer key.
- Read and accept the developer terms of service.
- Select Generate key. Creating the key can take up to one minute.
- Select Reload page. The developer key appears on the page.
- Copy the developer key and save it in your password manager.
- 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.
- 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.
Add a Test Bank Account
Section titled “Add a Test Bank Account”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.
- Sign in to the sandbox at https://login.stage.us.bill.com/neo/login.
- On the Clients page, select the first client organization to open it.
- Select Settings.
- Select Bank & Payment Accounts, and then select Bank Accounts.
- Select Add Bank Account. A Plaid window opens.
- Close the Plaid window to enter the bank account manually, and then select Continue.
- Enter the following values, and then select Continue.
| Field | Value |
|---|---|
| Bank account holder’s name | AGATHA FFRINGE |
| Account type | Business Checking |
| Routing number | 074000010 |
| Account number | 111222333 |
| Re-enter account number | 111222333 |
- If Bill.com asks for company details, enter the following values, and then select Continue.
| Field | Value |
|---|---|
| Company owner | AGATHA FFRINGE |
| Business type | Corporation |
| Industry | Accounting or Bookkeeping |
| Tax ID type | EIN |
| Tax ID number | 999888777 |
- When Bill.com explains that it will send a small deposit, select Continue. The bank account shows the status Pending.
- On the bank account row, open the menu (the three dots), and then select Verify.
- In the deposit amount field, enter 50. This represents a deposit of $0.50.
- Select Verify. The bank account status changes to verified.
- Repeat steps 2 through 12 for each client organization.
Record Your Sandbox Credentials
Section titled “Record Your Sandbox Credentials”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.
| Value | Where it comes from | Example format |
|---|---|---|
| API user | The email address you used to sign up | test@yourcompany.com |
| API password | The password you created during sign-up | Your password |
| Developer key | Settings, Sync & Integrations, Manage Developer Keys, in the first client organization | 01ABCDEFGHIJKLMNOPQR |
| Organization ID, one for each client organization | Bottom of the Manage Developer Keys page in each client organization | 008ABCDEFGHIJKLMNOPQ |
The organization IDs are not entered in Business Central. The integration imports them automatically. Keep them to confirm the import, and for support requests.
Prepare the Business Central Sandbox
Section titled “Prepare the Business Central Sandbox”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.
- Sign in to the Business Central sandbox. Confirm that the environment name in the upper right corner is your sandbox, not production.
- Choose the search icon, enter Bill.com MEM Integration Setup, and open the page.
- 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”- In the Business Central sandbox, choose the search icon, enter Bill.com MEM Integration Setup, and open the page.
- On the Bill.com API Credentials FastTab, in the API User field, enter the sandbox email address.
- In the API Password field, enter the sandbox password. A message confirms that the password is stored.
- In the API Developer Key field, enter the sandbox developer key. A message confirms that the key is stored.
- 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.
| Field | Sandbox value |
|---|---|
| API Base URL | https://gateway.stage.bill.com/connect/v3/ |
| V2 Bills API URL | https://api-stage.bill.com/api/v2/List/Bill.json |
| API Organization URL | https://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.
- Choose the search icon, enter Extension Management, and open the page.
- Select the Blue Dragonfly Bill.com MEM Integration extension.
- On the action bar, select Configure.
- Turn on Allow HttpClient Requests.
- Close the page.
- 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.
Sync the license
Section titled “Sync the license”- Open the Bill.com MEM Integration Setup page.
- On the action bar, select Sync License.
Import the Sandbox Organizations
Section titled “Import the Sandbox Organizations”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.
- Open the Bill.com MEM Integration Setup page.
- On the Bill.com Organizations list, select Fetch Organization Data.
- A message shows the number of organizations found. Select OK. The import continues with accounts, locations, departments, and vendors.
- 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.
- 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.
- 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.
Tips for Testing
Section titled “Tips for Testing”- 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.
Troubleshooting
Section titled “Troubleshooting”| Problem | Likely cause | What to do |
|---|---|---|
| Login failed when you fetch organization data | The API user, password, or developer key is wrong, or it belongs to the live Bill.com account | Re-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 others | Your Console user is not an Administrator in the other client organizations, or Bill.com has not enabled the developer key for them | Confirm 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 list | Your Console user is not an Administrator in that client organization | In 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 found | One of the web addresses is wrong or is missing the forward slash at the end | Compare each field to the table in “Connect Business Central to the Bill.com Sandbox”. |
| Business Central reports that the request was blocked | Outbound requests are turned off for the extension | Complete “Turn on outbound requests for the integration”. |
| The Clients menu does not appear in Bill.com | The Console is not turned on for the sandbox account | Contact developerprogram@hq.bill.com as described in “Create the Bill.com Sandbox Console”. |
| You cannot sign in to the sandbox website | You are on the live Bill.com sign-in page | Use https://login.stage.us.bill.com/neo/login. |
| A web address contains api-sandbox.bill.com or app-sandbox.bill.com | These are old sandbox addresses that Bill.com retired in 2024 | Replace them with the addresses in this guide. |
| Bills exist in Bill.com but are not imported | The bills are not approved, or they were updated before the sync start date | See “Approved bills” and “Sync start date” in “Tips for Testing”. |
| The Generate developer key option is missing | The signed-in user is not an Administrator in the client organization | Sign 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.
