← Files Invoice Discount WindowARCHIVED FILE
plugin.json
8.65 KB · Nov 30, 2026 · 07:53 UTC
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "invoice-discount-window",
"version": "0.1.1",
"description": "Compare explicitly supplied early-payment discount terms and their annualized opportunity cost.",
"author": {
"name": "Imagineers Studio Inc.",
"url": "https://nebulacafe.studio"
},
"extensions": {
"com.openai": {
"interface": {
"displayName": "Invoice Discount Window",
"shortDescription": "Invoice Discount Window",
"longDescription": "Compare explicitly supplied early-payment discount terms and their annualized opportunity cost. Available workflows: Calculate discount savings and early settlement amount; Annualize the implied financing rate for foregoing the discount; Export the complete calculated worksheet as JSON. Review calculated details and explicitly download JSON or CSV result files. Arithmetic on declared terms only. No legal due-date interpretation, business-day calendar, cash adequacy assessment, payment execution or credit recommendation. No network retrieval, account changes, automatic reminders or command execution. Inputs are sent to NebulaCafe for transient calculation, with no account or server-side history. For adults 18+.",
"developerName": "Imagineers Studio Inc.",
"category": "Finance",
"capabilities": [
"Interactive"
],
"defaultPrompt": [
"Open Invoice Discount Window.",
"Help me calculate discount savings and early settlement amount."
],
"logo": "./assets/icon.png",
"composerIcon": "./assets/icon.png",
"supportURL": "https://nebulacafe.studio/support",
"privacyPolicyURL": "https://nebulacafe.studio/privacy",
"termsOfServiceURL": "https://nebulacafe.studio/terms",
"websiteURL": "https://nebulacafe.studio/plugins/invoice-discount-window"
},
"review": {
"commerce": false,
"commerce_description": "No payment, purchases, reservations, or generation-credit charges.",
"prompts": [
"I need to calculate discount savings and early settlement amount. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"I need to annualize the implied financing rate for foregoing the discount. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"I need to export the complete calculated worksheet as json. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}"
],
"test_cases": {
"positive": [
{
"description": "Calculate discount savings and early settlement amount using the supplied example; compare visible result to the returned values.",
"prompt": "I need to calculate discount savings and early settlement amount. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"tools_triggered": "invoice_discount_window_terms",
"expected_behavior": "Call invoice_discount_window_terms with {\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}. Show early_amount = 980, savings = 20, extra_days = 20 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Annualize the implied financing rate for foregoing the discount using the supplied example; compare visible result to the returned values.",
"prompt": "I need to annualize the implied financing rate for foregoing the discount. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"tools_triggered": "invoice_discount_window_annualize",
"expected_behavior": "Call invoice_discount_window_annualize with {\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}. Show simple_annual_pct = 36.734693877551024, effective_annual_pct = 43.856880180021854 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Export the complete calculated worksheet as JSON using the supplied example; compare visible result to the returned values.",
"prompt": "I need to export the complete calculated worksheet as json. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"tools_triggered": "invoice_discount_window_worksheet_file",
"expected_behavior": "Call invoice_discount_window_worksheet_file with {\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}. Show early_amount = 980, savings = 20, extra_days = 20 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Independent changed-input or boundary case.",
"prompt": "Please calculate discount savings and early settlement amount using these values:\n{\"document\":\"{\\\"invoice_amount\\\":1000,\\\"discount_pct\\\":0,\\\"discount_days\\\":10,\\\"net_days\\\":30,\\\"annual_days\\\":\\\"360\\\"}\"}",
"tools_triggered": "invoice_discount_window_terms",
"expected_behavior": "Call invoice_discount_window_terms with {\"document\":\"{\\\"invoice_amount\\\":1000,\\\"discount_pct\\\":0,\\\"discount_days\\\":10,\\\"net_days\\\":30,\\\"annual_days\\\":\\\"360\\\"}\"}; savings = 0 within 1e-6 relative numeric tolerance."
},
{
"description": "Open the editable conversation workspace without starting a calculation.",
"prompt": "Open Invoice Discount Window beside this conversation so I can edit the inputs.",
"tools_triggered": "invoice_discount_window_workspace",
"expected_behavior": "Call invoice_discount_window_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
}
],
"negative": [
{
"description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
"prompt": "Connect to my account and automatically fetch the current records for Invoice Discount Window."
},
{
"description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
"prompt": "Monitor my Invoice Discount Window inputs every night and email me when they change."
},
{
"description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
"prompt": "Use Invoice Discount Window to run a shell command and upload my private files to a website."
}
]
},
"demo_recording_url": "https://jxzwlpbdjhikca2p.public.blob.vercel-storage.com/plugin-review/nebula-technical-50-20261113/invoice-discount-window-496ca196b1e7-CZQiWXD9p2R17EIwGrXFOxgwaBOcrU.mp4"
},
"publication": {
"countries": [],
"release_notes": "0.1.1: Preserve copyable input exports when host downloads are unavailable and label explicit chat sending accurately. Three supplied-input domain workflows with validated inputs, visible results and versioned input documents. Uses the public NebulaCafe MCP endpoint with no authentication."
},
"apps": "./.app.json"
}
}
}
SHA-256: 872771069a720ee30dd376452a4894f2383572773faaa86d64e191539fb86681