Bill
Bill Payments

POST /bills/payments

Changed on

Creates an individual bill payment for a business.

Request

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

Request body

Example request

{
  "connection": {
    "businessName": "Railz",
    "serviceName": "quickbooks"
  },
  "data": {
    "currencyRate": 1.13,
    "memo": "Bill payment memo.",
    "date": "2021-03-29",
    "locationRef": "3",
    "totalAmount": 200.5,
    "trackingCategoryRef": "23118",
    "accountRef": "132",
    "vendorRef": "250",
    "billRef": "250",
    "currency": "CAD",
    "lines": [
      {
        "memo": "Sample memo for transaction",
        "billRef": "3n2"
      }
    ],
    "subsidiaryRefs": [
      "4"
    ]
  }
}

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": {
    "currencyRate": 1.13,
    "memo": "Bill payment memo.",
    "date": "2021-03-29",
    "locationRef": "3",
    "totalAmount": 200.5,
    "trackingCategoryRef": "23118",
    "accountRef": "132",
    "vendorRef": "250",
    "billRef": "250",
    "currency": "CAD",
    "lines": [
      {
        "memo": "Sample memo for transaction",
        "billRef": "3n2"
      }
    ],
    "subsidiaryRefs": [
      "4"
    ]
  }
}

Changes

    • info

      api tag Bill added

    • breaking

      the / request property format changed from date-time to date

    • breaking

      the response property ///// became optional for the status

    • breaking

      the response property ///// became optional for the status

    • breaking

      the response property /////// became optional for the status

    • 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

      the request property / became optional

    • info

      the request property / became optional

    • info

      the request property /// became optional

    • info

      added the new byod enum value to the request property /

    • info

      added the new dynamics365Finance enum value to the request property /

    • info

      added the new zohoBooks enum value to the request property /

    • info

      request property / reactivated

    • info

      the / request property format was generalized from uuid to no format

    • info

      response property data/allOf[PushBillPayment]/totalAmount reactivated