Firsty

Search...

Search...

Core concepts

Porting in Belgium

What a Belgian port-in needs, when the number moves, and what to tell the customer.

What a port-in of a Belgian number needs. The flow, statuses and reason codes are the same in every country and live in number porting.

In short

  • The customer proves the number is theirs with their old SIM, its ICCID or the number printed on it, or with their account number at the donor. A business contract takes the account number only.
  • The number moves at the moment the donor agreed to. It can't be moved later.
  • The number is registered in the Belgian national number registry, so send numberRegistration with the order.

Information you need

msisdn is 324 followed by 8 digits: the country code, without the national 0. What proves the number is the customer's depends on their contract with the donor:

donorContractTypeSendNotes
prepaiddonorIccid, donorSimNumber, or both
postpaidAny of donorIccid, donorSimNumber, donorAccountNumber
businessdonorAccountNumberThe ICCID and SIM number aren't accepted.

Prefer donorIccid: most donor operators accept it. Send donorSimNumber, the number printed on the donor SIM card, only when the ICCID isn't available. Unknown fields are rejected.

POST /esims
requests.post(
    "https://connect.test.firsty.app/api/v3/esims",
    headers={
      "Authorization": "Bearer YOUR_ACCESS_TOKEN",
      "Content-Type": "application/json",
      "X-Idempotency-Key": "<x-idempotency-key>"
    },
    json={
      "portIn": {
        "msisdn": "32470123456",
        "details": {
          "donorContractType": "postpaid",
          "donorIccid": "8932031234567890128"
        }
      },
      "numberRegistration": {
        "countryCode": "BE",
        "languageCode": "nl",
        "firstName": "Jane",
        "lastName": "Doe",
        "address": {
          "streetName": "Grote Markt",
          "houseNumber": "1",
          "postalCode": "1000",
          "city": "Brussel"
        }
      }
    }
)

Add the esimVariant for Belgian numbers on your account, from list eSIM variants.

Timing

The number moves at the earliest moment the donor agreed to, the scheduledAt of portin.approved. A Belgian port-in can't be moved: reschedule answers 422 port_in_reschedule_not_supported. To port at a later date, order later.

From scheduledAt the number stops working on the old SIM, so the eSIM must be installed by then.

What to tell your customer

WhenTell them
Before orderingAsk whether the contract is prepaid, postpaid or business. For prepaid or postpaid, have the old SIM card at hand: the ICCID is printed on it, usually starting 8932. For business, find the account number on an invoice from the donor. Keep the old contract running until the number has moved.
After the orderInstall the eSIM now, so it's ready when the number moves.
portin.approvedThe date and time from scheduledAt. Until then the number keeps working on the old SIM.
portin.rejected with msisdn_sim_mismatchThe SIM details don't match the number. Ask them to check the ICCID on the card, then correct the request.
portin.rejected with donor_contract_type_mismatchAsk whether the contract is prepaid, postpaid or business.
portin.completedThe number is on the eSIM. The old SIM no longer works.