Hello,
I am currently trying to create an invoice in project service automation in Dynamics 365 CE. I have created a project contract and associated a project line item. Now I want to manually create an invoice using the button in the ribbon containing the approved times. For this I want to set the approved time entries to "Read To Invoice". However, when I click the button in the ribbon nothing happens. I checked the records in the dataverse table and they are still set to "Unbilled Sales Created". I tried changing the state to "Ready To Invoice" using the WebAPI and a Patch call. This returns a 400 response with the body containing the error code: 0x80040265. Am I missing some setting that actually allows me to invoice project times?
Thanks