I Hi all! Has anyone automated late fees / finance...
# suitescript
g
I Hi all! Has anyone automated late fees / finance charge invoices before? What did your solution look like? If you haven't done it before, what would your approach look like?
c
I would probably approach this with a map/reduce script to find invoices that are past-due, and not currently billed a late fee (SuiteQL should make this easy enough). Validate that the looked up invoice isn't a late-fee, and then once you have the list. Create new invoice records through n/record with the late fee.
👍 1
g
Thanks for the reply! To make sure I understand you correctly, you mean a standard invoice with a "Finance Charge" as a line item rather than creating an actual Finance Charge Invoice as defined here? https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N1301640.html
c
That's what our implementation partner did for us. I'm not sure what went into the discussions on why they implemented it that way.
g
I've seen it done that way before too. From what I can tell from conversations on Reddit and StackOverflow and such, the Finance Charge Invoice is not accessible to Suitescript so people use a regular invoice with a finance charge item to simulate it.