Closed salkin-hc closed 2 months ago
Hey @salkin-hc,
normally it should not be possible to assign a document template for incoming invoices to a planned revenue. Could you please provide the url to your helloHQ System. Then I can check the behavior.
Thank you. Best Sven
The problem is with Planned Costs. The default template in the front end is an incoming invoice template. Our URL is: hanseaticconsulting.hellohq.io
Hey,
Sorry, ich habe nicht gesehen das du die API v2 benutzt. Planumsätze und Plankosten kann man aktuell nicht über die API anlegen. Die Endpoints fehlen noch.
Über die Documents-Endpoints kann man diese nicht anlegen da spezielle Logik erforderlich ist.
Das in der Dokumentation die Typen auftauchen ist ein Fehler den wir beheben werden.
Viele Grüße Sven
Das ist schade, trotzdem vielen Dank!
Describe the bug PlannedCost lässt sich über POST request nicht erstellen. Jede documentTemplateEntityId produziert nur Response:
400 - {"message": "CreateDocumentException => NoDocumentTemplate"}
Im FrontEnd lässt sich ein PlannedCost problemlos erstellen, auch mit dem DocumentTemplate (22) -> normale Vorlage für Incoming Invoice.Selbst beim Ausprobieren bei Swagger kommt die gleiche Fehlermeldung.
POST Requests von Invoice / Incoming Invoice aus anderen Templates funktionieren einwandfrei
To Reproduce
Response
{"message": "CreateDocumentException => NoDocumentTemplate"}