You can use this detection method to find instances in which a vendor has been paid too quickly, relative to the agreed-upon payment terms. You can allow a grace period in days. Early payments are ignored if their earliness does not exceed the number of days in the grace period.
The invoice items that are processed must have a credit entry (in table BSEG
field SHKZG
= H
). Also, for accounting type, in table BSEG
field KOART
= K
), and the accounting key is of type credit memo, reverse invoice, invoice, and reverse credit invoice (table BSEG
field BSCHL
= 21
or 22
or 31
or 32
).
The procedure works by calculating a tolerance date as the date on which an accounting document was entered (table BKPF
field CPUDT
) plus the largest cash discount days value minus the TOLERANCE_DAYS
input parameter.
For returning results, this TOLERANCE_DATE
is compared with the CLEARING_DATE
. If the TOLERANCE_DATE
is larger, then an alert is created.
Investigation object type: FRA_VEND
(Vendor
)
Detection object type: FRA_VEINVI
(Vendor Invoice Item
)
LFA1
: Vendor Master (General Section)
LFB1
: Vendor Master (Company Code)
BKPF
: Accounting Document Header
BSEG
: Accounting Document Segment
Procedure Category | Procedure Name | Procedure Type | Package |
---|---|---|---|
Selection |
| SQLScript Procedure |
|
Execution |
| SQLScript Procedure |
|
Additional Information |
| SQLScript Procedure |
|
TOLERANCE_DAYS
: The minimum threshold for the number of days early that a payment has been made. If the earliness of the payment falls within this grace period, then the early payment is ignored.
Message ID FRA_INTERNAL_AUDIT
, message number 096, Invoice item was paid on the &1, &2 days earlier than the net due date &3