Journal

Get journal receipts based on search criteria.

Get journal receipts based on search criteria. Returns a list containing information about journal receipts.

get/journals

Request

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

Query parameters

statuses'UNFINISHED' | 'APPROVED' | 'INVALIDATED'

Comma-separated journal receipt statuses

startDatestring date

Start date of the search (journal billing date)

endDatestring date

End date of the search (journal billing date)

createdStartDatestring date-time

Start date of the search (journal created date)

createdEndDatestring date-time

End date of the search (journal created date)

versionStartDatestring date-time

Start date of the search (journal updated date)

versionEndDatestring date-time

End date of the search (journal updated date)

Response

Journal receipts were successfully found.

idinteger

Unique identifier of the journal receipt.

ledgerReceiptIdinteger

ID of the ledger receipt linked to this journal receipt.

partnerIdinteger

Technical ID for the business partner. Used to link the journal receipt to a customer or supplier in the business partner register. If supplied, the company must have this partner ID in the corresponding register.

type'JOURNAL' required

Receipt type. This particular endpoint only supports JOURNAL type.

status'UNFINISHED' | 'APPROVED' | 'INVALIDATED'

Journal receipt status.

invoiceNumberinteger

Receipt number generated by Procountor.

datestring date

Journal receipt date. This is synonymous to billing date.

createdstring date-time

Creation timestamp of the journal. Automatically generated by Procountor.

versionstring date-time

Journal receipt version.

Example response

{
  "status": "INVALIDATED",
  "created": "2017-09-27T12:12:42",
  "counterParty": {
    "counterPartyAddress": {
      "country": "SWEDEN"
    }
  }
}

Changes

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