# ConvertToDraft

**Kind:** API Endpoint

**Source:** `Pams/API/Pams.API/Controllers/Sales/UpcomingPrincipalInvoiceController.cs` (line 52)

**Part of:** [Pams](subsystem-pams)

## Endpoint

`PUT `

| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| `invoiceId` | query | `long` | ✓ |  |

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Declared in (1)

- `UpcomingPrincipalInvoiceController` — `Pams/API/Pams.API/Controllers/Sales/UpcomingPrincipalInvoiceController.cs`:12

### Imported by (1)

- `UpcomingInvoiceController` — `Pams/API/Pams.API/Controllers/Sales/UpcomingInvoiceController.cs`:13
