← Files Invoice Discount WindowARCHIVED FILE
review/worksheet_file-output.json
991 Bytes · Nov 30, 2026 · 07:53 UTC
{
"plugin": "invoice-discount-window",
"version": "0.1.1",
"operation": "worksheet_file",
"input": {
"document": "{\n \"invoice_amount\": 1000,\n \"discount_pct\": 2,\n \"discount_days\": 10,\n \"net_days\": 30,\n \"annual_days\": \"360\"\n}"
},
"metrics": {
"early_amount": 980,
"savings": 20,
"extra_days": 20
},
"rows": [],
"artifacts": [
{
"filename": "invoice-discount-window.json",
"mimeType": "application/json",
"text": "{\n \"input\": {\n \"invoice_amount\": 1000,\n \"discount_pct\": 2,\n \"discount_days\": 10,\n \"net_days\": 30,\n \"annual_days\": \"360\"\n },\n \"primary\": {\n \"metrics\": {\n \"early_amount\": 980,\n \"savings\": 20,\n \"extra_days\": 20\n },\n \"rows\": []\n },\n \"secondary\": {\n \"metrics\": {\n \"simple_annual_pct\": 36.734693877551024,\n \"effective_annual_pct\": 43.85688018002179\n },\n \"rows\": []\n }\n}\n"
}
]
}SHA-256: 4d3ec6cf01f23e813337d8e57f48dec09e56d18662811d76a1768469ae02885e