https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/a4139a9cc439a5c03edec070d56344b1dc82056f/src/_Samples/UploadAttachment.php#L131 From my understanding, this "base64_decode" should not exist as the function expects the base64 of the attachment to sent.