-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi, I'm using php client billduapp/api-client to communicate with billdu API and I've encountered the following issue with updating padinOn on the invoice document.
Based on the information from the documentation updating paidOn on the invoice document should automatically create a payment.
However, when I try to to send a PATCH request to the endpoint exactly as in the API documentation example I receive 500 error:
{"error":500,"message":"Doctrine\\DBAL\\Types\\ConversionException:Could not convert PHP value '2015-10-06T00:00:00+0200' of type 'string' to type 'datetime'. Expected one of the following types: null, DateTime"}
$apiClient->documents->update($id, ['paidOn' => '2015-10-06T00:00:00+0200']);
Any help appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels