# Create a new receipt Create a new receipt for a specific building Endpoint: POST /api/tenant/{tenantId_path}/receipts/createReceipt Version: v1 ## Path parameters: - `tenantId_path` (string, required) ## Request fields (application/json-patch+json): - `label` (string) - `settledOn` (string) - `paymentMethod` (integer) Enum: 1, 2, 3 - `paymentReference` (string,null) - `comment` (string,null) - `amountByLeaseId` (array) - `amountByLeaseId.leaseId` (string) - `amountByLeaseId.amount` (number) ## Response 200 fields (text/plain): - `id` (string) ## Response 400 fields (text/plain): - `error` (string)