Remove Invoice Item
Update invoice on your Terraswitch account. Remove and adjust an invoice item
PUT {{ BASE_URL }}/v1/corporate/remove-invoice-item/{{code}}
Body Parameters
Property
Data Type
Description
Example
Required
label
string
The label of the item to be removed
VPIFFEE52E2
Yes
import Axios from 'axios';
// set the api url
const API_URL = `${BASE_URL}/v1/corporate/remove-invoice-item/${code}`;
// define request body
const data = {
label: "VPIFFEE52E2",
}
// make request using axios
Axios({
method: "PUT",
url: `${API_URL}`,
headers: {
lg: 'en',
ch: 'web'
Authorization: `Bearer ${API_KEY}`,
'Content-Type': 'application/json',
},
data: data
}).then((resp) => {
console.log(resp)
}).catch((err) => {
console.log(err)
})
Last updated