> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.quickbooks.accounting.DeleteBill

- Component: `appmixer.quickbooks.accounting.DeleteBill`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.quickbooks 1.10.2](https://connectors.appmixer.com/connector/appmixer.quickbooks/1.10.2.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.quickbooks/1.10.2/component/appmixer.quickbooks.accounting.DeleteBill>

This operation deletes the bill object specified in the request body. Include a minimum of Bill.Id and Bill.SyncToken in the request body. You must unlink any linked transactions associated with the bill object before deleting it.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Bill ID (`billId`) | text | - |
| Minor Version (`minorVersion`) | number | Minor version of the request. Note: Versions below 75 are ignored and will default to version 75. Use version 75 or higher for current features. See the [docs](https://developer.intuit.com/app/developer/qbo/docs/learn/explore-the-quickbooks-online-api/minor-versions) for more details. |
| Sync Token (`syncToken`) | number | Sync token of the bill object. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| `domain` | string | - |
| `status` | string | - |
| `Id` | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.quickbooks.accounting.DeleteBill",
  "author": "Jiří Hofman <jirka@client.io>",
  "description": "This operation deletes the bill object specified in the request body. Include a minimum of Bill.Id and Bill.SyncToken in the request body. You must unlink any linked transactions associated with the bill object before deleting it.",
  "auth": {
    "service": "appmixer:quickbooks",
    "scope": [
      "com.intuit.quickbooks.accounting",
      "openid",
      "profile",
      "email",
      "phone",
      "address"
    ]
  },
  "inPorts": [
    {
      "name": "in",
      "inspector": {
        "inputs": {
          "billId": {
            "type": "text",
            "index": 1,
            "label": "Bill ID"
          },
          "minorVersion": {
            "type": "number",
            "index": 2,
            "label": "Minor Version",
            "defaultValue": 75,
            "tooltip": "Minor version of the request. Note: Versions below 75 are ignored and will default to version 75. Use version 75 or higher for current features. See the <a target='_blank' rel='noopener noreferrer' href='https://developer.intuit.com/app/developer/qbo/docs/learn/explore-the-quickbooks-online-api/minor-versions'>docs</a> for more details."
          },
          "syncToken": {
            "type": "number",
            "index": 3,
            "label": "Sync Token",
            "tooltip": "Sync token of the bill object."
          }
        }
      },
      "schema": {
        "type": "object",
        "properties": {
          "billId": {
            "type": "string"
          },
          "minorVersion": {
            "type": "number"
          },
          "syncToken": {
            "type": "number"
          }
        },
        "required": [
          "billId",
          "syncToken"
        ]
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "domain",
          "value": "domain",
          "schema": {
            "type": "string",
            "example": "QBO"
          }
        },
        {
          "label": "status",
          "value": "status",
          "schema": {
            "type": "string",
            "example": "Deleted"
          }
        },
        {
          "label": "Id",
          "value": "Id",
          "schema": {
            "type": "string",
            "example": "108"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
