bkper 4.16.6 → 4.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/docs/app-building.md +3 -1
- package/lib/docs/taxes.md +7 -5
- package/package.json +1 -1
package/lib/docs/app-building.md
CHANGED
|
@@ -539,7 +539,9 @@ See [Event Handlers](https://bkper.com/docs/build/apps/event-handlers.md) for de
|
|
|
539
539
|
|
|
540
540
|
### Properties schema
|
|
541
541
|
|
|
542
|
-
The `propertiesSchema` field defines autocomplete suggestions for custom properties in the Bkper UI, helping users discover the correct property keys and values for your app
|
|
542
|
+
The `propertiesSchema` field defines autocomplete suggestions for custom properties in the Bkper UI, helping users discover the correct property keys and values for your app.
|
|
543
|
+
|
|
544
|
+
Suggested keys must follow the same custom property rules as user-entered keys, including the 30-character maximum after normalization.
|
|
543
545
|
|
|
544
546
|
```yaml
|
|
545
547
|
propertiesSchema:
|
package/lib/docs/taxes.md
CHANGED
|
@@ -20,14 +20,16 @@ Do not produce tax numbers from loaded rules until the rule source, tax period,
|
|
|
20
20
|
|
|
21
21
|
Preferred non-MCP OpenAccountants route:
|
|
22
22
|
|
|
23
|
-
1.
|
|
24
|
-
2.
|
|
25
|
-
3.
|
|
26
|
-
4.
|
|
23
|
+
1. Resolve the jurisdiction code or name, such as `BR`, `GB`, `DE`, `US-CA`, `CA-ON`, or `brazil`.
|
|
24
|
+
2. Fetch `https://www.openaccountants.com/api/bundle/<CODE_OR_NAME>`.
|
|
25
|
+
3. Do not use MCP unless the user explicitly requests it.
|
|
26
|
+
4. If the bundle cannot be resolved, ask the user for the exact jurisdiction or source URL instead of guessing.
|
|
27
27
|
5. Record source URL, retrieval date, tax year, quality tier, verifier if present, and citations.
|
|
28
28
|
6. Map rules only to user-approved Bkper Groups, Accounts, properties, or hashtags.
|
|
29
29
|
|
|
30
|
-
Example: for Brazil,
|
|
30
|
+
Example: for Brazil, fetch `https://www.openaccountants.com/api/bundle/BR` or `https://www.openaccountants.com/api/bundle/brazil`, then clarify whether the scope is IRPF, Carnê-Leão, payroll, indirect tax, e-invoice compliance, or another Brazil tax area.
|
|
31
|
+
|
|
32
|
+
For multi-layer jurisdictions, first determine whether the scope is national/federal-only, sub-jurisdiction-only, or both. Use a national/federal code such as `US` or `US-FED` for US federal-only rules. Use structured sub-jurisdiction codes such as `US-CA` for California or `CA-ON` for Ontario when state or provincial rules are relevant. If both layers matter, load and record each applicable bundle, and verify that the returned bundle title matches the requested layer.
|
|
31
33
|
|
|
32
34
|
## Bkper tax semantics
|
|
33
35
|
|