{"ok":true,"commandType":"debtor-aging-autocount-pdf","module":"Reports","mode":"report","summary":"Generate a native debtor aging PDF at a cutoff date.","payloadSchema":{"asOfDate":"optional YYYY-MM-DD cutoff date; default connector today; aliases reportDate/toDate, not a date range","debtorCode":"optional single debtor code; omit for all debtors; explicit blank is rejected","currencyMode":"optional AccountCurrency | LocalCurrencyByDocument; default AccountCurrency","includeZeroBalance":"optional boolean; default false","includeFutureDoc":"optional boolean; default false","showGroupCompany":"optional boolean; default false","showSubCompany":"optional boolean; default false","withDetails":"optional boolean; default true","withPDCheque":"optional boolean; default false","withSalesAnalysis":"optional boolean; default false","reportName":"optional exact installed Debtor Aging report template; discover with list-autocount-report-templates","out":"optional local connector PDF path; omit for cloud use"},"examplePayload":{"asOfDate":"2026-09-30","debtorCode":"300-A001","currencyMode":"AccountCurrency","withDetails":true},"examples":[],"payloadEnums":{"currencyMode":["AccountCurrency","LocalCurrencyByDocument"]},"requiredPayloadFields":[],"conditionalPayloadRules":{},"notes":"Requires local-mvp-2026.09.28.04 or later installed on the selected connector; publishing the download does not install it. native DebtorAging.Inquire with native report data. asOfDate is a cutoff, not a fromDate/toDate range; fromDate/startDate and conflicting aliases are rejected. No user-defined exchange rates. Bucket labels come from Report Option AgingWord0..23 and the account-book AgingFormat2, never assumed 30-day periods. Native implementation/template availability and account-book acceptance are separate from schema discovery. Exports an installed compatible Debtor Aging template; use result.artifactUrl with the same tenant key. A statement PDF is not a standalone aging report.","nativePayload":{"commandType":"debtor-aging-autocount-pdf","title":"Debtor aging report","supported":true,"schemaOnly":true,"fields":{"asOfDate":{"description":"optional YYYY-MM-DD cutoff date; default connector today; aliases reportDate/toDate, not a date range","type":"string","example":"2026-09-30","format":"date"},"debtorCode":{"description":"optional single debtor code; omit for all debtors; explicit blank is rejected","type":"string","example":"300-A001","minLength":1},"currencyMode":{"description":"optional AccountCurrency | LocalCurrencyByDocument; default AccountCurrency","type":"string","example":"AccountCurrency","enum":["AccountCurrency","LocalCurrencyByDocument"]},"includeZeroBalance":{"description":"optional boolean; default false","type":"boolean"},"includeFutureDoc":{"description":"optional boolean; default false","type":"boolean"},"showGroupCompany":{"description":"optional boolean; default false","type":"boolean"},"showSubCompany":{"description":"optional boolean; default false","type":"boolean"},"withDetails":{"description":"optional boolean; default true","type":"boolean","example":true},"withPDCheque":{"description":"optional boolean; default false","type":"boolean"},"withSalesAnalysis":{"description":"optional boolean; default false","type":"boolean"},"reportName":{"description":"optional exact installed Debtor Aging report template; discover with list-autocount-report-templates","type":"number"},"out":{"description":"optional local connector PDF path; omit for cloud use","type":"string"}},"notes":["Requires local-mvp-2026.09.28.04 or later installed on the selected connector; publishing the download does not install it. native DebtorAging.Inquire with native report data. asOfDate is a cutoff, not a fromDate/toDate range; fromDate/startDate and conflicting aliases are rejected. No user-defined exchange rates. Bucket labels come from Report Option AgingWord0..23 and the account-book AgingFormat2, never assumed 30-day periods. Native implementation/template availability and account-book acceptance are separate from schema discovery. Exports an installed compatible Debtor Aging template; use result.artifactUrl with the same tenant key. A statement PDF is not a standalone aging report."]}}