v49

latestOpenAPI 3.0.0raw.githubusercontent.com2024-12-22168107389.8 KB
accounting/attachments

Create Attachments

Create attachments in any supported Accounting software

post/accounting/attachments

Query parameters

remote_databoolean

Set to true to include data from the original Accounting software.

Headers

x-connection-tokenstring required

The connection token

Request body

file_namestring nullable

The name of the attached file

file_urlstring nullable

The URL where the file can be accessed

account_idstring nullable

The UUID of the associated account

field_mappingsobject nullable

The custom field mappings of the object between the remote 3rd party & Panora

Example request

{
  "file_name": "invoice.pdf",
  "file_url": "https://example.com/files/invoice.pdf",
  "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "field_mappings": {
    "custom_field_1": "value1",
    "custom_field_2": "value2"
  }
}

Response

file_namestring nullable

The name of the attached file

file_urlstring nullable

The URL where the file can be accessed

account_idstring nullable

The UUID of the associated account

field_mappingsobject nullable

The custom field mappings of the object between the remote 3rd party & Panora

idstring nullable

The UUID of the attachment record

remote_idstring nullable

The remote ID of the attachment in the context of the 3rd Party

remote_dataobject nullable

The remote data of the attachment in the context of the 3rd Party

created_atstring date-time nullable

The created date of the attachment record

modified_atstring date-time nullable

The last modified date of the attachment record

Example response

{
  "file_name": "invoice.pdf",
  "file_url": "https://example.com/files/invoice.pdf",
  "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "field_mappings": {
    "custom_field_1": "value1",
    "custom_field_2": "value2"
  },
  "id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "remote_id": "attachment_1234",
  "remote_data": {
    "raw_data": {
      "additional_field": "some value"
    }
  },
  "created_at": "2024-06-15T12:00:00Z",
  "modified_at": "2024-06-15T12:00:00Z"
}