{"audience":"General ledger and financial close teams, tax teams, certified public accountants and auditors.","authorization_objects":[{"note":"Posting authorization by company code","object":"F_BKPF_BUK"},{"note":"Posting authorization by account type","object":"F_BKPF_KOA"}],"components":[],"countries":[{"country":"TR","legal_basis":"Articles 281 and 285 of Tax Procedure Law No. 213 (rediscount of notes receivable and payable) and Article 323 (doubtful trade receivables).","note":"The Central Bank of the Republic of Türkiye discount rate valid at period end is entered as the rediscount interest rate parameter."}],"effort_days_max":10,"effort_days_min":7,"effort_size":"M","faq":[{"a":"Tax Procedure Law bases rediscount on the internal discount method, which finds the period-end value as the present value of the amount at maturity. If needed, an external discount option can be added as a separate parameter for accounting policy purposes.","q":"Why internal rather than external discount?"},{"a":"For a tax-deductible provision the receivable must be in litigation or enforcement. The program only proposes items flagged with that status; the secured part is deducted from the provision. The final decision is the user's approval.","q":"For which receivables is a doubtful provision proposed?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"excel","label":"Export to Excel","note":"The calculation table is exported to Excel for the audit file."},{"code":"background","label":"Runs as a background job","note":"The reversal step can be scheduled for the first day of the next period."}],"functions":[{"name":"BAPI_ACC_DOCUMENT_POST","role":"Posts the rediscount and doubtful receivables provision entries"},{"name":"BAPI_ACC_DOCUMENT_REV_POST","role":"Reverses the rediscount entries at the start of the next period"}],"gap":"F104 calculates receivable provisions as a percentage by days overdue; it does not know the litigation/enforcement condition in tax rules or note rediscounting. F107 runs a valuation but does not calculate rediscount with the internal discount formula and the Central Bank rate. Teams calculate in Excel, enter postings by hand and may forget the reversal. The program does calculation, posting and reversal in one flow.","id":"tr-rediscount-doubtful","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. Rediscount: open items with the special G/L indicators for notes receivable and post-dated cheques are read from BSID, and for notes payable from BSIK, for the selected company code and valuation date; the note number comes from BSED.\n2. For each item due after the valuation date, days = due date − valuation date; rediscount = amount × rate × days / (36000 + rate × days) (internal discount).\n3. Doubtful receivables: customer open items marked as in litigation or enforcement (special G/L indicator or dunning level set by parameter) with an unsecured portion are listed; the proposed provision is the unsecured amount.\n4. The user approves rows or corrects the amount in the ALV.\n5. Approved amounts are posted per account group with BAPI_ACC_DOCUMENT_POST (rediscount interest expense/income and rediscount accounts; provision expense and the doubtful receivables provision account).\n6. Rediscount entries are reversed on the first day of the next period with BAPI_ACC_DOCUMENT_REV_POST; the doubtful receivables provision stays until collection or final write-off.","module":"FI","object_type":"batch_job","output_columns":[{"calculated":true,"formula":"Note receivable, note payable, post-dated cheque or doubtful receivable","label":"Type","source_field":null,"source_table":null},{"calculated":true,"formula":"BSID-KUNNR or BSIK-LIFNR","label":"Account","source_field":null,"source_table":null},{"calculated":true,"formula":"KNA1-NAME1 or LFA1-NAME1","label":"Account name","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Note no.","source_field":"BOENO","source_table":"BSED"},{"calculated":false,"formula":"","label":"Due date","source_field":"ZFBDT","source_table":"BSID"},{"calculated":false,"formula":"","label":"Amount (local)","source_field":"DMBTR","source_table":"BSID"},{"calculated":true,"formula":"Due date − valuation date","label":"Days","source_field":null,"source_table":null},{"calculated":true,"formula":"For rediscount amount × rate × days / (36000 + rate × days); for doubtful receivables the unsecured amount","label":"Rediscount / provision amount","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Posting document","source_field":"BELNR","source_table":"BKPF"}],"parameters":[{"example":"1000","kind":"parameter","label":"Company code","name":"P_BUKRS","ref_field":"BKPF-BUKRS","required":true},{"example":"31.12.2026","kind":"parameter","label":"Valuation date","name":"P_KEYDT","ref_field":"","required":true},{"example":"X","kind":"radio","label":"Note rediscount","name":"R_REESK","ref_field":"","required":false},{"example":"","kind":"radio","label":"Doubtful receivables provision","name":"R_DOUBT","ref_field":"","required":false},{"example":"40,75","kind":"parameter","label":"Rediscount interest rate (annual %)","name":"P_RATE","ref_field":"","required":false},{"example":"W, D","kind":"select_option","label":"Note, cheque or litigation special G/L indicators","name":"S_UMSKZ","ref_field":"BSID-UMSKZ","required":false},{"example":"X","kind":"checkbox","label":"Test mode (calculate without posting)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Limit BSID and BSIK by company code and special G/L indicator; read BSED in bulk by item key. Post per account group rather than per item.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=tr-rediscount-doubtful","related":["fi-customer-receivables-aging","fi-foreign-currency-open-items-revaluation-preview","fi-vendor-open-items-aging"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Calculates provisions as a percentage by days overdue; there is no litigation condition or note rediscount.","tcode":"F104"},{"note":"Runs a valuation; does not calculate note rediscount with the internal discount formula.","tcode":"F107"}],"summary":"A custom background program that calculates the rediscount amount of not-yet-due notes receivable and payable and post-dated cheques at period end with the internal discount method, proposes a doubtful receivables provision for receivables in litigation or enforcement, and posts the approved amounts and reverses them at the start of the next period.","tables":[{"access":"read","join_on":"","role":"Notes receivable, post-dated cheques and doubtful receivable candidates","table":"BSID","variant":"both"},{"access":"read","join_on":"","role":"Notes payable","table":"BSIK","variant":"both"},{"access":"read","join_on":"BSED-BUKRS = BSID-BUKRS AND BSED-BELNR = BSID-BELNR AND BSED-GJAHR = BSID-GJAHR AND BSED-BUZEI = BSID-BUZEI","role":"Note number and issue details","table":"BSED","variant":"both"},{"access":"read","join_on":"KNA1-KUNNR = BSID-KUNNR","role":"Customer name","table":"KNA1","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = BSIK-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"},{"access":"write","join_on":"","role":"Rediscount, provision and reversal documents","table":"BKPF","variant":"both"}],"title":"Türkiye Notes Receivable and Payable Rediscount and Doubtful Receivables Provision Program","url":"https://nekuhub.com/en/programs/turkey-notes-rediscount-and-doubtful-receivables-provision/","vendor_id":"nekudos"}