2018/10/09 - Fairways Guarantees - Document Generation

By popular demand we have added two new fields on the document generation module:

    • guarantee.initialAmountAsWords
    • guarantee.currentAmountAsWords



Those two fields do exactly what’s in their names, they let you spell the considered amount to words. This feature is a long-time demand from some of you and we are very happy to deliver it today. It is very useful when you want to generate contractual demands with amounts both as numbers and words. For example, if you have an amount of EUR 123.50 you will get, in English, “One hundred twenty-three Euros and fifty cents”.

As an example, if you add the following pattern in your template (saved as a docx document):

    • Initial Amount: ${guarantee.initialAmount} (${guarantee.initialAmountAsWords})



and given an initial amount of EUR 10,000.00 the generated document will display the following result:

    • Initial Amount: EUR 10,000.00 (Ten thousand Euros)



Please note that amount spelling is not as easy at it seems (especially in some languages) so let us know using the contact form on the right side of the service if some errors passed through our attention. Just tell us what you expected for a given amount and what you got and we will investigate.

Was this article helpful?
0 out of 0 found this helpful