Will retrieving Invoice documents as PDFs be available in QuickBooks API V3? If so, will QuickBooks Desktop be supported as well? In V2 (Intuit Data Services), only QuickBooks Online was supported.
问问题
922 次
2 回答
3
它在 v3 中尚不可用。目前仅在 v2 中。它最终会得到支持,但不会在接下来的 6 个月内得到支持。如果需要,您当然可以仅使用 v3 和 v2 将发票保存为 pdf。
谢谢贾里德
_
于 2013-06-19T17:52:03.480 回答
0
$dataService->throwExceptionOnError(true);
$invoice = $dataService->FindById("Invoice", $invoiceId);
$filename = "$customerEmail.pdf";
$pdfData = $dataService->DownloadPDF($invoice, null, true);
// Send the file to the browser.
header('Content-Type: application/pdf');
header('Content-Transfer-Encoding: binary');
header('Accept-Ranges: bytes');
header('Content-Disposition: inline; filename="' . $filename . '"');
echo $pdfData;
于 2022-01-21T11:08:00.373 回答