Download OpenAPI specification:
PHPR API USING API-PLATFORM
Retrieves a accounting_entries resource.
| id required | string accounting_entries identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "transaction": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "N",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "account": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "AC",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "childrenListing": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "amount": "string",
- "comment": "string",
- "shortcode": "Y",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "absoluteAmount": 0,
- "relativeAmount": 0,
- "dtBalance": 0,
- "ctBalance": 0,
- "day": "2019-08-24T14:15:22Z",
- "customPropertiesListing": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}Replaces the accounting_entries resource.
| id required | string accounting_entries identifier |
The updated accounting_entries resource
object (accounting_transactions.jsonld-post) Transaction. | |
| createdAt | string <date-time> |
object (accounts.jsonld-post) // @todo No cascade persists because of the generator (issue #1 https://tools.phpcreation.com/confluence/display/PHPRDoc/Bundle_Accounting-Listener_2017) | |
| amount required | string |
| comment | string or null |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customData | Array of strings or null |
| disabledAt | string or null <date-time> |
| relativeAmount | number Get amount relative to account type. |
{- "transaction": {
- "child": { },
- "parent": { },
- "date": "2019-08-24T14:15:22Z",
- "comment": "string",
- "systemTrace": "string",
- "origin": "string",
- "refTable": "string",
- "refRowId": 0,
- "entries": [
- { }
], - "period": {
- "closedAt": "2019-08-24T14:15:22Z",
- "dateStart": "2019-08-24T14:15:22Z",
- "dateEnd": "2019-08-24T14:15:22Z",
- "periodicity": {
- "intervalSpec": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "apiTranslations": [
- "string"
]
}, - "yearEnd": true,
- "child": { },
- "parent": { },
- "notes": "string",
- "closingAmount": "string",
- "closingDiff": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "type": {
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "apiTranslations": [
- "string"
]
}, - "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "account": {
- "type": {
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "igrf": "string",
- "metadata": "string",
- "isRepertoire": true,
- "acceptsTransactions": true,
- "budget": "string",
- "parent": { },
- "children": [
- { }
], - "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "apiTranslations": [
- "string"
], - "title": null
}, - "amount": "string",
- "comment": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "relativeAmount": 0
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "transaction": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "N",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "account": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "AC",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "childrenListing": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "amount": "string",
- "comment": "string",
- "shortcode": "Y",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "absoluteAmount": 0,
- "relativeAmount": 0,
- "dtBalance": 0,
- "ctBalance": 0,
- "day": "2019-08-24T14:15:22Z",
- "customPropertiesListing": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}