Returns the statement and its lines (read only), or 204 when the invoice is not a card statement.
GET
/api-v1/card-statements/purchase-invoice/{purchaseInvoiceId}
curl \
--request GET 'https://wyzio.app/api-v1/card-statements/purchase-invoice/{purchaseInvoiceId}'
Response examples (200)
{
"id": 42,
"purchaseInvoiceScanId": 42,
"purchaseInvoiceId": 42,
"issuerContactId": 42,
"extractionStatus": "PENDING",
"extractionMessage": "string",
"statementTotal": 42.0,
"periodFrom": "2026-05-04T09:42:00Z",
"periodTo": "2026-05-04T09:42:00Z",
"linesTotal": 42.0,
"compensationTotal": 42.0,
"awaitingExpenseCount": 42,
"readOnly": true,
"lines": [
{
"id": 42,
"position": 42,
"transactionDate": "2026-05-04T09:42:00Z",
"bookingDate": "2026-05-04T09:42:00Z",
"merchant": "string",
"description": "string",
"amount": 42.0,
"originalCurrency": "string",
"originalAmount": 42.0,
"cardLastDigits": "string",
"companyCardId": 42,
"lineType": "PURCHASE",
"status": "AWAITING_EXPENSE",
"chartOfAccountsId": 42,
"departmentId": 42,
"vatType": "NO_VAT",
"vatTypeCodeId": 42,
"vatRateId": 42,
"receiptDocumentFileId": 42,
"expenseId": 42,
"isManual": true,
"holderContactId": 42,
"holderName": "string"
}
]
}