Portfolio import
Upload a list of buildings or paste addresses. SOLSAT finds each building on the map, you fix what it could not find, and then you confirm.
What you see#
The import has three steps: Upload, Check data and Confirm. Choosing a file starts the import at once. It is created as a draft and the address checks begin. Nothing is confirmed until you press Confirm.
- Upload: drop or choose a CSV file, or paste addresses one per line. Download the template if you need one.
- Check data: each row shows Checking, Building found, Several buildings found, Not found, or Not in the scan. A footer counts them, and an estimate panel shows the number of buildings found and the price. Send the quote for internal approval opens the quote page.
- Confirm: Confirm and start the scan opens a dialog. Confirming starts the scan and opens the results.
The columns#
The file is CSV with a header row. Save Excel files as CSV UTF-8. The header names may be Thai or English, in any letter case. The header must hold a name column and an address column. The other two columns are optional.
| Column | Header names | Rules |
|---|---|---|
| Branch name | ชื่อสาขา, ชื่ออาคาร, ชื่อ, name, branch, branch_name | Required column. Cut at 200 characters. |
| Address | ที่อยู่, address | Required column. Cut at 300 characters. |
| Building type | ประเภทอาคาร, building_type, type | Optional. Cut at 80 characters. |
| Monthly electricity bill | ค่าไฟต่อเดือน, monthly_bill, bill | Optional. Digits and a dot are kept. A value above 1,000,000,000 is ignored. |
Scroll sideways to see all columns
- If the header does not match, the app shows a column mapper where you choose what each column is. The API answers 422
header_mismatchinstead. - Rows with no name, no address and no building type are skipped.
- Rows with the same address are counted once. The screen shows how many duplicates were removed.
- To paste addresses, put one per line. Each line becomes one building with only an address.
Limits#
- Up to 500 buildings and a file of up to 5 MiB. The app also refuses a larger file before it uploads it.
- A file with no rows is refused:
empty_file. A file that is not valid CSV:invalid_file.
What happens to each row#
Each address is found on the map and matched to the footprints of nearby buildings. A row ends in one of five states.
| State | Meaning | What you do |
|---|---|---|
pending | The row is still being checked. | Wait. |
found | One building was found. | Nothing. |
multiple | Several buildings were found. | Choose the right one. |
not_found | No building was found. | Fix the address. |
excluded | You left the building out of the scan. | Nothing, or use Check this building again in the app. |
Scroll sideways to see all columns
Fix a row#
- What it does
- Chooses a building from the candidates, replaces the address, or leaves the building out.
- Inputs
- Exactly one of
chooseCandidateId,addressorexclude. - Result
- The updated building.
- Limits
- Sending none or more than one of the three answers 400
invalid_input. After the import is confirmed, 409import_confirmed. An address already in the import answers 409duplicate_address. - API call
- PATCH
/secure/portfolio/imports/{id}/buildings/{buildingId}Checked in code
Open the quote#
- What it does
- Shows the quote you can send for internal approval: the buildings, the estimate and how long the quote stays valid.
- Inputs
- The import id.
- Result
- The organisation name, when the quote was issued, how many days it is valid, the estimate, and one line per building.
- Limits
- The quote says to pay by bank transfer against an invoice. No card is charged. Only buildings with a delivered analysis are charged.
- API call
- GET
/secure/portfolio/imports/{id}/quoteChecked in code
Confirm and start the scan#
- What it does
- Starts the roof analysis for each verified building and tells the SOLSAT sales team, who send the invoice.
- Inputs
- The import id.
- Result
- The import with status
confirmed. Confirming again returns the same import. The app then opens the results. - Limits
- It is blocked with 409
confirm_blockedwhile rows are still being checked (verification_pending), while a row needs a choice (choice_required), or while there are fewer than 20 verified buildings (minimum_not_met). - API call
- POST
/secure/portfolio/imports/{id}/confirmChecked in code
Warning. Confirming an import starts the roof analysis for the verified buildings and tells the SOLSAT sales team, who then send an invoice at the price shown on the quote. No card is charged. Do not confirm a sample file on a live organisation.
Sample file#
Warning. Use a test organisation for the sample files. Their names are invented, but the rows are saved in your own organisation and stay there.
30 example factories in 5 industrial estates of the EEC area. The Thai headers are branch name, address, building type and monthly electricity bill.
The names carry ตัวอย่าง. The addresses are real industrial estates, so what the map finds is a real building. Choosing the file starts an address check on every row at once. Confirming starts a roof analysis for each verified building and tells the SOLSAT sales team, so never confirm this sample on a live organisation.
Importing creates real rows in your organisation and there is no delete. Use a test organisation.
Download eec-portfolio-mock-30-factories.csvชื่อสาขา,ที่อยู่,ประเภทอาคาร,ค่าไฟต่อเดือน โรงงานตัวอย่าง EEC-01 (นิคมอุตสาหกรรมอมตะซิตี้ ชลบุรี),นิคมอุตสาหกรรมอมตะซิตี้ ชลบุรี ต.ดอนหัวฬ่อ อ.เมืองชลบุรี จ.ชลบุรี 20000,คลังสินค้า,377000 โรงงานตัวอย่าง EEC-02 (นิคมอุตสาหกรรมอมตะซิตี้ ชลบุรี),นิคมอุตสาหกรรมอมตะซิตี้ ชลบุรี ต.ดอนหัวฬ่อ อ.เมืองชลบุรี จ.ชลบุรี 20000,โรงงานพลาสติก,541000
API behind it#
The import screens use the calls on Portfolio API.