Receivables

Cancel a Receivable

Changed on

Cancel an Receivable. For full details on when you can cancel Receivables, see our help docs.

post/v1/receivables/{id}/cancel

Request

Path parameters

idstring uuid required
Example:8c581d79-bb84-4bc1-b1c5-8c073264a569

The ID for the resource being accessed.

Request body

acting_team_memberstring uuid required

The TeamMember ID performing this action. This will be displayed in the Routable Dashboard and also used in any emails sent as a result of this cancellation.

cancel_in_accounting_softwareboolean

Determines whether to post this action in your accounting software (true) or Routable only (false).

Response

OK

OR

Example response

{
  "created_at": "2021-05-15T03:49:53.299680+00:00",
  "deposit_into_account": {
    "type_details": {
      "primary_color": "#0075a3"
    }
  },
  "send_on": "2022-11-26"
}

Changes

    • breaking

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

    • warning

      added the new GHS enum value to the //////////// response property for the response status

    • warning

      added the new GHS enum value to the //////////// response property for the response status

    • warning

      added the new GHS enum value to the //////////// response property for the response status

    • warning

      added the new GHS enum value to the //////////////// response property for the response status

    • warning

      added the new GHS enum value to the //////////////// response property for the response status

    • warning

      added the new GHS enum value to the //////////////// response property for the response status

    • warning

      added the new MOP enum value to the //////////// response property for the response status

    • warning

      added the new MOP enum value to the //////////// response property for the response status

    • warning

      added the new MOP enum value to the //////////// response property for the response status

    • warning

      added the new MOP enum value to the //////////////// response property for the response status

    • warning

      added the new MOP enum value to the //////////////// response property for the response status

    • warning

      added the new MOP enum value to the //////////////// response property for the response status

    • info

      removed the new enum value from the //////// response property for the response status

    • info

      removed the new enum value from the //////////// response property for the response status

    • info

      added the required property /////////////// to the response with the status