UK visa invitation letter generator
Writes a UK Standard Visitor visa invitation letter for you.
Requirements
- Python 3 with pip
- LaTeX with OpenType font support, e.g. XeLaTeX
Usage
- Install the package.
pip3 install uk-invitation-letter
- Create
data.yml
config file.
Example:
inviter: !entity
name: Kayleigh H Welch
address: !address
lines:
- 75 Hertingfordbury Road
- Newton NG13 8QY
# UK auto-added
phone: "07758888305"
email: noreply@temporary-mail.net
employer: !entity
name: Jstory UK Ltd
address: !address
lines:
- 89 Well Lane
- Patterdale CA11 0LQ
embassy: !entity
name: British Consulate General New York
address: !address
lines:
- 885 2nd Ave
- New York
- NY 10017
- United States
invitee: !entity
name: # <first name> [<other names>]+ <last name>, use `~` for a non-breaking space
- Joseph Brodsky
- Maria Sozzani
pronoun: null # they/them/their by default
relationship: friends
trip: !trip
arrival_date: 2020-01-01
departure_date: 2020-01-31
reason: a short trip
return_reason: null
return_country: the US
financial_support: false
- Run the generator.
LATEX_BINARY=<path to latex binary> uk-invitation-letter
The output will be saved to build/invitation.pdf
.