# Changelog of Benelux Insolvency Radar – NL & BE Bankruptcies (`lwsdjfls/benelux-insolvency-radar`) Actor

- **URL**: https://apify.com/lwsdjfls/benelux-insolvency-radar/changelog.md
- **Full Actor documentation**: https://apify.com/lwsdjfls/benelux-insolvency-radar.md

## Changelog

### 0.1

- Initial release: daily insolvency publications of legal entities from the Centraal Insolventieregister (NL, including the WHOA register) and the Belgisch Staatsblad (BE, Dutch and French notices) in one normalised schema, with a hard rule that natural persons are never delivered, and a monitor mode for new publications.
- Monitor mode: the baseline a new watch delivers on its first run is charged per case at the lookup price (`case-delivered`, $0.02), so a fresh `stateKey` or another selection of procedures or events is no longer a free lookup. The order in which `procedures` and `events` are listed, or a repeated value, no longer starts a new baseline. When the spending limit ends a first run early, the watch starts from the cases that fit and a later run delivers the rest as new cases while they are inside its period; a country whose new watch the limit cannot pay a single case for is not read and not recorded (a run with no other country then fails).
- Monitor mode: `maxItems` counts only the charged cases. A watch that reaches the cap or the spending limit still checks every case it already delivered, so its window no longer forgets them and they are never charged a second time; the new cases that did not fit are left out uncharged (Belgian notices past that point are not fetched) and arrive in a later run. A lookup counts the cases it delivers again from state toward the cap, and a lookup or a new watch that the cap leaves no room for is not read. A country whose register fails part-way gives its share of the cap and the spending limit back to the countries after it.
- Residential proxies are used for the Belgisch Staatsblad only: the Dutch registers are always read directly, and the webhook is sent directly. The webhook URL is a secret input, stored encrypted.
- When only the WHOA page fails, the Dutch register publications of the run are still delivered (the run is partial) and a watch keeps its WHOA entries. A country whose register publishes none of the selected procedures and events is skipped without a request. An out-of-range character reference no longer fails a country, and Staatsblad and WHOA pages are read in linear time (notices and WHOA entries capped at 20,000 characters).
- WHOA debtors that the register describes as a sole proprietorship (eenmanszaak) or a natural person are no longer delivered.
- WHOA entries are dated in the forms the register writes: the labels "Datum deponering startverklaring" and "Datum startverklaring" (also with a weekday or an "op" before the date, a reference before the colon or the date alone on the next line) and the older entries that tell the start declaration and the homologation request in sentences, where only "Datum deponeren startverklaring" was read before and the other entries got `publicationDate` `1970-01-01` and no `rulingDate`. A date in a sentence dates a deposit or a request only when it is told in that same sentence, with no other act told between them, and a request named by the participle before its noun ("het door de schuldenaar ingediende verzoek tot homologatie") is dated only by a date inside that description, never by the date of the court's decision on it. A lookup that meets an entry without a readable date leaves it out and counts it in the run log.
- WHOA entries carry their case number (the "Zaaknummer" label, or the "rekestnummer" the older entries are handled under), the KvK number also when it is written "KVK-nr:", "KVK nummer:" or "Kamer van Koophandel te", and the court. A case number label is read on its own line only: an entry that wrote its case number in a sentence took the next line as its case number ("Whoa-procedure"), so a second entry laid out the same way had the same `id` and was never delivered. A WHOA record's `id` is the debtor's KvK number (the first the entry states), or the debtor's name when the entry states no KvK number: the case number the register adds during the procedure was the `id` before, so a watch delivered and charged the same procedure again as a new case. Group companies in one procedure share a case number and are each delivered under their own `id`, and a debtor the register lists twice is delivered and counted once.
- A lookup meets `maxItems` and the spending limit while it reads, as a watch does: after the last case they cover it reads no further publication day, register or pair of Belgian notices, and a spending limit below one case reads nothing. Belgian notices are fetched a pair at a time and delivered before the next pair, so a lookup or a watch that reaches the cap or the spending limit fetches no Belgian notice after the pair in which it reached it, instead of the rest of the period through the proxy. A country listed twice in `countries` is read once.
