Skip to content

QuickBooks: Attachable schemas

4 QuickBooks schemas with complete fields and constraints.

← Attachable operations · All schemas

Delete an attachable — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
AttachableRefarrayOptionalSpecifies the transaction object to which this attachable file is to be linked.
AttachableRef[]ModelEach itemExpand Delete an attachable — request body — body Attachable Ref item
CategorystringOptionalCategory of the attachment. Valid values include (case sensitive): Contact Photo , Document , Image , Receipt , Signature , Sound , Other .
ContentTypestringOptionalContentType of the attachment. Returned for file attachments.
FileAccessUristringOptionalFullPath FileAccess URI of the attachment. Returned for file attachments.
Read only: true
FileNamestringOptionalFileName of the attachment. Required for file attachments.
Conditionally required
IdstringRequired within parent
LatstringOptionalLatitude from where the attachment was requested.
LongstringOptionalLongitude from where the attachment was requested.
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the entity. The MetaData values are set by Data Services and are read only for all applications.
NotestringOptionalThis note is either related to the attachment specified by FileName or is a standalone note. Required for standalone notes.
Conditionally required
PlaceNamestringOptionalPlaceName from where the attachment was requested.
SizeJSONOptionalSize of the attachment. Returned for file attachments.
Decimal string
Read only: true
Size (anyOf 1)numberAlternative
Size (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
SyncTokenstringRequired within parent
TagstringOptionalTag name for the requested attachment.
TempDownloadUristringOptionalTempDownload URI which can be directly downloaded by clients. Returned for file attachments.
Read only: true
ThumbnailFileAccessUristringOptionalFullPath FileAccess URI of the attachment thumbnail if the attachment file is of a content type with thumbnail support. Returned for file attachments.
Read only: true
ThumbnailTempDownloadUristringOptionalThumbnail TempDownload URI which can be directly downloaded by clients. This is only available if the attachment file is of a content type with thumbnail support. Returned for file attachments.
Read only: true
domainstringOptional
sparsebooleanOptional

Referenced models: Read a bill — response body — Bill Meta Data, Delete an attachable — request body — body Attachable Ref item

Delete an attachable — request body — body Attachable Ref item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
CustomFieldarrayOptionalIf the user tries to fetch a record without permission, the permission denied message is conveyed through this field.
CustomField[]ModelEach itemExpand Void an invoice — request body — body Custom Field item
EntityRefModelOptionalExpand Create a purchase order — request body — body Ship To
Object reference to which this attachment is linked. Set EntityRef.value with the Id of the target object as returned in its response body when queried. Set EntityRef.type with the specific type of the target object. For example, invoice , bill , item , etc.
InactiveJSONOptionalIndicates whether or not to include references to hidden entities when filtering. When set to true , hidden references are returned in the result set. For filtering results, it works with AttachableRef.EntityRef.Type , AttachableRef.EntityRef.Value and AttachableRef.NoRefOnly filters in combination.
Inactive (anyOf 1)booleanAlternative
Inactive (anyOf 2)stringAlternativeOne of: true, false
IncludeOnSendJSONOptionalUsed when EntityRef.type references a transaction object. This field indicates whether or not the attachment is sent with the transaction when Save and Send button is clicked in the QuickBooks UI or when the Send endpoint (send email) is invoked for the object.
IncludeOnSend (anyOf 1)booleanAlternative
IncludeOnSend (anyOf 2)stringAlternativeOne of: true, false
LineInfostringOptionalFor transaction objects, used to reference a transaction detail line.
NoRefOnlyJSONOptionalIndicates whether or not to find attachable records that have no references to any entity. Combine with AttachableRef.Inactive to return hidden references.
NoRefOnly (anyOf 1)booleanAlternative
NoRefOnly (anyOf 2)stringAlternativeOne of: true, false

Referenced models: Void an invoice — request body — body Custom Field item, Create a purchase order — request body — body Ship To

Read an attachable — response body — Attachable

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AttachableRefarrayOptionalSpecifies the transaction object to which this attachable file is to be linked.
AttachableRef[]ModelEach itemExpand Read an attachable — response body — Attachable Attachable Ref item
CategorystringOptionalCategory of the attachment. Valid values include (case sensitive): Contact Photo , Document , Image , Receipt , Signature , Sound , Other .
ContentTypestringOptionalContentType of the attachment. Returned for file attachments.
FileAccessUristringOptionalFullPath FileAccess URI of the attachment. Returned for file attachments.
Read only: true
FileNamestringOptionalFileName of the attachment. Required for file attachments.
Conditionally required
IdstringOptionalUnique Identifier for an Intuit entity (object). Required for the update operation.
Read only: true
LatstringOptionalLatitude from where the attachment was requested.
LongstringOptionalLongitude from where the attachment was requested.
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the entity. The MetaData values are set by Data Services and are read only for all applications.
NotestringOptionalThis note is either related to the attachment specified by FileName or is a standalone note. Required for standalone notes.
Conditionally required
PlaceNamestringOptionalPlaceName from where the attachment was requested.
SizeJSONOptionalSize of the attachment. Returned for file attachments.
Decimal string
Read only: true
Size (anyOf 1)JSONAlternative
Size (anyOf 1) (anyOf 1)numberAlternative
Size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Size (anyOf 2)stringAlternative
SyncTokenstringOptionalVersion number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.
Read only: true
TagstringOptionalTag name for the requested attachment.
TempDownloadUristringOptionalTempDownload URI which can be directly downloaded by clients. Returned for file attachments.
Read only: true
ThumbnailFileAccessUristringOptionalFullPath FileAccess URI of the attachment thumbnail if the attachment file is of a content type with thumbnail support. Returned for file attachments.
Read only: true
ThumbnailTempDownloadUristringOptionalThumbnail TempDownload URI which can be directly downloaded by clients. This is only available if the attachment file is of a content type with thumbnail support. Returned for file attachments.
Read only: true

Referenced models: Read an attachable — response body — Attachable Attachable Ref item, Read a bill — response body — Bill Meta Data

Read an attachable — response body — Attachable Attachable Ref item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
CustomFieldarrayOptionalIf the user tries to fetch a record without permission, the permission denied message is conveyed through this field.
CustomField[]ModelEach itemExpand Read an invoice — response body — Invoice Custom Field item
EntityRefModelOptionalExpand Read an item — response body — Item Class Ref
Object reference to which this attachment is linked. Set EntityRef.value with the Id of the target object as returned in its response body when queried. Set EntityRef.type with the specific type of the target object. For example, invoice , bill , item , etc.
InactiveJSONOptionalIndicates whether or not to include references to hidden entities when filtering. When set to true , hidden references are returned in the result set. For filtering results, it works with AttachableRef.EntityRef.Type , AttachableRef.EntityRef.Value and AttachableRef.NoRefOnly filters in combination.
Inactive (anyOf 1)booleanAlternative
Inactive (anyOf 2)stringAlternativeKnown values: true, false
IncludeOnSendJSONOptionalUsed when EntityRef.type references a transaction object. This field indicates whether or not the attachment is sent with the transaction when Save and Send button is clicked in the QuickBooks UI or when the Send endpoint (send email) is invoked for the object.
IncludeOnSend (anyOf 1)booleanAlternative
IncludeOnSend (anyOf 2)stringAlternativeKnown values: true, false
LineInfostringOptionalFor transaction objects, used to reference a transaction detail line.
NoRefOnlyJSONOptionalIndicates whether or not to find attachable records that have no references to any entity. Combine with AttachableRef.Inactive to return hidden references.
NoRefOnly (anyOf 1)booleanAlternative
NoRefOnly (anyOf 2)stringAlternativeKnown values: true, false

Referenced models: Read an invoice — response body — Invoice Custom Field item, Read an item — response body — Item Class Ref

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.