Türkiye Notes Receivable and Payable Rediscount and Doubtful Receivables Provision Program
Short answer: 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.
- Estimated effort
- M · 7–10 working days
- System
- ECC and S/4HANA
- Tables
- 6
- Scope
- TR
- Built by
- NeKuDos Teknoloji
- Last updated
Why is the standard not enough?
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.
Who uses it? General ledger and financial close teams, tax teams, certified public accountants and auditors.
Closest standard alternatives
Localization and legal basis
Türkiye · Turkish Revenue Administration (GİB)
Legal basis: Articles 281 and 285 of Tax Procedure Law No. 213 (rediscount of notes receivable and payable) and Article 323 (doubtful trade receivables).
The Central Bank of the Republic of Türkiye discount rate valid at period end is entered as the rediscount interest rate parameter.
Tables used
The tables the program reads and updates. ECC and S/4HANA differences are marked separately.
| Table | Role | Access | System |
|---|---|---|---|
| BSIDCustomer Open Items | Notes receivable, post-dated cheques and doubtful receivable candidates | Read | ECC + S/4 |
| BSIKVendor Open Items | Notes payable | Read | ECC + S/4 |
| BSEDBill of Exchange Fields Document Segment | Note number and issue details | Read | ECC + S/4 |
| KNA1Customer Master (General Section) | Customer name | Read | ECC + S/4 |
| LFA1Vendor Master (General Section) | Vendor name | Read | ECC + S/4 |
| BKPFAccounting Document Header | Rediscount, provision and reversal documents | Write | ECC + S/4 |
S/4HANA notes
- BSID → I_OperationalAcctgDocItem: In S/4HANA BSID is no longer filled as a separate index table; reads work through a compatibility view of the same name. For new developments the I_OperationalAcctgDocItem CDS view is recommended.
- BSIK: In S/4HANA BSIK is no longer filled as a separate index table; reads work through a compatibility view. For new developments the I_OperationalAcctgDocItem CDS view is recommended.
BAPIs and functions used
- BAPI_ACC_DOCUMENT_POSTAccounting: Post Document. Posts the rediscount and doubtful receivables provision entries
- BAPI_ACC_DOCUMENT_REV_POSTAccounting: Post Reversal. Reverses the rediscount entries at the start of the next period
Selection screen parameters
| Parameter | Description | Type | Reference field | Required | Example |
|---|---|---|---|---|---|
| P_BUKRS | Company code | Single value | BKPF-BUKRS | Yes | 1000 |
| P_KEYDT | Valuation date | Single value | — | Yes | 31.12.2026 |
| R_REESK | Note rediscount | Radio button | — | No | X |
| R_DOUBT | Doubtful receivables provision | Radio button | — | No | — |
| P_RATE | Rediscount interest rate (annual %) | Single value | — | No | 40,75 |
| S_UMSKZ | Note, cheque or litigation special G/L indicators | Range / multiple | BSID-UMSKZ | No | W, D |
| P_TEST | Test mode (calculate without posting) | Checkbox | — | No | X |
Result list columns
| # | Column | Source |
|---|---|---|
| 1 | Type | Calculated Note receivable, note payable, post-dated cheque or doubtful receivable |
| 2 | Account | Calculated BSID-KUNNR or BSIK-LIFNR |
| 3 | Account name | Calculated KNA1-NAME1 or LFA1-NAME1 |
| 4 | Note no. | BSED-BOENO |
| 5 | Due date | BSID-ZFBDT |
| 6 | Amount (local) | BSID-DMBTR |
| 7 | Days | Calculated Due date − valuation date |
| 8 | Rediscount / provision amount | Calculated For rediscount amount × rate × days / (36000 + rate × days); for doubtful receivables the unsecured amount |
| 9 | Posting document | BKPF-BELNR |
Sample result list
| Type | Account | Account name | Note no. | Due date | Amount (local) | Days | Rediscount / provision amount | Posting document |
|---|---|---|---|---|---|---|---|---|
| Note receivable | 200150 | Örnek Tekstil A.Ş. | S-2026-204 | 03/31/2027 | 500,000 | 90 | 46,228.65 | 1000004601 |
| Note payable | 100245 | Anadolu Ambalaj San. Ltd. | B-2026-031 | 02/15/2027 | -240,000 | 46 | -11,878.17 | 1000004602 |
| Doubtful receivable | 200388 | Demo Retail Ltd. | 05/31/2026 | 130,000 | -214 | 130,000 | 1000004603 |
How does the program work?
- 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.
- For each item due after the valuation date, days = due date − valuation date; rediscount = amount × rate × days / (36000 + rate × days) (internal discount).
- 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.
- The user approves rows or corrects the amount in the ALV.
- 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).
- 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.
Performance notes
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.
Features
- Test mode (check without posting)
- ALV list (sort, filter, subtotals)
- Line-by-line result and error log
- Export to Excel The calculation table is exported to Excel for the audit file.
- Runs as a background job The reversal step can be scheduled for the first day of the next period.
Authorization objects
- F_BKPF_BUKPosting authorization by company code
- F_BKPF_KOAPosting authorization by account type
Frequently asked questions
Why internal rather than external discount?
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.
For which receivables is a doubtful provision proposed?
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.
Related reports
Customer Receivables Aging Report
A custom ALV report that ages customer open items by net due date and shows down payments received and other special G/L items in the same list. …
Foreign Currency Open Items Exchange Difference Preview Report
A custom ALV report that reads customer and vendor open items by document currency, revalues them at the key-date rate and shows the unrealized …
Vendor Open Items Aging Report
A custom ALV report that ages vendor open items by net due date and spreads the amounts into not-due, 0–30, 31–60, 61–90 and 90+ day buckets. The …
Let us build this program for your system
Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.