Skip to content

Dynamic Ship · Set up

Canada Post Third Party Billing

Last updated August 15, 2023

Canada Post has a complex third-party billing procedure that requires you to authorize your account to bill them. You need to enable separate Canada Post accounts configured with billing from the third party. Each third party account requires a separate Canada Post account assigned to its own EasyPost carrier.

You must be able to ship from Canada Post using the Account method. The following information is required later:

  • Their account number
  • Their contract number
  • Their paid by number

Configure a new third party account

  1. Go to Canada Post’s registration page.
  2. Create a business profile.
  3. Complete the form.
  4. Choose Enterprise for the profile type.
  5. Input the Customer number in the Company field.
  6. Input the contract number, in the Contract field, of the third party you want to bill.
  7. Confirm registration.
  8. Go to the following page.
  9. Select Developer Program from the navigation bar on the left.
  10. Select Join Now.
  11. The production API key and password are required for Add account details below.

The Production’s Key Number (username : password) is the API key you need to use for the account.

Manually Add Account Details

You can also add the account details to EasyPost via curl or another method. Add account details by completing the following:

  1. Download curl here (runs from within “curl-7.67.0-win64-mingw\bin\curl.exe”).
  2. Use the following curl command:

curl -X POST https://api.easypost.com/v2/carrier_accounts/ ^

-u PROD-API-KEY: ^
-d “carrier_account[type]=CanadaPostAccount” ^
-d “carrier_account[description]=OPTIONAL” ^
-d “carrier_account[credentials][customer_number]=10DIGITS” ^
-d “carrier_account[credentials][contract_id]=10DIGITS” ^
-d “carrier_account[credentials][api_key]=USER:PASS” ^
-d “carrier_account[credentials][has_credit_card]=false” ^
-d “carrier_account[credentials][not_platform]=true” ^
–cacert curl-ca-bundle.crt

  1. Use the same customer and contract number used in Configure a new third party account above (pad to 10 digits with leading zeros if needed).
  2. Enter API key without the spaces (e.g., abc:def).
  3. Pass the Paid-By-Number in the Bill Third Party Account No. field of the Package Options and/or Package Options Template (pad to 10 digits with leading zeros if needed).

For assistance in adding your account to EasyPost, contact Support.

For issues adding your account to Canada Post, contact your Canada Post account representative.

View this article as Markdown

Still need help?

Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.