{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rutter/json-schema/rutter-create-create-bill-credit-unapplication-request-schema.json",
  "title": "CreateCreateBillCreditUnapplicationRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rutter-accounting-api-openapi.yml#/components/schemas/CreateCreateBillCreditUnapplicationRequest",
  "type": "object",
  "properties": {
    "response_mode": {
      "type": "string",
      "enum": [
        "async",
        "prefer_sync"
      ],
      "description": "The response mode for our async endpoints. `prefer_sync` allows calling the API in a best-effort, synchronous fashion and wait for the response. If this takes too long we will instead return the asynchronous response. This is the default behavior. `async` makes the API respond with the asynchronous response. See [Asynchronous Operations](/rest/version/basics#asynchronous-operations)."
    },
    "bill_credit_unapplication": {
      "$ref": "#/$defs/CreateBillCreditUnapplication"
    }
  },
  "required": [
    "bill_credit_unapplication"
  ],
  "$defs": {
    "CreateBillCreditUnapplication": {
      "type": "object",
      "properties": {
        "bill_credit_memo_id": {
          "type": "string",
          "format": "uuid",
          "description": "The Rutter ID of the [Bill Credit Memo](/rest/version/bill-credit-memos) linked to the bill.",
          "x-rutter-platforms": {
            "SAGE_INTACCT_V2": {}
          }
        },
        "bill_id": {
          "type": "string",
          "format": "uuid",
          "description": "The Rutter ID of the [Bill](/rest/version/bill) linked to the bill credit memo.",
          "x-rutter-platforms": {
            "SAGE_INTACCT_V2": {}
          }
        }
      },
      "required": [
        "bill_credit_memo_id",
        "bill_id"
      ]
    }
  }
}