ogm - Gestructureerde mededeling (Belgium)
The OGM-number is used in Belgium to automate bank payments.
- Gestructureerde Mededeling in Dutch
- Numéro d’OGM in French
This function produces random, but valid MOD97, numbers accepted by automated bank transfer systems in Belgium.
Usage(s)
ogm ( ) |
Returns a completely random OGM number |
ogm ( $prefill ) |
Returns a random ogm number with the prefill value used as prefix |
Parameter(s)
$prefill |
The value to start the ogm number with (can not be longer than 10 characters). |
Example(s)
Random 'structured messages'
ogm() x 10
+++321/9887/30446+++
+++358/5697/89667+++
|
Other uses
ogm(1337) - Returns a OGM number with a specific prefix
+++133/7671/15325+++
+++133/7673/30038+++
|
OGM with another format
If you want to have another char instead of the + sign, use this combined function:
replace(+,*,ogm(1337))
Returns: ***133/7801/56266***
Instead of: +++133/7801/56266+++
|
See also
bban - basic bank account number (Belgium)
iban - international bank account number