> For the complete documentation index, see [llms.txt](https://restapi.wyzio.com/llms.txt)

# Get the card statement booked with a purchase invoice

> GET /api-v1/card-statements/purchase-invoice/{purchaseInvoiceId}
> 
> Returns the statement and its lines (read only), or 204 when the invoice is not a card statement.



## Servers
- Generated server url: https://wyzio.app (Generated server url)



## Parameters
### Headers

- **WEAL-TOKEN** ()
  API token (can be retrieved from account settings)

- **TARGET-ORGANIZATION-ID** ()
  ID of organization, for which the operation must be performed


### Path parameters

- **purchaseInvoiceId** (integer(int64))




## Responses
### 200
OK

#### Body: application/json (object)
- **id** (integer(int64))

- **purchaseInvoiceScanId** (integer(int64))

- **purchaseInvoiceId** (integer(int64))

- **issuerContactId** (integer(int64))

- **extractionStatus** (string)

- **extractionMessage** (string)

- **statementTotal** (number)

- **periodFrom** (string(date-time))

- **periodTo** (string(date-time))

- **linesTotal** (number)

- **compensationTotal** (number)

- **awaitingExpenseCount** (integer(int32))

- **readOnly** (boolean)

- **lines** (array[object])


### 400
400 Bad Request

### 401
401 Unauthorized

### 403
403 Access Denied

### 404
404 Not Found

### 500
500 Internal Server Error


[Powered by Bump.sh](https://bump.sh)
