* Working on API docs for payments * Fixes for OpenAPI documentation * Fix for conditionals in invoice calculator