---
title: "Generate advance terms"
method: POST
path: "/sellers/{seller_id}/invoices/{id}/terms/generate"
tags: ["Invoices"]
---

# Generate advance terms

`POST /sellers/{seller_id}/invoices/{id}/terms/generate`

## Path parameters

- `seller_id` string, required — An object id with prefix
- `id` string, required — An object id with prefix

## Headers

- `IdempotencyKey` string — A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See [Idempotent Requests](/docs/idempotent-requests).

## Response `200`

Successful operation

- object
  - `id` string, required — id of object (seller, invoice) associated with this payout
  - `receivable` integer, required — amount of receivable
  - `currency` string, required — currency of receivable. all amounts are in this currency.
  - `end` string, date — date on which receivable is due
  - `advance` integer, required — amount to be advanced
  - `daily_fee` integer, required — daily fee applied
  - `days` integer, required — expected number of days
  - `fee` integer — minimum fee applied upfront for this advance, calculated as days * daily fee
  - `reserve` integer — reserve amount to cover late payments, refunded when payment is received
  - `transfer` integer, required — amount to be transferred upon acceptance, calculated as advance - minimum_fee - reserve
  - `expires_at` string, date-time — terms need to be accepted before expiration, if terms have expired they can be regenerated

---

[API](https://skmtc.net/sivo/apis/sivo-advance-api.md) · [All operations](https://skmtc.net/sivo/apis/sivo-advance-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sivo/sivo-advance-api/revisions/bfbcd2bfed61/schema)
