Docs/Business Utils/GET /v1/invoice-words

GET /v1/invoice-wordsInvoice Amount to Words

Business Utils lf-business-utils

Writes a money amount out in words, the way an invoice does. Takes an amount (e.g. 1234.56) and an optional currency code (default USD). Returns words (uppercase) and words_full (lowercase with currency names).

Query Parameters

ParameterTypeRequiredDescription
amountstringYesAmount (e.g. 1234.56)
currencystringNoCurrency code (default USD)

Response Schema

words (string): Uppercase amount in words
words_full (string): Lowercase with currency names
currency (string): Currency used

cURL Example

curl 'https://lf-business-utils.laminarforge.dev/v1/invoice-words?amount=<amount>' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-business-utils.laminarforge.dev/v1/invoice-words'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'amount': '<amount>'}
response = requests.get(url, headers=headers, params=params)
print(response.json())