---
title: "The NetSuite records a posting would send"
method: GET
path: "/v1/ap/netsuite/preview"
tags: ["Accounts Payable"]
---

# The NetSuite records a posting would send

`GET /v1/ap/netsuite/preview`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/ap/netsuite/preview`
- Auth: HTTP bearer

The REST Record API `vendorBill` bodies for the bills a run would post, and the bills it leaves out with the reason. The adapter is simulated; nothing is sent to NetSuite. Duplicate bills are never included, held bills only with `include_held`. Bills whose entity posts to another system, or whose entity has no NetSuite subsidiary, are skipped.

## Query parameters

- `include_held` '1' | 'true'
- `entity` string

## Response `200`

The preview.

- ApNetSuitePreview
  - `adapter` object
    - `name` 'NetSuite'
    - `mode` 'simulated_sandbox'
    - `account` string
  - `include_held` boolean
  - `records` object[]
    - `bill_key` string
    - `method` 'POST'
    - `path` string: `/services/rest/record/v1/vendorBill`.
    - `body` object: The REST Record API `vendorBill` body.
  - `skipped` ApNsSkip[]
    - `bill_key` string
    - `invoice_number` string
    - `vendor` string
    - `reason` string
  - `totals` object
    - `records` integer
    - `amount` number
    - `held_on_payment_hold` integer

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/ap/netsuite/preview/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
