Skip to content

Retrieve Invoice Recipients

Request

No request data

const resp = await fetch(
  `https://api-sandbox.lawvu.com/invoice-apis/v1/invoices/recipients`,
  {method: 'GET'}
);

const data = await resp.text();
console.log(data);

Responses

OK

Body
Array [
idinteger or null, (int32)
namestring or null
addressLine1string or null
addressLine2string or null
addressLine3string or null
taxTypestring or null

Options:

  • GST
  • TAX
  • VAT
Enum:"GST""TAX""VAT"
taxNumberstring or null
contactNamestring or null
contactPhonestring or null
contactEmailstring or null
]
Response
[
  {
    "id": 1,
    "name": "Jeff",
    "addressLine1": "123 Sesame Street",
    "addressLine2": "Narnia",
    "addressLine3": "Antarctica",
    "taxType": "GST",
    "taxNumber": "4",
    "contactName": "Bill",
    "contactPhone": "17",
    "contactEmail": "emailaddress@gmail.com"
  },
  {
    "id": 2,
    "name": "Steve",
    "addressLine1": "124 Sesame Street",
    "addressLine2": "South Narnia",
    "addressLine3": "Antarctica",
    "taxType": "TAX",
    "taxNumber": "40",
    "contactName": "Stan",
    "contactPhone": "71",
    "contactEmail": "anotheremailaddress@gmail.com"
  }
]