# Get details of purchase invoice **GET /api-v1/purchase-invoice/{id}** ## Servers - Generated server url: https://wyzio.app (Generated server url) ## Parameters ### Headers - **WEAL-TOKEN** (string) API token (can be retrieved from account settings) - **TARGET-ORGANIZATION-ID** (integer) ID of organization, for which the operation must be performed ### Path parameters - **id** (integer) ## Responses ### 200 OK #### Body: application/json (object) - **id** (integer) - **journalEntryId** (integer) - **organizationId** (integer) - **date** (string) - **supplierId** (integer) - **currencyId** (integer) - **reference** (string) - **description** (string) - **comment** (string) - **validated** (boolean) - **vatType** (string) - **vatTypeCodeId** (integer) - **paymentAccountId** (integer) - **amounts** (array[object]) - **attributions** (array[object]) - **payments** (array[object]) - **warnings** (string) - **isFromLockedAccountingPeriod** (boolean) - **accrualEntriesAmount** (integer(int32)) - **isDraft** (boolean) - **validatorUserIdsSize** (integer) - **validatorUserIds** (array[integer(int32)]) - **realValidated** (boolean) - **systemValidated** (boolean) - **isContainsSoldFixedAsset** (boolean) ### 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)