I've got an interesting challenge that I'm not sure how best to tackle.
I'm looking for a possible predictor to a client being unable to pay their invoices. It's not uncommon (unfortunately) for a client to be in financial straits, to order a lot of new goods to sell, then to declare bankruptcy. I'd like to be able to predict when that's going to happen by changes in their payment history.
I've got the following tables to work from:
Payment dates and Invoices
Sales Orders and Amounts
What strategy would you use to match invoices and payments to then determine a payment frequency?
Initially I thought I'd run a simple SUMIFS formula to calculate the invoices and the outstanding balance, but that really won't give me the frequency of payment. I may get a regular payment (in some cases) as often as weekly, but usually it's a monthly payment. When payments start coming in at intervals that aren't in line with historical payments, that's what I want to flag and investigate. I'm looking to do this analysis for about 15,000 customers.
Any thoughts on how best to accomplish this?
I'm looking for a possible predictor to a client being unable to pay their invoices. It's not uncommon (unfortunately) for a client to be in financial straits, to order a lot of new goods to sell, then to declare bankruptcy. I'd like to be able to predict when that's going to happen by changes in their payment history.
I've got the following tables to work from:
Payment dates and Invoices
AR_model_data (002).xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Account No | Invoice No | Document type | Posting Date | ||
2 | 1003541 | A3254 | Payment | 3/2/2021 | ||
3 | 1018685 | A15607 | Payment | 3/2/2021 | ||
4 | 1013827 | A10562 | Payment | 3/2/2021 | ||
5 | 1014488 | A15669 | Payment | 3/2/2021 | ||
6 | 1005150 | A18078 | Payment | 3/2/2021 | ||
7 | 1013566 | A17385 | Payment | 3/2/2021 | ||
8 | 1005324 | A16178 | Payment | 3/2/2021 | ||
9 | 1008316 | A16602 | Payment | 3/2/2021 | ||
10 | 1013407 | A13859 | Payment | 3/2/2021 | ||
11 | 1014782 | A15107 | Payment | 3/2/2021 | ||
12 | 1003313 | A18269 | Payment | 3/2/2021 | ||
13 | 1006219 | A19335 | Payment | 3/2/2021 | ||
Payment dates |
Sales Orders and Amounts
AR_model_data (002).xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Account no | Payment Terms Code | Responsibility Center | Posting date | Document Type | Invoice No | Amount | ||
2 | 1005694 | CC3 | FIELD | 3/12/2021 | SI | A11433 | 75 | ||
3 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A17584 | 38.64 | ||
4 | 1012441 | CC3 | FIELD | 3/1/2021 | SI | A17814 | 2043 | ||
5 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A17245 | 38.64 | ||
6 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A19422 | 77.28 | ||
7 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A19890 | 77.28 | ||
8 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A17727 | 38.64 | ||
9 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A15354 | 38.64 | ||
10 | 1000734 | NET30 | INTERNET | 3/1/2021 | SI | A18907 | 38.64 | ||
Sales transactions |
What strategy would you use to match invoices and payments to then determine a payment frequency?
Initially I thought I'd run a simple SUMIFS formula to calculate the invoices and the outstanding balance, but that really won't give me the frequency of payment. I may get a regular payment (in some cases) as often as weekly, but usually it's a monthly payment. When payments start coming in at intervals that aren't in line with historical payments, that's what I want to flag and investigate. I'm looking to do this analysis for about 15,000 customers.
Any thoughts on how best to accomplish this?