Attachment
Attachments

POST /attachments

Changed on

Posts an individual invoice or bill attachment to a business.

Request

  • Base URL
    https://api.railz.ai
  • Auth
    HTTP bearer

Request body

filestring binary required

Example request

{
  "connection": {
    "businessName": "Railz",
    "serviceName": "quickbooks"
  },
  "data": {
    "link": {
      "type": "bill",
      "id": "133"
    }
  }
}

Response

pushCommunicationIdstring required
requestedOnstring date-time required
status'success' | 'failed' | 'pending' required
businessNamestring required
serviceName'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod' required

Example response

{
  "pushCommunicationId": "60473b57f0cdd1683ca71f60",
  "requestedOn": "2021-03-09T08:15:22.035Z",
  "status": "pending",
  "businessName": "Railz",
  "serviceName": "quickbooks",
  "data": {
    "link": {
      "type": "bill",
      "id": "133"
    }
  }
}

Changes

    • info

      api tag Attachment added

    • breaking

      the response's property format changed from uuid to no format for status

    • warning

      added the new byod enum value to the response property for the response status

    • warning

      added the new dynamics365Finance enum value to the response property for the response status

    • warning

      added the new dynamicsBusinessCentral enum value to the response property for the response status

    • warning

      added the new freshbooks enum value to the response property for the response status

    • warning

      added the new myob enum value to the response property for the response status

    • warning

      added the new oracleNetsuite enum value to the response property for the response status

    • warning

      added the new quickbooks enum value to the response property for the response status

    • warning

      added the new quickbooksDesktop enum value to the response property for the response status

    • warning

      added the new sageBusinessCloud enum value to the response property for the response status

    • warning

      added the new sageIntacct enum value to the response property for the response status

    • warning

      added the new wave enum value to the response property for the response status

    • warning

      added the new xero enum value to the response property for the response status

    • warning

      added the new zohoBooks enum value to the response property for the response status

    • info

      added the new account enum value to the request property // (media type: multipart/form-data)

    • info

      added the new account enum value to the request property // (media type: application/json)

    • info

      added the new bankTransaction enum value to the request property // (media type: multipart/form-data)

    • info

      added the new bankTransaction enum value to the request property // (media type: application/json)

    • info

      added the new bankTransfer enum value to the request property // (media type: multipart/form-data)

    • info

      added the new bankTransfer enum value to the request property // (media type: application/json)

    • info

      added the new billCreditNote enum value to the request property // (media type: multipart/form-data)

    • info

      added the new billCreditNote enum value to the request property // (media type: application/json)

    • info

      added the new billPayment enum value to the request property // (media type: multipart/form-data)

    • info

      added the new billPayment enum value to the request property // (media type: application/json)

    • info

      added the new customer enum value to the request property // (media type: multipart/form-data)

    • info

      added the new customer enum value to the request property // (media type: application/json)

    • info

      added the new deposit enum value to the request property // (media type: multipart/form-data)

    • info

      added the new deposit enum value to the request property // (media type: application/json)

    • info

      added the new dynamicsBusinessCentral enum value to the request property / (media type: multipart/form-data)

    • info

      added the new dynamicsBusinessCentral enum value to the request property / (media type: application/json)

    • info

      added the new expense enum value to the request property // (media type: multipart/form-data)

    • info

      added the new expense enum value to the request property // (media type: application/json)

    • info

      added the new freshbooks enum value to the request property / (media type: multipart/form-data)

    • info

      added the new freshbooks enum value to the request property / (media type: application/json)

    • info

      added the new inventory enum value to the request property // (media type: multipart/form-data)

    • info

      added the new inventory enum value to the request property // (media type: application/json)

    • info

      added the new invoiceCreditNote enum value to the request property // (media type: multipart/form-data)

    • info

      added the new invoiceCreditNote enum value to the request property // (media type: application/json)

    • info

      added the new invoicePayment enum value to the request property // (media type: multipart/form-data)

    • info

      added the new invoicePayment enum value to the request property // (media type: application/json)

    • info

      added the new journalEntry enum value to the request property // (media type: multipart/form-data)

    • info

      added the new journalEntry enum value to the request property // (media type: application/json)

    • info

      added the new oracleNetsuite enum value to the request property / (media type: multipart/form-data)

    • info

      added the new oracleNetsuite enum value to the request property / (media type: application/json)

    • info

      added the new purchaseOrder enum value to the request property // (media type: multipart/form-data)

    • info

      added the new purchaseOrder enum value to the request property // (media type: application/json)

    • info

      added the new sageBusinessCloud enum value to the request property / (media type: multipart/form-data)

    • info

      added the new sageBusinessCloud enum value to the request property / (media type: application/json)

    • info

      added the new sageIntacct enum value to the request property / (media type: multipart/form-data)

    • info

      added the new sageIntacct enum value to the request property / (media type: application/json)

    • info

      added the new vendor enum value to the request property // (media type: multipart/form-data)

    • info

      added the new vendor enum value to the request property // (media type: application/json)

    • info

      added the new zohoBooks enum value to the request property / (media type: multipart/form-data)

    • info

      added the new zohoBooks enum value to the request property / (media type: application/json)

    • info

      the / request property format was generalized from uuid to no format (media type: multipart/form-data)

    • info

      the / request property format was generalized from uuid to no format (media type: application/json)

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status