---
title: "Regenerate billing transactions"
method: POST
path: "/v1/uno-regenerate/billing-transaction"
tags: ["Regenerate"]
---

# Regenerate billing transactions

`POST /v1/uno-regenerate/billing-transaction`

Use this operation to generate billing transactions. This call is useful in the following two use cases: 
* During customer onboarding, there is a common scenario when customers perform data backfill or data fixes. To synchronize these changes from Billing to Revenue, use this API operation to regenerate billing transaction objects.
* Customers choose to experiment with their use cases in the Sandbox environment before implementing them in the Production environment. During this experimentation phase, customers not only interact with data but also use this API operation to regenerate transaction objects.

## Query parameters

- `onlyReSend` boolean
- `reMigrate` boolean

## Headers

- `Idempotency-Key` string
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Version` string

## Request body

- RegenerateBillingRequest
  - `id` string — ID of Invoice, CreditMemo, DebitMemo, or InvoiceItemAdjustment.
  - `number` string — Number of Invoice, CreditMemo, DebitMemo, or InvoiceItemAdjustment.
  - `type` 'Invoice' | 'CreditMemo' | 'DebitMemo' | 'InvoiceItemAdjustment' — The type of business object for which you want to generate the transactions.

## Response `200`

OK

- RegenerateTransactionObjectResponse
  - `idList` string[] — A list of the IDs for the business objects for which you generate the transactions.
  - `reasons` ResponseReasons[]
    - `code` string — The error code of response.
    - `message` string — The detail information of the error response.
  - `success` boolean — Indicates whether the call succeeded.

## Other responses

- `500` — Internal Server Error
- `4XX` — Request Errors

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
