Folio
Returns one folio.
Get a folio by ID.<br>You must have at least one of these scopes: 'folios.read, folios.manage'.<br>For fine-grained clients, you must have this permission: 'core.folios.read'.
get/finance/v0-nsfw/folios/{id}
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/finance/v0-nsfw/folios/{id}
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: folios.read, folios.manage, admin
Path parameters
idstring required
The ID of the folio.
Query parameters
expandstring[]
List of all embedded resources that should be expanded in the response. Possible values are: folios. All other values will be silently ignored.
Response
Success
Example response
{
"id": "XKCD17-1",
"created": "0001-01-01T00:00:00Z",
"updated": "0001-01-01T00:00:00Z",
"type": "Guest",
"debitor": {
"title": "Dr",
"firstName": "Jon",
"name": "Doe",
"address": {
"addressLine1": "My Street 1",
"postalCode": "12453",
"city": "MyCity",
"countryCode": "GB"
},
"company": {
"type": "GovernmentBuyer",
"identifiers": [
{
"scheme": "PEPPOL:0204",
"value": "991-12345-37"
}
],
"name": "Horns & Hooves Inc",
"taxId": "TAX-12345",
"additionalTaxId": "TAX2-12345",
"additionalTaxId2": "TAX3-12345",
"invoiceNetworkIdentity": {
"network": "Peppol",
"id": "0208:123456789"
}
},
"personalTaxId": "123456789",
"reference": "SRC-1232",
"phone": "123456789"
},
"reservation": {
"id": "XKCD17",
"bookingId": "XKCD"
},
"property": {
"id": "MUC"
},
"charges": [
{
"id": "RND123",
"serviceType": "Accommodation",
"name": "Charge",
"isPosted": true,
"serviceDate": "2018-05-08",
"created": "0001-01-01T00:00:00Z",
"movedFrom": {
"id": "XKCD23-2"
},
"movedTo": {
"id": "XKCD23-3"
},
"amount": {
"grossAmount": 107,
"netAmount": 100,
"vatType": "Reduced",
"vatPercent": 7,
"currency": "EUR"
},
"quantity": 0,
"type": "TimeSlice"
},
{
"id": "RND125",
"serviceType": "Other",
"name": "The Daily Planet, Newspaper",
"isPosted": true,
"serviceDate": "2018-05-07",
"created": "0001-01-01T00:00:00Z",
"amount": {
"grossAmount": 2.14,
"netAmount": 2,
"vatType": "Reduced",
"vatPercent": 7,
"currency": "EUR"
},
"quantity": 0,
"type": "Direct"
},
{
"id": "REST2018243",
"serviceType": "Other",
"name": "Restaurant",
"isPosted": true,
"serviceDate": "2018-05-07",
"created": "0001-01-01T00:00:00Z",
"amount": {
"grossAmount": 14.04,
"netAmount": 12,
"vatType": "Mixed",
"vatPercent": -1,
"currency": "EUR"
},
"subAccountId": "MUC-REST",
"serviceId": "MUC-REST",
"quantity": 0,
"type": "Direct",
"revenueAllocation": [
{
"amount": {
"grossAmount": 11.9,
"netAmount": 10,
"vatType": "Normal",
"vatPercent": 19,
"currency": "EUR"
},
"subAccountId": "MUC-REST",
"percent": 50
},
{
"amount": {
"grossAmount": 2.14,
"netAmount": 2,
"vatType": "Reduced",
"vatPercent": 7,
"currency": "EUR"
},
"percent": 50
}
]
}
],
"transitoryCharges": [
{
"id": "RND3221-1",
"name": "Transitory charge",
"amount": {
"amount": 20,
"currency": "EUR"
},
"serviceDate": "0001-01-01",
"created": "0001-01-01T00:00:00Z",
"quantity": 0
}
],
"payments": [
{
"id": "PAY-1",
"method": "BankTransfer",
"amount": {
"amount": 50,
"currency": "EUR"
},
"receipt": "CA-147-339",
"paymentDate": "0001-01-01T00:00:00Z",
"businessDate": "0001-01-01"
},
{
"id": "PAY-2",
"method": "Cash",
"amount": {
"amount": 2.14,
"currency": "EUR"
},
"paymentDate": "0001-01-01T00:00:00Z",
"businessDate": "0001-01-01"
}
],
"pendingPayments": [
{
"id": "IDDQD-1",
"amount": {
"amount": 50,
"currency": "EUR"
}
},
{
"id": "IDKFA-2",
"amount": {
"amount": 2.14,
"currency": "EUR"
}
}
],
"allowances": [
{
"id": "RND3221-1",
"amount": {
"grossAmount": 14.04,
"netAmount": 12,
"vatType": "Mixed",
"vatPercent": -1,
"currency": "EUR"
},
"reason": "example",
"serviceType": "Other",
"serviceDate": "2018-05-10",
"created": "0001-01-01T00:00:00Z",
"movedFrom": {
"id": "XKCD23-2"
},
"movedTo": {
"id": "XKCD23-3"
},
"sourceChargeId": "REST2018243",
"revenueAllocation": [
{
"amount": {
"grossAmount": 11.9,
"netAmount": 10,
"vatType": "Normal",
"vatPercent": 19,
"currency": "EUR"
},
"subAccountId": "MUC-REST",
"percent": 50
},
{
"amount": {
"grossAmount": 2.14,
"netAmount": 2,
"vatType": "Reduced",
"vatPercent": 7,
"currency": "EUR"
},
"percent": 50
}
]
}
],
"balance": {
"amount": 57,
"currency": "EUR"
},
"checkedOutOnAccountsReceivable": false,
"isMainFolio": true,
"isEmpty": false,
"allowedActions": [
"AddCharge",
"AddPayment",
"Close"
],
"allowedPayment": 45.1,
"maximumAllowance": 20,
"status": "Open"
}Changes
No recorded changes to this operation across all 4 revisions of this API.