Closed akkushopJK closed 7 months ago
Hi we use the implementation of DR74 as in the example here https://github.com/mirakl/sdk-php-shop/blob/d178632cd1f0bb065a7819ab9df5d70acd8b72a1/src/Mirakl/MMP/Shop/Request/DocumentRequest/UploadAccountingDocumentsRequest.php#L7
We get the following error { "errors" : [ { "code" : "INVALID_FIELD_TYPE", "field" : "requests[0].files", "message" : "Field type is invalid" } ] }
Ok found the issue for me it worked to do the setFiles
$doc->setFiles([['format' => 'PDF', 'name' => 'invoice.pdf']]);
Hi we use the implementation of DR74 as in the example here https://github.com/mirakl/sdk-php-shop/blob/d178632cd1f0bb065a7819ab9df5d70acd8b72a1/src/Mirakl/MMP/Shop/Request/DocumentRequest/UploadAccountingDocumentsRequest.php#L7
We get the following error { "errors" : [ { "code" : "INVALID_FIELD_TYPE", "field" : "requests[0].files", "message" : "Field type is invalid" } ] }