GET /companies/{companySlug}/transactions
Changed onReturns all transactions for the specified company
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/transactions
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Query parameters
Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.
Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.
Filter based on date of last modification. Returns results that were last modified on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified before or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified strictly before the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified after or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified strictly after the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created before or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created strictly before the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created after or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created strictly after the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns only transactions of the given type. Exact match on the value returned in type, for example Inngående balanse. See transactionType on journalEntry for possible values. An unknown value gives 400.
Response
OK
Example response
[
{
"transactionId": 734083065,
"createdDate": "2018-04-03",
"lastModifiedDate": "2018-04-03",
"type": "Fri",
"entries": [
{
"createdDate": "2018-04-03",
"lastModifiedDate": "2018-04-03",
"transactionType": "Inngående balanse",
"journalEntryNumber": 18,
"description": "Purchase, Schweigaards Gate 34 AS (invoice nr 26083)",
"date": "2018-04-03",
"lines": [
{
"amount": 310000,
"account": "2400:20079",
"vatCode": "1",
"lastModifiedDate": "2018-04-03"
}
],
"attachments": [
{
"uuid": "745b2f15-1234-4408-8bf2-b1d2d7610cb2",
"filename": "invoice_24760.pdf",
"identifier": "24760",
"type": "invoice"
}
]
}
]
}
]Changes
- info
added the new optional
queryrequest parametertype - info
added the optional property
///to the response with the status
- info
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info