Skip to content

Get invoices

Request

Query
skipinteger, (int32)

The number of invoices to skip (used for paging)

filtering.fieldstring

Field to filter by (optional)

filtering.operatorstring

Operator used for filtering (optional)

Enum:"eq""neq""lt""lte""gt""gte""startswith""endswith""contains""doesnotcon"
filtering.valuestring

Value to filter by (optional)

sorting.directionstring

Set the sorting direction

Enum:"asc""desc"
sorting.fieldstring

Set the sorting fields

takeinteger, (int32)

The maximum number of invoices to return

Default: 50

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

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

Responses

OK

Body
dataArray of objects or null(Invoice)

Represents a single page of processed data.

totalinteger, (int32)

The total number of records available.

Response
{
  "data": [
    {
      "id": 0,
      "invoiceNo": "string",
      "invoiceDate": "2019-08-24T14:15:22Z",
      "dueDate": "2019-08-24T14:15:22Z",
      "disbursements": 0.1,
      "fees": 0.1,
      "otherFees": 0.1,
      "fileId": 0,
      "status": "string",
      "fileName": "string",
      "batchId": 0,
      "thirdParty": true,
      "paid": true,
      "paidDateUtc": "2019-08-24T14:15:22Z",
      "paymentNote": "string",
      "description": "string",
      "matterId": 0,
      "approvedDateUtc": "2019-08-24T14:15:22Z",
      "purchaseOrderNo": "string",
      "totalTax": 0.1,
      "approvedFees": 0.1,
      "currency": "string",
      "postedDateUtc": "2019-08-24T14:15:22Z",
      "internalNotes": "string",
      "billingPeriodStart": "2019-08-24T14:15:22Z",
      "billingPeriodEnd": "2019-08-24T14:15:22Z",
      "serviceProviderName": "string",
      "serviceProviderId": "string"
    }
  ],
  "total": 0
}