Ledger receipts

Search ledger receipts.

Search ledger receipts. Returns a list containing basic information for the receipts. The receiptID in each result entry can be used to fetch complete receipt details with the GET /ledgerereceipts/{receiptId} endpoint. Supported ledger receipt types are journals, sales invoice ledger receipts, travel invoice ledger receipts, expense invoice ledger receipts, purchase ledger invoice receipts, VAT form ledger receipts, salary ledger receipts, employer contribution ledger receipts, purchase order ledger receipts, sales order ledger receipts, bank statement as a receipt ledger receipts, receipt for opening the accounts ledger receipts, reference payment ledger receipts, tracking period opening receipt ledger receipts, self-assessed tax ledger receipts and VAT summary ledger receipts.

get/ledgerreceipts

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/ledgerreceipts
  • Auth: HTTP bearer

Query parameters

startDatestring date

Start date of the search (ledger receipt date)

endDatestring date

End date of the search (ledger receipt date)

createdStartDatestring date-time

Start date of the search (ledger created date)

createdEndDatestring date-time

End date of the search (ledger created date)

versionStartDatestring date-time

Start date of the search (ledger updated date)

versionEndDatestring date-time

End date of the search (ledger updated date)

typesstring[]

Ledger receipt types

previousIdinteger

Previous Id for pagination

orderById'ASC' | 'DESC'

Order the results by ledger receipt ID

orderByDate'ASC' | 'DESC'

Order the results by date

orderByCreated'ASC' | 'DESC'

Order the results by created date

orderByVersion'ASC' | 'DESC'

Order the results by version (updated date)

sizeinteger

Page size for the results. Maximum value: 200.

pageinteger

Page number for the results

statusstring

Ledger receipt status

Response

Ledger receipts were successfully found.

Example response

{
  "results": [
    {
      "created": "2017-09-27T12:12:42",
      "version": "2017-09-27T12:12:42"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.