My Products
Help
gordana_jlmwms
CHAMPION *

Tax details line PUT

by gordana_jlmwms

Is it possible to update the Tax details line for a supplier invoice before running action release. If yes, how do you go about it? Invoice line has action insert, update or delete. Tax details line is missing it.

 

Example value from swagger

 

},
  "applyRetainage": {    "value": true
  },
  "taxDetailLines": [    {
      "taxId": {        "value": "string"
      },
      "taxableAmount": {        "value": 0
      },
      "vatAmount": {        "value": 0
      }
    }
  ],
  "invoiceLines": [    {
      "operation": "Insert",      "lineNumber": {        "value": 0
      },
      "inventoryNumber": {        "value": "string"
      },
1 REPLY 1
Accepted solution
Rozhat
VISMA

by Rozhat

Hi! 

 

This should be possible, the difference between a normal invoice line and a taxDetail line is that there should only be one tax detail line per taxId. You don't need to specify line number or operation because what you send overwrites the line with the same TaxID that you send