# Supplier invoices (SupplierInvoiceInbox) · Booki

> Incoming supplier invoices with extracted fields. An agent corrects and codes them; a person approves. Duplicates are named.

Source: https://booki.dev/docs/supplier-invoice-inbox

Invoices and expenses

# Supplier invoices

`SupplierInvoiceInbox`

Incoming supplier invoices with extracted fields. An agent corrects and codes them; a person approves. Duplicates are named.

The person sees

Loading preview…

Bridge demo

```
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
  "@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"
```

## Try the bridge

Open this page in a browser and run the example in the console with a fresh preview. Read the current ref from the snapshot before acting.

```javascript
const { agent } = window
const entry = agent.snapshot().filter(
  (entry) => !entry.offPage && entry.component === "supplier-invoice-inbox",
)[0]
const result = await agent.act({
  steps: [{
    ref: entry.ref,
    action: "correctField",
    args: ["si-2","grossMinor",438000],
  }],
})
console.log(result.ok) // true
```

Corrected the gross on Brattli's invoice to NOK 4,380.00.

Import from `@booki-aui/react`. For Booki's default styling, add `import "@booki-aui/styles"`.
