# Create a lease Create a lease in draft state Endpoint: POST /api/tenant/{tenantId_path}/lease/create Version: v1 ## Path parameters: - `tenantId_path` (string, required) ## Request fields (application/json-patch+json): - `buildingId` (string) - `canHaveDifferentInvoicingElementBankAccount` (boolean) - `durationType` (integer) Enum: 1, 2, 3 - `durationValue` (integer) - `effectiveDate` (string) - `invoicingEntityId` (string) - `invoicingEntityType` (integer) Enum: 1, 2 - `isTacitRenewal` (boolean) - `label` (string) - `leaseTerm` (integer,null) Enum: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 - `leaseType` (integer) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 - `legalOwnerBankAccountId` (string,null) - `lots` (array) - `lots.endAt` (string,null) - `lots.startAt` (string) - `lots.lotId` (string) - `number` (string) - `origin` (integer) Enum: 1, 2, 3, 4, 5, 6, 7, 8 - `premisesNature` (integer,null) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 - `premisesUsage` (integer) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 - `priorNotice` (integer) - `billingStartDateInBazimo` (string,null) - `renterId` (string) - `taxSystem` (integer,null) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 100, 110, 120, 150, 200, 205, 208, 210, 900, 910 - `invoiceNote` (string,null) - `billedSurface` (number,null) ## Response 200 fields (text/plain): - `id` (string) ## Response 400 fields (text/plain): - `error` (string)