mcp-zenskar 2.2.0 → 2.2.1
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/README.md +2 -2
- package/dist/mcp-config.json +10 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ Once configured, you can ask Claude to interact with your Zenskar data:
|
|
|
113
113
|
"Create a $25 credit note against the latest invoice for customer X"
|
|
114
114
|
"Show me the balance sheet and income statement"
|
|
115
115
|
"List all products and their pricing configurations"
|
|
116
|
-
"Record a $1000 manual payment against invoice Y"
|
|
116
|
+
"Record a $1000 successful manual payment or tax withheld amount against invoice Y"
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
## Available Tools
|
|
@@ -188,7 +188,7 @@ Once configured, you can ask Claude to interact with your Zenskar data:
|
|
|
188
188
|
| --------------------- | ---------------------------------------------------------------------- |
|
|
189
189
|
| `listAllPayments` | List all payments with filtering and sorting, including refund records |
|
|
190
190
|
| `getPaymentById` | Get a payment by ID |
|
|
191
|
-
| `createPayment` | Record a payment
|
|
191
|
+
| `createPayment` | Record a successful manual/offline payment or tax withheld amount |
|
|
192
192
|
| `updatePayment` | Update a payment's invoice allocations (`payment_parts`) |
|
|
193
193
|
| `deleteManualPayment` | Delete a manual payment |
|
|
194
194
|
| `editManualPayment` | Edit a manual payment's amount or method |
|
package/dist/mcp-config.json
CHANGED
|
@@ -3799,7 +3799,7 @@
|
|
|
3799
3799
|
},
|
|
3800
3800
|
{
|
|
3801
3801
|
"name": "createPayment",
|
|
3802
|
-
"description": "Record a payment. Link to invoices via payment_parts array.
|
|
3802
|
+
"description": "Record a successful manual/offline payment or tax-withheld amount, equivalent to the frontend Add Payment flow. Link to invoices via payment_parts array. Use type='payment' with payment_method='bank_transfer', 'check', 'cash', or 'card'. Use type='tax_withheld' without payment_method. Always use status='success'. Do not use status='created' for manually recorded payments; created payments are unrealized and will not reduce invoice amount_due or mark invoices paid. The backend assigns the payment timestamp when the payment is recorded. Refunds, authorizations, reversals, payment links, and gateway charge attempts are outside this tool's scope.",
|
|
3803
3803
|
"args": [
|
|
3804
3804
|
{
|
|
3805
3805
|
"name": "customer_id",
|
|
@@ -3831,47 +3831,37 @@
|
|
|
3831
3831
|
},
|
|
3832
3832
|
{
|
|
3833
3833
|
"name": "payment_method",
|
|
3834
|
-
"description": "
|
|
3834
|
+
"description": "Manual payment method. Required when type='payment'; omit for type='tax_withheld'. Supported values match the frontend Add Payment flow.",
|
|
3835
3835
|
"type": "string",
|
|
3836
3836
|
"required": false,
|
|
3837
3837
|
"position": "body",
|
|
3838
3838
|
"enum": [
|
|
3839
|
-
"card",
|
|
3840
|
-
"cash",
|
|
3841
|
-
"check",
|
|
3842
|
-
"charge_back",
|
|
3843
3839
|
"bank_transfer",
|
|
3844
|
-
"
|
|
3845
|
-
"
|
|
3846
|
-
"
|
|
3847
|
-
"upi",
|
|
3848
|
-
"netbanking_emandates",
|
|
3849
|
-
"other",
|
|
3850
|
-
"credits",
|
|
3851
|
-
"ach_credit_transfer"
|
|
3840
|
+
"check",
|
|
3841
|
+
"cash",
|
|
3842
|
+
"card"
|
|
3852
3843
|
]
|
|
3853
3844
|
},
|
|
3854
3845
|
{
|
|
3855
3846
|
"name": "type",
|
|
3856
|
-
"description": "Payment type
|
|
3847
|
+
"description": "Frontend Add Payment type. Use 'payment' for a manual/offline payment, or 'tax_withheld' for a tax withheld amount. Refunds, payment reversals, and authorizations are outside this tool's scope.",
|
|
3857
3848
|
"type": "string",
|
|
3858
3849
|
"required": false,
|
|
3859
3850
|
"position": "body",
|
|
3860
3851
|
"default": "payment",
|
|
3861
3852
|
"enum": [
|
|
3862
3853
|
"payment",
|
|
3863
|
-
"refund",
|
|
3864
|
-
"payment_reversal",
|
|
3865
|
-
"authorization",
|
|
3866
3854
|
"tax_withheld"
|
|
3867
3855
|
]
|
|
3868
3856
|
},
|
|
3869
3857
|
{
|
|
3870
3858
|
"name": "status",
|
|
3871
|
-
"description": "Payment status.",
|
|
3859
|
+
"description": "Payment status for this recorded payment. Use 'success' for manually recorded/offline payments so linked invoices are marked paid when payment_parts cover the amount due.",
|
|
3872
3860
|
"type": "string",
|
|
3873
3861
|
"required": false,
|
|
3874
|
-
"position": "body"
|
|
3862
|
+
"position": "body",
|
|
3863
|
+
"default": "success",
|
|
3864
|
+
"enum": ["success"]
|
|
3875
3865
|
},
|
|
3876
3866
|
{
|
|
3877
3867
|
"name": "external_id",
|
|
@@ -3879,13 +3869,6 @@
|
|
|
3879
3869
|
"type": "string",
|
|
3880
3870
|
"required": false,
|
|
3881
3871
|
"position": "body"
|
|
3882
|
-
},
|
|
3883
|
-
{
|
|
3884
|
-
"name": "timestamp",
|
|
3885
|
-
"description": "Payment timestamp in ISO 8601 format.",
|
|
3886
|
-
"type": "string",
|
|
3887
|
-
"required": false,
|
|
3888
|
-
"position": "body"
|
|
3889
3872
|
}
|
|
3890
3873
|
],
|
|
3891
3874
|
"requestTemplate": {
|
package/package.json
CHANGED