QuickBooks: Attachable schemas
4 QuickBooks schemas with complete fields and constraints.
← Attachable operations · All schemas
Delete an attachable — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
AttachableRef | array | Optional | Specifies the transaction object to which this attachable file is to be linked. |
AttachableRef[] | Model | Each item | Expand Delete an attachable — request body — body Attachable Ref item |
Category | string | Optional | Category of the attachment. Valid values include (case sensitive): Contact Photo , Document , Image , Receipt , Signature , Sound , Other . |
ContentType | string | Optional | ContentType of the attachment. Returned for file attachments. |
FileAccessUri | string | Optional | FullPath FileAccess URI of the attachment. Returned for file attachments. Read only: true |
FileName | string | Optional | FileName of the attachment. Required for file attachments. Conditionally required |
Id | string | Required within parent | |
Lat | string | Optional | Latitude from where the attachment was requested. |
Long | string | Optional | Longitude from where the attachment was requested. |
MetaData | Model | Optional | Expand 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. |
Note | string | Optional | This note is either related to the attachment specified by FileName or is a standalone note. Required for standalone notes. Conditionally required |
PlaceName | string | Optional | PlaceName from where the attachment was requested. |
Size | JSON | Optional | Size of the attachment. Returned for file attachments. Decimal string Read only: true |
Size (anyOf 1) | number | Alternative | |
Size (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
SyncToken | string | Required within parent | |
Tag | string | Optional | Tag name for the requested attachment. |
TempDownloadUri | string | Optional | TempDownload URI which can be directly downloaded by clients. Returned for file attachments. Read only: true |
ThumbnailFileAccessUri | string | Optional | FullPath 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 |
ThumbnailTempDownloadUri | string | Optional | Thumbnail 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 |
domain | string | Optional | |
sparse | boolean | Optional |
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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
CustomField | array | Optional | If the user tries to fetch a record without permission, the permission denied message is conveyed through this field. |
CustomField[] | Model | Each item | Expand Void an invoice — request body — body Custom Field item |
EntityRef | Model | Optional | Expand 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. |
Inactive | JSON | Optional | Indicates 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) | boolean | Alternative | |
Inactive (anyOf 2) | string | Alternative | One of: true, false |
IncludeOnSend | JSON | Optional | Used 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) | boolean | Alternative | |
IncludeOnSend (anyOf 2) | string | Alternative | One of: true, false |
LineInfo | string | Optional | For transaction objects, used to reference a transaction detail line. |
NoRefOnly | JSON | Optional | Indicates 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) | boolean | Alternative | |
NoRefOnly (anyOf 2) | string | Alternative | One 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AttachableRef | array | Optional | Specifies the transaction object to which this attachable file is to be linked. |
AttachableRef[] | Model | Each item | Expand Read an attachable — response body — Attachable Attachable Ref item |
Category | string | Optional | Category of the attachment. Valid values include (case sensitive): Contact Photo , Document , Image , Receipt , Signature , Sound , Other . |
ContentType | string | Optional | ContentType of the attachment. Returned for file attachments. |
FileAccessUri | string | Optional | FullPath FileAccess URI of the attachment. Returned for file attachments. Read only: true |
FileName | string | Optional | FileName of the attachment. Required for file attachments. Conditionally required |
Id | string | Optional | Unique Identifier for an Intuit entity (object). Required for the update operation. Read only: true |
Lat | string | Optional | Latitude from where the attachment was requested. |
Long | string | Optional | Longitude from where the attachment was requested. |
MetaData | Model | Optional | Expand 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. |
Note | string | Optional | This note is either related to the attachment specified by FileName or is a standalone note. Required for standalone notes. Conditionally required |
PlaceName | string | Optional | PlaceName from where the attachment was requested. |
Size | JSON | Optional | Size of the attachment. Returned for file attachments. Decimal string Read only: true |
Size (anyOf 1) | JSON | Alternative | |
Size (anyOf 1) (anyOf 1) | number | Alternative | |
Size (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Size (anyOf 2) | string | Alternative | |
SyncToken | string | Optional | Version 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 |
Tag | string | Optional | Tag name for the requested attachment. |
TempDownloadUri | string | Optional | TempDownload URI which can be directly downloaded by clients. Returned for file attachments. Read only: true |
ThumbnailFileAccessUri | string | Optional | FullPath 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 |
ThumbnailTempDownloadUri | string | Optional | Thumbnail 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
CustomField | array | Optional | If the user tries to fetch a record without permission, the permission denied message is conveyed through this field. |
CustomField[] | Model | Each item | Expand Read an invoice — response body — Invoice Custom Field item |
EntityRef | Model | Optional | Expand 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. |
Inactive | JSON | Optional | Indicates 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) | boolean | Alternative | |
Inactive (anyOf 2) | string | Alternative | Known values: true, false |
IncludeOnSend | JSON | Optional | Used 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) | boolean | Alternative | |
IncludeOnSend (anyOf 2) | string | Alternative | Known values: true, false |
LineInfo | string | Optional | For transaction objects, used to reference a transaction detail line. |
NoRefOnly | JSON | Optional | Indicates 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) | boolean | Alternative | |
NoRefOnly (anyOf 2) | string | Alternative | Known values: true, false |
Referenced models: Read an invoice — response body — Invoice Custom Field item, Read an item — response body — Item Class Ref