> For the complete documentation index, see [llms.txt](https://timechain.gitbook.io/neucron-javascript-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://timechain.gitbook.io/neucron-javascript-sdk/payments-and-operations/bills.md).

# Bills

Accessor: `sdk.bill`

Create, review, confirm, pay, and map vendor bills to payouts.

## Method surface

| Method                              | Purpose                |
| ----------------------------------- | ---------------------- |
| `sdk.bill.createBill()`             | createBill             |
| `sdk.bill.updateBill()`             | updateBill             |
| `sdk.bill.getBill()`                | getBill                |
| `sdk.bill.listBills()`              | listBills              |
| `sdk.bill.reviewBill()`             | reviewBill             |
| `sdk.bill.confirmBill()`            | confirmBill            |
| `sdk.bill.payBill()`                | payBill                |
| `sdk.bill.mapBillToPayout()`        | mapBillToPayout        |
| `sdk.bill.acceptVendorInvitation()` | acceptVendorInvitation |

## Basic usage

```typescript
import NeucronSDK from '@timechainlabs/neucron-ts-sdk';

const sdk = new NeucronSDK({ authToken: process.env.NEUCRON_TOKEN });

// Use sdk.bill methods after authentication.
```

## Notes

* Methods return `Promise<HttpResponse<T>>` unless they are local helpers such as token getters/setters.
* Authenticate with `sdk.auth.login()` or initialize with `authToken` before protected calls.
* Pass `businessId` on business-scoped operations; constructor-level `businessId` is typed but not applied globally.
* Request and response schemas are exported from `@timechainlabs/neucron-ts-sdk` and `@timechainlabs/neucron-ts-sdk/schemas`.
