Uppdatering 2025-11-12
Bids Visibility
A new not null enum field has been introduced: bids.visibility, with the following possible values:
- ENUMS_BID_VISIBILITY_PUBLIC
- ENUMS_BID_VISIBILITY_HIDDEN
⠀
The default value is ENUMS_BID_VISIBILITY_PUBLIC.
Behavior
- Public bids (ENUMS_BID_VISIBILITY_PUBLIC) are displayed on websites and marketplaces as they are today.
- Hidden bids (ENUMS_BID_VISIBILITY_HIDDEN) are not displayed on websites or marketplaces. These bids are excluded from the Marketing API and are not visible to other bidders.
All bids where isPrivate = true (Dolda bud) are automatically assigned the visibility value ENUMS_BID_VISIBILITY_HIDDEN.
The key distinction is that:
- When bids.isPrivate = true, a note is added to the bidding documentation indicating that the bid is hidden (“Dolt bud”).
- When bids.isPrivate = false but bids.visibility = ENUMS_BID_VISIBILITY_HIDDEN, the bid will still be hidden but no note will be generated in the documentation.
Condominium (ägarlägenhet)
Lantmäteriet and Skatteverket have updated how condominiums (ägarlägenheter) are represented in their Taxering 3.0 API.
Before the change, condominiums were represented as:
- hyreshusbyggnad bostad (ENUM_BUILDING_TYPE_RENTAL_HOUSING)
- hyreshusmark bostad (ENUM_AREA_TYPE_RENTAL_HOUSING)
After the update, condominiums now have their own dedicated types in the API.
To mirror this behavior, we have introduced a new building type and a new area type:
- agarlagenhetBostad (ENUM_BUILDING_TYPE_CONDOMINIUM)
- agarlagenhetBostadsmark (ENUM_AREA_TYPE_CONDOMINIUM)
Historical data will remain unchanged. However, all new condominiums will be mapped using the new building and area types.
Data Integrity Improvements
As part of our ongoing efforts to improve data integrity, several fields will be marked as NOT NULL, and orphaned records will be cleaned up.
These changes only affect fields within entities where setting a value to NULL would either:
- render the entity orphaned, or
- otherwise make the entity invalid or non-functional.
The following entities and fields will be updated to enforce the NOT NULL constraint:
loans: estateId
loanMortgages: loanId, mortgageId
loanAmounts: amountId, loanId
imagesInRooms: fileId, roomId
areas: estateId
buildings: estateId
mortgages: estateId
commissionIntervals: commissionId
incomingSmsContacts: incomingSmsId, contactId
filesInHousingAssociations: fileId, housingAssociationId
viewingSlotBuyers: buyerId, viewingSlotId
newspaperAds: dealId
filesInBrokerJournalEntry: fileId, brokerJournalEntryId
housingAssociationContacts: housingAssociationId, contactId
housingAssociationBuildings: housingAssociationId
blacklistedProviders: providerId
serviceDeliveries: servicesInDealId
filesServiceDeliveries: serviceDeliveryId, fileId
imagesServiceDeliveries: serviceDeliveryId, fileId
contactOrganizationUnits: contactId, organizationUnitId
buyerContactSignees: contactSigneeId, buyerId
sellerContactSignees: contactSigneeId, sellerId
dealReceiptAmounts: amountId, dealReceiptId
dealCostAmounts: amountId, dealId
sellerSettlementAmounts: amountId, dealId
buyerSettlementAmounts: amountId, dealId
estatePremiseEconomyAmounts: amountId, estateId