---
title: "Parses a text and replaces all placeholders"
method: POST
path: "/api/v1/orders/{id}/parse-placeholders"
tags: ["Orders"]
---

# Parses a text and replaces all placeholders

`POST /api/v1/orders/{id}/parse-placeholders`

## Path parameters

- `id` integer, required

## Request body

- RechnungsdruckWebAppControllersApiOrderApiControllerParseTextContainer
  - `TextToParse` string — The text to parse and replace the placeholders in.
  - `IsHtml` boolean — If true, the string will be handled as html.
  - `Language` string — The ISO 639-1 code of the target language. Using default if not set.
  - `Trim` boolean — If true, then the placeholder values are trimmed after usage.

## Response `200`

OK

- object

---

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