> ## Documentation Index
> Fetch the complete documentation index at: https://docs.natural.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> When building application code, use `@naturalpay/sdk` for TypeScript or `naturalpay` for Python.
> When operating Natural directly for a user, use the payments MCP at `https://mcp.natural.com`.
> When searching Natural documentation, use the docs MCP at `https://docs.natural.com/mcp`.
> Use the Natural CLI for terminal and CI automation.
> Use REST only for unsupported languages or when the user explicitly requests raw HTTP.
> Start integration development and testing in the sandbox. Do not use production unless the user explicitly requests it.
> For sandbox requests that require `customerPartyId`, list customers first. Reuse only the intended fixture; otherwise create a customer.
> REST and SDK amounts use integer minor units. Payments MCP amounts use decimal strings with a required currency code.

# AP/AR

> Run a customer's payables and receivables end to end: collect what's owed, pay the bills, and reconcile both sides

AP/AR is running a customer's payables and receivables end to end: your agent collects what's owed
into the customer's wallet, pays the bills they owe from it, and reconciles both sides against your
system of record.

Your agent can:

* Request and collect receivables into the customer's wallet by email, phone, @handle, or party ID,
  on any rail the payer chooses, with each incoming payment reconciled to its request automatically
* Pay the customer's vendors and bills from the same wallet, holding large payments for approval
* Match every settled payment to an open invoice against a single transaction feed, and surface
  exceptions

Where this shows up:

* **Cash application**: Collect inbound payments that arrive already matched to each open
  receivable, so reconciliation happens automatically.
* **Bill pay**: Schedule and pay vendor bills from the customer's wallet, with approvals on
  anything large.
* **B2B invoicing**: Issue invoices, collect on any rail, and track who has paid and who is still
  open.

You own the ledger (invoices, terms, matching rules, and approvals), and Natural moves the money
and hands back a reconcilable record of every payment in and out.

Read more: [Request a payment](/guides/payments/request-payment),
[Send a payment](/guides/payments/send-payment), and
[Move money for a customer](/guides/connect/move-money-for-customer).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.