我正在使用库 picqer/exact-online,我收到了我刚刚创建的发票的附件:但是几天前突然停止工作,有人可以帮忙吗?
出现以下错误:
Picqer\Financials\Exact\ApiException:错误 400:“12”中无法识别“Edm.Guid”文字“guid”。(未捕获的异常)在创建发票时位于 /var/web/partners/vendor/picqer/exact-php-client/src/Picqer/Financials/Exact/Connection.php 第 560 行。
$printedInvoice = new PrintedSalesInvoice($this->exact);
$printedInvoice->InvoiceID = $invoice->InvoiceID;
$documentData = $printedInvoice->save();
$attachment = new DocumentAttachment($this->exact);
$attachments = $attachment->filter(sprintf(
"Document eq guid'%s'",
$documentData['Document']
));