Get details of deleted sales invoice

GET /api-v1/sales-invoice/{id}/deleted

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • accrualEntriesAmount integer(int32)
    • accrualFrom string
    • accrualTo string
    • address object
      Hide address attributes Show address attributes object
      • city string
      • countryCode2 string
      • countryId integer
      • houseNumber string
      • id integer
      • line1 string
      • line2 string
      • name string
      • position integer(int32)
      • postCode string
      • readOnly boolean
      • region object
        Hide region attributes Show region attributes object
        • code string
        • id integer
        • name string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • service string
      • toTheAttentionOf string
    • bvrGenerationAvailability boolean
    • canEditProformaFlag boolean
    • clientAddressId integer
    • clientAddressName string
    • clientId integer
    • clientName string
    • comments string
    • currencyId integer
    • date string
    • description string
    • endDate string
    • excludedFromVat boolean
    • id integer
    • invoiceLines array[object]
      Hide invoiceLines attributes Show invoiceLines attributes object
      • allocationKey string
      • appliedAllocationRules array[string]
      • articleId integer
      • articleName object
        Hide articleName attributes Show articleName attributes object
        • de string
        • en string
        • fr string
        • it string
      • departmentId integer
      • departmentName string
      • description string
      • discount number
      • fixedAssetId integer
      • fixedAssetName string
      • id integer
      • isArticleShipped boolean
      • lineType string

        Values are ARTICLE, NO_ARTICLE, TIMESHEET, EXPENSES, DISBURSEMENT, HEADER, or FIXED_ASSET.

      • longDescription string
      • netUnitPrice number
      • officeId integer
      • officeName string
      • quantity number
      • saleAccountId integer
      • saleAccountName object
        Hide saleAccountName attributes Show saleAccountName attributes object
        • de string
        • en string
        • fr string
        • it string
      • tempId integer
      • totalNet number
      • totalPrice number
      • vat number
      • vatRateId integer
      • vatTypeCodeId integer
    • invoiceLinesLayout array[object]
      Hide invoiceLinesLayout attributes Show invoiceLinesLayout attributes object
      • children array[object]
      • id integer
      • lineType string

        Values are ARTICLE, NO_ARTICLE, TIMESHEET, EXPENSES, DISBURSEMENT, HEADER, or FIXED_ASSET.

      • name string
      • parentId integer
      • position integer(int32)
      • salesInvoiceLineId integer
      • sourceOrderId integer
    • isContainsFixedAsset boolean
    • isFromLockedAccountingPeriod boolean
    • journalEntryId integer
    • number string
    • ourContactId integer
    • ourContactName string
    • payments array[object]
      Hide payments attributes Show payments attributes object
      • bankCharges string
      • id integer
      • isFromLockedAccountingPeriod boolean
      • lossOnDebtors string
      • overdueDate string
      • paidAmount string
      • qrBillData string
      • qrReferenceNumber string
      • receivableByAccountId integer
      • receivableByAccountName object
        Hide receivableByAccountName attributes Show receivableByAccountName attributes object
        • de string
        • en string
        • fr string
        • it string
      • requestedAmount string
      • requestedDate string
      • sentDate string
      • valueDate string
    • proforma boolean
    • qrGenerationAvailability boolean
    • realValidated boolean
    • receivableAccountId integer
    • receivableAccountName object
      Hide receivableAccountName attributes Show receivableAccountName attributes object
      • de string
      • en string
      • fr string
      • it string
    • reference string
    • shipments array[object]
      Hide shipments attributes Show shipments attributes object
      • articleId integer
      • articleIdSku string
      • articleName object
        Hide articleName attributes Show articleName attributes object
        • de string
        • en string
        • fr string
        • it string
      • currencyCode string
      • generatedStockMovementId integer
      • id integer
      • orderArticleId integer
      • quantity string
      • salesInvoiceLineId integer
      • shipmentDate string
      • totalCost number
    • sourceOrderId integer
    • sourceSubOrderId integer
    • startDate string
    • systemValidated boolean
    • timesheetInfoItems array[object]
      Hide timesheetInfoItems attributes Show timesheetInfoItems attributes object
      • billableAmount string
      • billableRate string
      • date string
      • description string
      • employeeContactId integer
      • employeeTaskId integer
      • id integer
      • originalTimesheetId integer
      • time string
    • validated boolean
    • validatorUserIds array[integer(int32)]
    • validatorUserIdsSize integer
    • vatTypeCodeId integer
    • warnings string
    • yourContactId integer
    • yourContactName string
    • yourReference string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/sales-invoice/{id}/deleted
curl \
 --request GET 'https://wyzio.app/api-v1/sales-invoice/{id}/deleted' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "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"
}