> 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.GetBill

- Component: `appmixer.quickbooks.accounting.GetBill`
- 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.GetBill>

Retrieves the details of a bill that has been previously created.

## 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. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| `SalesTermRef` | object | - |
| `DueDate` | - | - |
| `VendorAddr` | object | - |
| `Balance` | - | - |
| `HomeBalance` | - | - |
| `domain` | - | - |
| `sparse` | - | - |
| `Id` | - | - |
| `SyncToken` | - | - |
| `MetaData` | object | - |
| `DocNumber` | - | - |
| `TxnDate` | - | - |
| `CurrencyRef` | object | - |
| `ExchangeRate` | number | - |
| `PrivateNote` | - | - |
| `LinkedTxn` | array | - |
| `Line` | array | - |
| `VendorRef` | object | - |
| `APAccountRef` | object | - |
| `DepartmentRef` | object | - |
| `TotalAmt` | - | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.quickbooks.accounting.GetBill",
  "author": "Jiří Hofman <jirka@client.io>",
  "description": "Retrieves the details of a bill that has been previously created.",
  "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."
          }
        }
      },
      "schema": {
        "type": "object",
        "properties": {
          "billId": {
            "type": "string"
          },
          "minorVersion": {
            "type": "number"
          }
        },
        "required": [
          "billId"
        ]
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "SalesTermRef",
          "value": "SalesTermRef",
          "schema": {
            "type": "object",
            "properties": {
              "value": {
                "label": "value",
                "value": "value"
              }
            },
            "example": {
              "value": "3",
              "name": "Net 30"
            }
          }
        },
        {
          "label": "DueDate",
          "value": "DueDate",
          "schema": {
            "example": "2026-02-10"
          }
        },
        {
          "label": "VendorAddr",
          "value": "VendorAddr",
          "schema": {
            "type": "object",
            "properties": {
              "value": {
                "label": "ID",
                "value": "Id"
              },
              "Line1": {
                "label": "Line1",
                "value": "Line1"
              },
              "Line2": {
                "label": "Line2",
                "value": "Line2"
              },
              "Line3": {
                "label": "Line3",
                "value": "Line3"
              },
              "Line4": {
                "label": "Line4",
                "value": "Line4"
              },
              "Line5": {
                "label": "Line5",
                "value": "Line5"
              }
            },
            "example": {
              "Line1": "789 Supplier Ave",
              "City": "Palo Alto",
              "CountrySubDivisionCode": "CA",
              "PostalCode": "94301"
            }
          }
        },
        {
          "label": "Balance",
          "value": "Balance",
          "schema": {
            "example": 0
          }
        },
        {
          "label": "HomeBalance",
          "value": "HomeBalance",
          "schema": {
            "example": 0
          }
        },
        {
          "label": "domain",
          "value": "domain",
          "schema": {
            "example": "QBO"
          }
        },
        {
          "label": "sparse",
          "value": "sparse",
          "schema": {
            "example": false
          }
        },
        {
          "label": "Id",
          "value": "Id",
          "schema": {
            "example": "250"
          }
        },
        {
          "label": "SyncToken",
          "value": "SyncToken",
          "schema": {
            "example": "3"
          }
        },
        {
          "label": "MetaData",
          "value": "MetaData",
          "schema": {
            "type": "object",
            "properties": {
              "CreateTime": {
                "label": "CreateTime",
                "value": "CreateTime"
              },
              "LastUpdatedTime": {
                "label": "LastUpdatedTime",
                "value": "LastUpdatedTime"
              },
              "LastModifiedByRef": {
                "label": "LastModifiedByRef",
                "value": "LastModifiedByRef",
                "schema": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "label": "value",
                      "value": "value"
                    }
                  }
                }
              }
            },
            "example": {
              "CreateTime": "2026-01-10T08:00:00-08:00",
              "LastUpdatedTime": "2026-01-14T16:30:00-08:00"
            }
          }
        },
        {
          "label": "DocNumber",
          "value": "DocNumber",
          "schema": {
            "example": "BILL-2026-035"
          }
        },
        {
          "label": "TxnDate",
          "value": "TxnDate",
          "schema": {
            "example": "2026-01-10"
          }
        },
        {
          "label": "CurrencyRef",
          "value": "CurrencyRef",
          "schema": {
            "type": "object",
            "properties": {
              "value": {
                "label": "value",
                "value": "value"
              },
              "name": {
                "label": "name",
                "value": "name"
              }
            },
            "example": {
              "value": "USD",
              "name": "United States Dollar"
            }
          }
        },
        {
          "label": "ExchangeRate",
          "value": "ExchangeRate",
          "schema": {
            "type": "number",
            "example": 1
          }
        },
        {
          "label": "PrivateNote",
          "value": "PrivateNote",
          "schema": {
            "example": "Cloud hosting - January"
          }
        },
        {
          "label": "LinkedTxn",
          "value": "LinkedTxn",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "TxnId": {
                  "label": "TxnId",
                  "value": "TxnId"
                },
                "TxnType": {
                  "label": "TxnType",
                  "value": "TxnType"
                },
                "TxnLineId": {
                  "label": "TxnLineId",
                  "value": "TxnLineId"
                },
                "TxnLineType": {
                  "label": "TxnLineType",
                  "value": "TxnLineType"
                }
              }
            },
            "example": [
              {
                "TxnId": "500",
                "TxnType": "BillPaymentCheck"
              }
            ]
          }
        },
        {
          "label": "Line",
          "value": "Line",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Id": {
                  "label": "Id",
                  "value": "Id"
                },
                "LineNum": {
                  "label": "LineNum",
                  "value": "LineNum"
                },
                "Description": {
                  "label": "Description",
                  "value": "Description"
                },
                "Amount": {
                  "label": "Amount",
                  "value": "Amount"
                },
                "LinkedTxn": {
                  "label": "LinkedTxn",
                  "value": "LinkedTxn",
                  "schema": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "TxnId": {
                          "label": "TxnId",
                          "value": "TxnId"
                        },
                        "TxnType": {
                          "label": "TxnType",
                          "value": "TxnType"
                        },
                        "TxnLineId": {
                          "label": "TxnLineId",
                          "value": "TxnLineId"
                        },
                        "TxnLineType": {
                          "label": "TxnLineType",
                          "value": "TxnLineType"
                        }
                      }
                    }
                  }
                },
                "DetailType": {
                  "label": "DetailType",
                  "value": "DetailType"
                },
                "AccountBasedExpenseLineDetail": {
                  "label": "AccountBasedExpenseLineDetail",
                  "value": "AccountBasedExpenseLineDetail",
                  "schema": {
                    "type": "object",
                    "properties": {
                      "AccountRef": {
                        "label": "AccountRef",
                        "value": "AccountRef",
                        "schema": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "label": "value",
                              "value": "value"
                            },
                            "name": {
                              "label": "name",
                              "value": "name"
                            }
                          }
                        }
                      },
                      "BillableStatus": {
                        "label": "BillableStatus",
                        "value": "BillableStatus"
                      },
                      "TaxCodeRef": {
                        "label": "TaxCodeRef",
                        "value": "TaxCodeRef",
                        "schema": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "label": "value",
                              "value": "value"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": [
              {
                "Amount": 2400,
                "DetailType": "AccountBasedExpenseLineDetail"
              }
            ]
          }
        },
        {
          "label": "VendorRef",
          "value": "VendorRef",
          "schema": {
            "type": "object",
            "properties": {
              "value": {
                "label": "value",
                "value": "value"
              },
              "name": {
                "label": "name",
                "value": "name"
              }
            },
            "example": {
              "value": "55",
              "name": "Cloud Hosting Provider"
            }
          }
        },
        {
          "label": "APAccountRef",
          "value": "APAccountRef",
          "schema": {
            "type": "object",
            "properties": {
              "value": {
                "label": "value",
                "value": "value"
              },
              "name": {
                "label": "name",
                "value": "name"
              }
            },
            "example": {
              "value": "33",
              "name": "Accounts Payable"
            }
          }
        },
        {
          "label": "DepartmentRef",
          "value": "DepartmentRef",
          "schema": {
            "type": "object",
            "properties": {
              "name": {
                "label": "name",
                "value": "name"
              },
              "value": {
                "label": "value",
                "value": "value"
              }
            },
            "example": {
              "value": "1",
              "name": "Operations"
            }
          }
        },
        {
          "label": "TotalAmt",
          "value": "TotalAmt",
          "schema": {
            "example": 2400
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
