@lerianstudio/matcher-mcp 5.0.0-beta.139 → 5.0.0-beta.140

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.
@@ -1894,7 +1894,7 @@ components:
1894
1894
  - array
1895
1895
  - "null"
1896
1896
  signConvention:
1897
- description: "How this context's data carries sign. SAME: a payment carries the same sign as what it settles, so a negative amount is a reversal. OPPOSITE: a payment carries the opposite sign of the invoice it settles. Defaults to SAME."
1897
+ description: "How this context's data carries sign. SAME: a payment carries the same sign as what it settles, so a negative amount is a reversal. OPPOSITE: a payment carries the opposite sign of the invoice it settles. Defaults to SAME. In 1:N contexts only payments of the declared sign are allocated to an invoice, and in N:M contexts a short-paid invoice keeps an open balance only when it is positive under SAME, or when the rule's sign mode is opposite under OPPOSITE; any other short payment stays unmatched; a carried open balance settles on a payment of the declared sign or on a reversal from the invoice's own side, and a row from an archived source stays unmatched. It cannot change once the context has carried a partial balance, or while a match run is in progress."
1898
1898
  enum:
1899
1899
  - SAME
1900
1900
  - OPPOSITE
@@ -6082,7 +6082,7 @@ components:
6082
6082
  - USD
6083
6083
  type: string
6084
6084
  expectedBalance:
6085
- description: Original outstanding obligation when the item was first opened, as a decimal string
6085
+ description: "Total owed on the item's identity: the face of the obligation it opened on plus every later obligation with the same identity, as a decimal string"
6086
6086
  examples:
6087
6087
  - "1000.00"
6088
6088
  type: string
@@ -6412,7 +6412,7 @@ components:
6412
6412
  - Bank Reconciliation Q1
6413
6413
  type: string
6414
6414
  signConvention:
6415
- description: "How this context's data carries sign. SAME: a payment carries the same sign as what it settles, so a negative amount is a reversal. OPPOSITE: a payment carries the opposite sign of the invoice it settles."
6415
+ description: "How this context's data carries sign. SAME: a payment carries the same sign as what it settles, so a negative amount is a reversal. OPPOSITE: a payment carries the opposite sign of the invoice it settles. In 1:N contexts only payments of the declared sign are allocated to an invoice, and in N:M contexts a short-paid invoice keeps an open balance only when it is positive under SAME, or when the rule's sign mode is opposite under OPPOSITE; any other short payment stays unmatched; a carried open balance settles on a payment of the declared sign or on a reversal from the invoice's own side, and a row from an archived source stays unmatched. It cannot change once the context has carried a partial balance, or while a match run is in progress."
6416
6416
  enum:
6417
6417
  - SAME
6418
6418
  - OPPOSITE
@@ -8588,7 +8588,7 @@ components:
8588
8588
  maxLength: 100
8589
8589
  type: string
8590
8590
  signConvention:
8591
- description: "How this context's data carries sign. SAME: a payment carries the same sign as what it settles, so a negative amount is a reversal. OPPOSITE: a payment carries the opposite sign of the invoice it settles. Omit to leave it unchanged."
8591
+ description: "How this context's data carries sign. SAME: a payment carries the same sign as what it settles, so a negative amount is a reversal. OPPOSITE: a payment carries the opposite sign of the invoice it settles. Omit to leave it unchanged. In 1:N contexts only payments of the declared sign are allocated to an invoice, and in N:M contexts a short-paid invoice keeps an open balance only when it is positive under SAME, or when the rule's sign mode is opposite under OPPOSITE; any other short payment stays unmatched; a carried open balance settles on a payment of the declared sign or on a reversal from the invoice's own side, and a row from an archived source stays unmatched. It cannot change once the context has carried a partial balance, or while a match run is in progress."
8592
8592
  enum:
8593
8593
  - SAME
8594
8594
  - OPPOSITE
@@ -8861,7 +8861,7 @@ components:
8861
8861
  maxLength: 50
8862
8862
  type: string
8863
8863
  side:
8864
- description: Matching side this source feeds. LEFT and RIGHT are the two sides reconciled against each other.
8864
+ description: Matching side this source feeds. LEFT and RIGHT are the two sides reconciled against each other. A change is refused with a 409 once the context has carried a partial balance, or while a match run is in progress.
8865
8865
  enum:
8866
8866
  - LEFT
8867
8867
  - RIGHT
@@ -9568,7 +9568,7 @@ paths:
9568
9568
  tags:
9569
9569
  - Configuration
9570
9570
  patch:
9571
- description: "Updates fields on a reconciliation context by ID. Transitions to ACTIVE are gated on server-side activation readiness: an unready context is rejected with a 409 carrying the configuration invalid-state code."
9571
+ description: "Updates fields on a reconciliation context by ID. Transitions to ACTIVE are gated on server-side activation readiness: an unready context is rejected with a 409 carrying the configuration invalid-state code. A sign-convention change is refused with a 409 once the context has carried a partial balance, or while a match run is in progress."
9572
9572
  operationId: updateContext
9573
9573
  parameters:
9574
9574
  - description: Context ID
@@ -9609,7 +9609,7 @@ paths:
9609
9609
  code: MTCH-0103
9610
9610
  schema:
9611
9611
  $ref: "#/components/schemas/Detail"
9612
- description: Context activation is blocked by an invalid transition, a duplicate name, an archived context, or missing activation requirements.
9612
+ description: Context activation is blocked by an invalid transition, a duplicate name, an archived context, or missing activation requirements; a sign-convention change, once the context has carried a partial balance or while a match run is in progress.
9613
9613
  default:
9614
9614
  content:
9615
9615
  application/problem+json:
@@ -10543,7 +10543,7 @@ paths:
10543
10543
  tags:
10544
10544
  - Configuration
10545
10545
  patch:
10546
- description: Updates fields on a reconciliation source by ID.
10546
+ description: Updates fields on a reconciliation source by ID. A side change is refused with a 409 once the source's context has carried a partial balance, or while a match run is in progress.
10547
10547
  operationId: updateSource
10548
10548
  parameters:
10549
10549
  - description: Context ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lerianstudio/matcher-mcp",
3
- "version": "5.0.0-beta.139",
3
+ "version": "5.0.0-beta.140",
4
4
  "type": "module",
5
5
  "description": "Model Context Protocol server for the Matcher reconciliation engine",
6
6
  "license": "Apache-2.0",