journal entries
POST /companies/{companySlug}/generalJournalEntries
Changed onCreates a new general journal entry (fri postering).
Request
- Base URLhttps://api.fiken.no/api/v2
- AuthOAuth 2Authorization codehttps://fiken.no/oauth/authorizeToken URLhttps://fiken.no/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"journalEntries": [
{
"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"
}
]
}
]
}Response
Created
Changes
- info
added the new optional request property
//// - info
added the new optional request property
////
- info
- info
the request optional property
//became read-only
- info