Skip to content

Can't create a bill with api #371

@seabusch

Description

@seabusch

Hello,
I couldn't find a post with a similar issue. So I think i create one here.

I try to create bills with a csv file and wasn't able to create even one.

I installed OCS API Viewer who shows you the cospend 0.0.1 OAS 3.0 API

For a bill creation it displays the following:
rewuest body:
{
"date": null,
"what": null,
"payer": null,
"payedFor": null,
"amount": null,
"repeat": null,
"paymentMode": null,
"paymentModeId": null,
"categoryId": null,
"repeatAllActive": 0,
"repeatUntil": null,
"timestamp": null,
"comment": null,
"repeatFreq": null
}

I tired to fill it several times and always get a 400 error. I was never able to solve it. after using chatgpt and gemini i'm guessing the api description is somewhere wrong?

if someone can check and let me know if this because i make a mistake or is the api still working. I would be glad if there could be an example of bill creating that works. i will know how to tranfer to my needs.

thans a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions