JDBC Driver for FreshBooks

Build 23.0.8839

CreateExpenseWithAttachment

To let end users create an expense with attachment.

Input

Name Type Required Accepts Input Streams Description
Attachment String False False The full path of the attachment to upload.
FileName String False False Name of the file. If content is not empty.
Content String False True The content as InputStream to be uploaded when Attachment is not specified.
Amount Decimal False False The amount of the expense.
CategoryId Integer True False The identifier of the related expense category.
Date Date False False Date of the expense. (YYYY-MM-DD)
StaffId Integer True False Identifier of related staff member, if applicable.

Result Set Columns

Name Type Description
Success String True if the image is uploaded successfully.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839