feat(api): fix POST /invoice

This commit is contained in:
2025-08-26 22:40:49 +02:00
parent 788571162d
commit 794558a007
12 changed files with 181 additions and 84 deletions

View File

@@ -1,60 +1,18 @@
{
"gitea_url": "https://git.schreifuchs.ch",
"gitea_token": "",
"repos": [
{
"owner": "lou-taylor",
"repo": "lou-taylor-web"
},
{
"owner": "lou-taylor",
"repo": "lou-taylor-api"
},
{
"owner": "lou-taylor",
"repo": "accounting"
}
],
"min_duration": "15m",
"hourly": 16,
"from_entity": {
"name": "schreifuchs.ch",
"iban": "",
"address": {
"street": "",
"number": "",
"zip_code": "",
"place": "",
"country": ""
},
"contact": ""
},
"to_entity": {
"name": "",
"address": {
"street": "",
"number": "",
"zip_code": "",
"place": "",
"country": ""
},
"contact": "Loana Groux"
},
"pdf_generator_url": "http://localhost:3030",
"mailer": {
"email": {
"smtp": {
"host": "mail.your-server.de",
"port": "465",
"user": "",
"password": ""
"host": "smtp.example.com",
"port": "587",
"username": "user",
"password": "password"
},
"from": ""
"from": "from@example.com"
},
"mail": {
"to": "",
"subject": "",
"body": ""
"pdf": {
"hostname": "http://localhost:3030"
},
"mail_bcc": [""]
"gitea": {
"url": "https://gitea.example.com",
"token": "your-gitea-token"
}
}