Originally posted by **attieretief** February 7, 2023
### DESIGN IDEA
- Have the ability to define separate payment terms for customer advances versus customer finals
- Have the ability to indicate whether advance produce trade invoice should be generated.
This may need to be more granular than just defining it on the customer card itself, since it could possibly depend on fruit specs, eg. advance invoice to be posted for Citrus, but not for Pome Fruit.
- Build the ability to store 'standard rates' for customer advances.
Must be possible to define these as percentage of intended sales, or a 'per carton price' based on filters such as fruit specifications (i.e. like the current pallet charge standard rates) Add logic to the produce trade - i.e. the system should 'know' when advances must be invoices (based on the rules), and it must be easy to then populate the posting amounts on produce trades with these advance prices/amounts (calculate the advances on the produce trade).
- When advances are posted from a produce trade, the 'advance payment terms' should automatically apply. Possibly add better visibility on produce trade headers as to whether advances or finals was posted.
The full development specification is yet to be determined, and input from our ProduceLinc clients are welcomed.
Discussed in https://github.com/orgs/ProduceLinc-Community/discussions/46