Get details of deleted sales invoice

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Wyzio MCP server": {
  "url": "https://restapi.wyzio.com/mcp"
}
Close
GET /api-v1/sales-invoice/{id}/deleted

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Path parameters

  • id integer Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer
    • journalEntryId integer
    • number string
    • date string

      Minimum length is 1.

    • clientId integer Required
    • clientAddressId integer
    • address object
      Hide address attributes Show address attributes object
      • id integer
      • name string

        Minimum length is 1.

      • line1 string
      • line2 string
      • city string
      • region object
        Hide region attributes Show region attributes object
        • id integer
        • name string
        • code string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • countryCode2 string
      • postCode string
      • toTheAttentionOf string
      • position integer(int32)
      • houseNumber string
      • countryId integer Required
      • service string
      • readOnly boolean
    • ourContactId integer
    • yourContactId integer
    • clientName string
    • reference string
    • yourReference string
    • currencyId integer Required
    • description string
    • comments string
    • warnings string
    • receivableAccountId integer
    • vatTypeCodeId integer
    • excludedFromVat boolean
    • invoiceLines array[object]

      At least 1 element.

      Hide invoiceLines attributes Show invoiceLines attributes object
      • id integer
      • tempId integer
      • lineType string

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

      • quantity number Required
      • articleId integer
      • isArticleShipped boolean
      • description string
      • longDescription string
      • netUnitPrice number Required
      • discount number Required
      • totalNet number Required
      • vatRateId integer
      • vat number
      • totalPrice number
      • saleAccountId integer Required
      • departmentId integer
      • allocationKey string
      • appliedAllocationRules array[string]
      • vatTypeCodeId integer
      • articleName object
        Hide articleName attributes Show articleName attributes object
        • en string
        • fr string
        • de string
        • it string
      • saleAccountName object
        Hide saleAccountName attributes Show saleAccountName attributes object
        • en string
        • fr string
        • de string
        • it string
      • departmentName string
      • fixedAssetName string
      • fixedAssetId integer
      • officeId integer
      • officeName string
    • invoiceLinesLayout array[object]
      Hide invoiceLinesLayout attributes Show invoiceLinesLayout attributes object
      • id integer
      • name string
      • parentId integer
      • position integer(int32)
      • lineType string

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

      • salesInvoiceLineId integer
      • sourceOrderId integer
    • payments array[object]
      Hide payments attributes Show payments attributes object
      • id integer
      • receivableByAccountId integer Required
      • requestedDate string

        Minimum length is 1.

      • overdueDate string

        Minimum length is 1.

      • valueDate string
      • sentDate string
      • requestedAmount string
      • paidAmount string
      • bankCharges string
      • lossOnDebtors string
      • isFromLockedAccountingPeriod boolean
      • qrBillData string
      • receivableByAccountName object
        Hide receivableByAccountName attributes Show receivableByAccountName attributes object
        • en string
        • fr string
        • de string
        • it string
    • shipments array[object]
      Hide shipments attributes Show shipments attributes object
      • id integer
      • shipmentDate string
      • articleId integer
      • quantity string
      • currencyCode string
      • totalCost number
      • generatedStockMovementId integer
      • articleName object
        Hide articleName attributes Show articleName attributes object
        • en string
        • fr string
        • de string
        • it string
      • articleIdSku string
      • officeId integer
      • orderArticleId integer
      • salesInvoiceLineId integer
    • timesheetInfoItems array[object]
      Hide timesheetInfoItems attributes Show timesheetInfoItems attributes object
      • id integer
      • date string
      • description string
      • time string
      • billableAmount string
      • billableRate string
      • employeeContactId integer
      • originalTimesheetId integer
      • employeeTaskId integer
    • sourceOrderId integer
    • sourceSubOrderId integer
    • bvrGenerationAvailability boolean
    • qrGenerationAvailability boolean
    • isFromLockedAccountingPeriod boolean
    • isContainsFixedAsset boolean
    • accrualFrom string
    • accrualTo string
    • accrualEntriesAmount integer(int32)
    • validated boolean
    • validatorUserIdsSize integer
    • validatorUserIds array[integer(int32)]
    • realValidated boolean
    • systemValidated boolean
    • canEditProformaFlag boolean
    • isDocSent boolean
    • ourContactName string
    • yourContactName string
    • receivableAccountName object
      Hide receivableAccountName attributes Show receivableAccountName attributes object
      • en string
      • fr string
      • de string
      • it string
    • clientAddressName string
    • startDate string
    • endDate string
    • proforma boolean
  • 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'
Response examples (200)
{
  "id": 42,
  "journalEntryId": 42,
  "number": "string",
  "date": "string",
  "clientId": 42,
  "clientAddressId": 42,
  "address": {
    "id": 42,
    "name": "string",
    "line1": "string",
    "line2": "string",
    "city": "string",
    "region": {
      "id": 42,
      "name": "string",
      "code": "string",
      "taxMode": "ANNUALLY"
    },
    "countryCode2": "string",
    "postCode": "string",
    "toTheAttentionOf": "string",
    "position": 42,
    "houseNumber": "string",
    "countryId": 42,
    "service": "string",
    "readOnly": true
  },
  "ourContactId": 42,
  "yourContactId": 42,
  "clientName": "string",
  "reference": "string",
  "yourReference": "string",
  "currencyId": 42,
  "description": "string",
  "comments": "string",
  "warnings": "string",
  "receivableAccountId": 42,
  "vatTypeCodeId": 42,
  "excludedFromVat": true,
  "invoiceLines": [
    {
      "id": 42,
      "tempId": 42,
      "lineType": "ARTICLE",
      "quantity": 42.0,
      "articleId": 42,
      "isArticleShipped": true,
      "description": "string",
      "longDescription": "string",
      "netUnitPrice": 42.0,
      "discount": 42.0,
      "totalNet": 42.0,
      "vatRateId": 42,
      "vat": 42.0,
      "totalPrice": 42.0,
      "saleAccountId": 42,
      "departmentId": 42,
      "allocationKey": "string",
      "appliedAllocationRules": [
        "string"
      ],
      "vatTypeCodeId": 42,
      "articleName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "saleAccountName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "departmentName": "string",
      "fixedAssetName": "string",
      "fixedAssetId": 42,
      "officeId": 42,
      "officeName": "string"
    }
  ],
  "invoiceLinesLayout": [
    {
      "id": 42,
      "name": "string",
      "parentId": 42,
      "position": 42,
      "lineType": "ARTICLE",
      "salesInvoiceLineId": 42,
      "sourceOrderId": 42
    }
  ],
  "payments": [
    {
      "id": 42,
      "receivableByAccountId": 42,
      "requestedDate": "string",
      "overdueDate": "string",
      "valueDate": "string",
      "sentDate": "string",
      "requestedAmount": "string",
      "paidAmount": "string",
      "bankCharges": "string",
      "lossOnDebtors": "string",
      "isFromLockedAccountingPeriod": true,
      "qrBillData": "string",
      "receivableByAccountName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      }
    }
  ],
  "shipments": [
    {
      "id": 42,
      "shipmentDate": "string",
      "articleId": 42,
      "quantity": "string",
      "currencyCode": "string",
      "totalCost": 42.0,
      "generatedStockMovementId": 42,
      "articleName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "articleIdSku": "string",
      "officeId": 42,
      "orderArticleId": 42,
      "salesInvoiceLineId": 42
    }
  ],
  "timesheetInfoItems": [
    {
      "id": 42,
      "date": "string",
      "description": "string",
      "time": "string",
      "billableAmount": "string",
      "billableRate": "string",
      "employeeContactId": 42,
      "originalTimesheetId": 42,
      "employeeTaskId": 42
    }
  ],
  "sourceOrderId": 42,
  "sourceSubOrderId": 42,
  "bvrGenerationAvailability": true,
  "qrGenerationAvailability": true,
  "isFromLockedAccountingPeriod": true,
  "isContainsFixedAsset": true,
  "accrualFrom": "string",
  "accrualTo": "string",
  "accrualEntriesAmount": 42,
  "validated": true,
  "validatorUserIdsSize": 42,
  "validatorUserIds": [
    42
  ],
  "realValidated": true,
  "systemValidated": true,
  "canEditProformaFlag": true,
  "isDocSent": true,
  "ourContactName": "string",
  "yourContactName": "string",
  "receivableAccountName": {
    "en": "string",
    "fr": "string",
    "de": "string",
    "it": "string"
  },
  "clientAddressName": "string",
  "startDate": "string",
  "endDate": "string",
  "proforma": true
}