AccountingAttachment
object is used to represent a company's attachments.id
Stringremote_id
Stringfile_name
Stringfile_url
Stringcompany
Stringremote_was_deleted
Booleancreated_at
Stringmodified_at
Stringfield_mappings
Objectremote_data
RemoteData[]{"id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4","remote_id": "1018270","file_name": "invoice.png","file_url": "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png","company": "595c8f97-2ac4-45b7-b000-41bdf43240b5","remote_was_deleted": true,"created_at": "2021-09-15T00:00:00Z","modified_at": "2021-10-16T00:00:00Z",Show advanced fields}
https://api.merge.dev/api/accounting/v1/attachments
Returns a list of AccountingAttachment
objects.
Authorization
StringX-Account-Token
Stringcompany_id
Stringcreated_after
Stringcreated_before
Stringcursor
Stringinclude_deleted_data
Booleaninclude_remote_data
Booleanmodified_after
Stringmodified_before
Stringpage_size
Integerremote_id
String{"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results": [{"id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4","remote_id": "1018270","file_name": "invoice.png","file_url": "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png","company": "595c8f97-2ac4-45b7-b000-41bdf43240b5","remote_was_deleted": true,"created_at": "2021-09-15T00:00:00Z","modified_at": "2021-10-16T00:00:00Z",Show advanced fields}]}

Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringfile_url
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringfile_url
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringhttps://api.merge.dev/api/accounting/v1/attachments
Creates an AccountingAttachment
object with the given values.
Authorization
StringX-Account-Token
Stringis_debug_mode
Booleanrun_async
Booleanmodel
Objectfile_name
Stringfile_url
Stringcompany
Stringid
field in the Company object.integration_params
Objectlinked_account_params
Object{"model": {"file_name": "invoice.png","file_url": "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png","company": "595c8f97-2ac4-45b7-b000-41bdf43240b5"}}
{"model": {"id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4","remote_id": "1018270","file_name": "invoice.png","file_url": "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png","company": "595c8f97-2ac4-45b7-b000-41bdf43240b5","remote_was_deleted": true,"created_at": "2021-09-15T00:00:00Z","modified_at": "2021-10-16T00:00:00Z",Show advanced fields}}

Merge supports Passthrough Requests to this platform's API
Supported POST Model Parameters
file_name
Stringfile_url
Stringremote_id
StringAdditional POST Parameters
integration_params
Objectfile_type
Stringtransaction_merge_id
Stringtransaction_type
String
Merge supports Passthrough Requests to this platform's API
Supported POST Model Parameters
file_name
Stringfile_url
Stringremote_id
StringAdditional POST Parameters
integration_params
Objecttransaction
Stringtransaction_name
String

https://api.merge.dev/api/accounting/v1/attachments/{id}
Returns an AccountingAttachment
object with the given id
.
Authorization
StringX-Account-Token
Stringid
Stringinclude_remote_data
Boolean{"id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4","remote_id": "1018270","file_name": "invoice.png","file_url": "https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png","company": "595c8f97-2ac4-45b7-b000-41bdf43240b5","remote_was_deleted": true,"created_at": "2021-09-15T00:00:00Z","modified_at": "2021-10-16T00:00:00Z",Show advanced fields}

Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringfile_url
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringfile_url
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringhttps://api.merge.dev/api/accounting/v1/attachments/meta/post
Returns metadata for AccountingAttachment
POSTs.
Authorization
StringX-Account-Token
String{"request_schema": {},"remote_field_classes": {},"status": {"linked_account_status": "COMPLETE","can_make_request": true},"has_conditional_params": true,"has_required_linked_account_params": true}

Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringfile_url
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String
Merge supports Passthrough Requests to this platform's API
Supported Response Fields
file_name
Stringfile_url
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
String