Get details of deleted sales invoice
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET /api-v1/sales-invoice/{id}/deleted
curl \
-X GET http://10.10.10.132/api-v1/sales-invoice/{id}/deleted \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"accrualEntriesAmount": 42,
"accrualFrom": "string",
"accrualTo": "string",
"address": {
"city": "string",
"countryCode2": "string",
"countryId": 42,
"houseNumber": "string",
"id": 42,
"line1": "string",
"line2": "string",
"name": "string",
"position": 42,
"postCode": "string",
"readOnly": true,
"region": {
"code": "string",
"id": 42,
"name": "string",
"taxMode": "ANNUALLY"
},
"service": "string",
"toTheAttentionOf": "string"
},
"bvrGenerationAvailability": true,
"canEditProformaFlag": true,
"clientAddressId": 42,
"clientAddressName": "string",
"clientId": 42,
"clientName": "string",
"comments": "string",
"currencyId": 42,
"date": "string",
"description": "string",
"endDate": "string",
"excludedFromVat": true,
"id": 42,
"invoiceLines": [
{
"allocationKey": "string",
"appliedAllocationRules": [
"string"
],
"articleId": 42,
"articleName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"departmentId": 42,
"departmentName": "string",
"description": "string",
"discount": 42.0,
"fixedAssetId": 42,
"fixedAssetName": "string",
"id": 42,
"isArticleShipped": true,
"lineType": "ARTICLE",
"longDescription": "string",
"netUnitPrice": 42.0,
"officeId": 42,
"officeName": "string",
"quantity": 42.0,
"saleAccountId": 42,
"saleAccountName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"tempId": 42,
"totalNet": 42.0,
"totalPrice": 42.0,
"vat": 42.0,
"vatRateId": 42,
"vatTypeCodeId": 42
}
],
"invoiceLinesLayout": [
{
"children": [
{}
],
"id": 42,
"lineType": "ARTICLE",
"name": "string",
"parentId": 42,
"position": 42,
"salesInvoiceLineId": 42,
"sourceOrderId": 42
}
],
"isContainsFixedAsset": true,
"isFromLockedAccountingPeriod": true,
"journalEntryId": 42,
"number": "string",
"ourContactId": 42,
"ourContactName": "string",
"payments": [
{
"bankCharges": "string",
"id": 42,
"isFromLockedAccountingPeriod": true,
"lossOnDebtors": "string",
"overdueDate": "string",
"paidAmount": "string",
"qrBillData": "string",
"qrReferenceNumber": "string",
"receivableByAccountId": 42,
"receivableByAccountName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"requestedAmount": "string",
"requestedDate": "string",
"sentDate": "string",
"valueDate": "string"
}
],
"proforma": true,
"qrGenerationAvailability": true,
"realValidated": true,
"receivableAccountId": 42,
"receivableAccountName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"reference": "string",
"shipments": [
{
"articleId": 42,
"articleIdSku": "string",
"articleName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"currencyCode": "string",
"generatedStockMovementId": 42,
"id": 42,
"orderArticleId": 42,
"quantity": "string",
"salesInvoiceLineId": 42,
"shipmentDate": "string",
"totalCost": 42.0
}
],
"sourceOrderId": 42,
"sourceSubOrderId": 42,
"startDate": "string",
"systemValidated": true,
"timesheetInfoItems": [
{
"billableAmount": "string",
"billableRate": "string",
"date": "string",
"description": "string",
"employeeContactId": 42,
"employeeTaskId": 42,
"id": 42,
"originalTimesheetId": 42,
"time": "string"
}
],
"validated": true,
"validatorUserIds": [
42
],
"validatorUserIdsSize": 42,
"vatTypeCodeId": 42,
"warnings": "string",
"yourContactId": 42,
"yourContactName": "string",
"yourReference": "string"
}