Download OpenAPI specification:
This API manages expense reports (notes de frais): expense requests, their lifecycle and the workflow scoped to an accounting folder. It is part of the larger Fred platform and is consumed by other Fred services.
All endpoints are protected and require a valid Fred bearer token, except where explicitly marked as anonymous. Authentication and authorization follow the common Inqom mechanism shared by every Fred microservice.
See the shared Inqom authentication documentation for how to obtain a token and call the API behind the gateway.
| Environment | Base URL |
|---|---|
| Production | https://api.inqom.com/expensereport |
| Staging | https://api-staging.inqom.com/expensereport |
| accountingFolderId required | integer <int32> The accounting folder identifier. |
{- "property1": null,
- "property2": null
}| query | string The free-text search prefix on the address label. |
[- {
- "Label": "string",
- "Reference": "string"
}
]| reference | string The resolution reference returned by the completions endpoint, to be retransmitted unchanged. |
{- "Outcome": "Located",
- "Latitude": 0.1,
- "Longitude": 0.1
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| file | string <binary> The file to deposit (multipart/form-data, field name: |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "ExpiresOn": "2019-08-24T14:15:22Z",
- "IgnoredColumns": [
- "string"
], - "Counts": {
- "Created": 0,
- "Replaced": 0,
- "Unchanged": 0,
- "Rejected": 0,
- "Unmatched": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "DisplayName": "string",
- "Outcome": "Created",
- "MaskedIban": "string",
- "Reason": "string",
- "NameMismatch": true,
- "OverwritesHolderEntry": true,
- "DuplicateOfRows": [
- 0
]
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| importId required | integer <int32> The import identifier. |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "ExpiresOn": "2019-08-24T14:15:22Z",
- "IgnoredColumns": [
- "string"
], - "Counts": {
- "Created": 0,
- "Replaced": 0,
- "Unchanged": 0,
- "Rejected": 0,
- "Unmatched": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "DisplayName": "string",
- "Outcome": "Created",
- "MaskedIban": "string",
- "Reason": "string",
- "NameMismatch": true,
- "OverwritesHolderEntry": true,
- "DuplicateOfRows": [
- 0
]
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| importId required | integer <int32> The import identifier. |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "ExpiresOn": "2019-08-24T14:15:22Z",
- "IgnoredColumns": [
- "string"
], - "Counts": {
- "Created": 0,
- "Replaced": 0,
- "Unchanged": 0,
- "Rejected": 0,
- "Unmatched": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "DisplayName": "string",
- "Outcome": "Created",
- "MaskedIban": "string",
- "Reason": "string",
- "NameMismatch": true,
- "OverwritesHolderEntry": true,
- "DuplicateOfRows": [
- 0
]
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| hasIban | boolean Restricts the listing to employees who do (or do not) have an IBAN on file (optional). |
| pageNumber | integer <int32> 1-based page number (optional, defaults to 1). |
| pageSize | integer <int32> Page size (optional, defaults to 20, capped at 100). |
{- "Items": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "HasIban": true,
- "MaskedIban": "string",
- "Bic": "string"
}
], - "TotalCount": 0,
- "PageNumber": 0,
- "PageSize": 0,
- "TotalPages": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
{- "UserId": 0,
- "DisplayName": "string",
- "HasIban": true,
- "MaskedIban": "string",
- "Bic": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The IBAN, the BIC and, only when it differs, the account holder's name.
| Iban required | string The employee's IBAN, in any commonly copied form (spaced, with a leading/trailing blank, dashes). |
| AccountHolderName | string or null The account holder's name, only when it differs from the employee's own name (optional). No read returns it, so omitted or null keeps the name on file, even when the IBAN changes; empty clears it. |
| Bic | string or null The BIC of the employee's bank (optional), 8 or 11 characters, in any case and with spaces. A malformed BIC is not saved and never refuses the request: the IBAN is saved, and the response says why the BIC was not. |
{- "Iban": "string",
- "AccountHolderName": "string",
- "Bic": "string"
}{- "UserId": 0,
- "DisplayName": "string",
- "HasIban": true,
- "MaskedIban": "string",
- "Bic": "string",
- "BicRejectionReason": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
{- "Street": "string",
- "ZipCode": "string",
- "City": "string",
- "IsCompliant": true
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The street, the postal code and the city, replacing what is on file.
| Street | string or null The street line (optional), up to 256 characters. |
| ZipCode | string or null The postal code (optional), up to 20 characters. |
| City | string or null The city (optional), up to 100 characters. The address is compliant when it holds at least one Latin letter. |
{- "Street": "string",
- "ZipCode": "string",
- "City": "string"
}{- "Street": "string",
- "ZipCode": "string",
- "City": "string",
- "IsCompliant": true
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| userId required | integer <int32> The employee the bank account is entered for. |
The IBAN and the BIC, replacing what is on file, and the account holder's name when it changes.
| Iban required | string The employee's IBAN, in any commonly copied form (spaced, with a leading/trailing blank, dashes). |
| AccountHolderName | string or null The account holder's name, only when it differs from the employee's own name (optional). No read returns it, so omitted or null keeps the name on file, even when the IBAN changes; empty clears it. |
| Bic | string or null The BIC of the employee's bank (optional), 8 or 11 characters, in any case and with spaces. A malformed BIC is not saved and never refuses the request: the IBAN is saved, and the response says why the BIC was not. |
{- "Iban": "string",
- "AccountHolderName": "string",
- "Bic": "string"
}{- "UserId": 0,
- "DisplayName": "string",
- "HasIban": true,
- "MaskedIban": "string",
- "Bic": "string",
- "BicRejectionReason": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| pageNumber | integer <int32> 1-based page number (optional, defaults to 1). |
| pageSize | integer <int32> Page size (optional, defaults to 20, capped at 100). |
{- "Items": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "HasIban": true,
- "MaskedIban": "string",
- "Status": "Complete",
- "Vehicles": [
- {
- "Id": 0,
- "AccountingFolderId": 0,
- "OwnerUserId": 0,
- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "RegistrationDocumentId": 0,
- "State": "Unused",
- "LicensePlate": "string"
}
]
}
], - "TotalCount": 0,
- "PageNumber": 0,
- "PageSize": 0,
- "TotalPages": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
{- "Employees": 0,
- "MissingIban": 0,
- "MissingRegistrationDocuments": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
[- {
- "Id": 0,
- "Label": "string",
- "IsVatRecoverable": true,
- "ChargeAccount": "string",
- "VatAccount": "string",
- "IsActive": true,
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "UpdatedByUserId": 0,
- "Type": "string",
- "ChargeSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
{- "Categories": [
- {
- "Id": 0,
- "Label": "string",
- "IsVatRecoverable": true,
- "ChargeAccount": "string",
- "VatAccount": "string",
- "IsActive": true,
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "UpdatedByUserId": 0,
- "Type": "string",
- "ChargeSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "ReportGenerationFrequency": "string",
- "CounterpartAccount": {
- "Mode": "string",
- "Name": "string",
- "Account": 0,
- "SubAccountCode": "string"
}, - "JournalId": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The desired full-state payload.
required | Array of objects (ExpenseReportSettingsCategoryLine) |
| ReportGenerationFrequency | string or null |
object (CounterpartAccountInput) | |
| JournalId | integer <int32> |
{- "Categories": [
- {
- "Id": 0,
- "Label": "string",
- "ChargeAccount": "string",
- "ChargeSubAccountCode": "string",
- "IsVatRecoverable": true,
- "VatAccount": "string",
- "VatSubAccountCode": "string",
- "IsActive": true
}
], - "ReportGenerationFrequency": "string",
- "CounterpartAccount": {
- "Mode": "string",
- "Name": "string",
- "SubAccountCode": "string",
- "Account": 0
}, - "JournalId": 0
}{- "Categories": [
- {
- "Id": 0,
- "Label": "string",
- "IsVatRecoverable": true,
- "ChargeAccount": "string",
- "VatAccount": "string",
- "IsActive": true,
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "UpdatedByUserId": 0,
- "Type": "string",
- "ChargeSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "ReportGenerationFrequency": "string",
- "CounterpartAccount": {
- "Mode": "string",
- "Name": "string",
- "Account": 0,
- "SubAccountCode": "string"
}, - "JournalId": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The expense request payload.
| Name required | string |
| Amount | number or null <decimal> |
| ExpenseDate required | string <date-time> |
| Comment | string or null |
| CategoryId required | integer <int32> |
| SupportingDocumentId | integer <int32> |
Array of objects or null (VatBreakdownLineDto) | |
object (TripDto) | |
| FuelType | string or null Enum: "Petrol" "Diesel" "SuperethanolE85" "Lpg" "Cng" "Electricity" |
| VehicleType | string or null Enum: "PassengerCar" "CommercialVehicle" |
| LicensePlate | string or null |
object (BreakfastDto) | |
Array of objects or null (GuestDto) |
{- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
]
}{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseFromDate | string <date-time> Inclusive lower bound on the expense date (optional). Requests dated before this day are excluded. When
omitted, the period has no lower bound: without |
| expenseToDate | string <date-time> Inclusive upper bound on the expense date (optional). When omitted, the period is left-open (no upper bound). |
| validationFromDate | string <date-time> Inclusive lower bound on the validation date (optional). When set, only validated requests dated on or after this day are returned — requests without a validation date (À valider, Refusée) are excluded. |
| validationToDate | string <date-time> Inclusive upper bound on the validation date (optional). When set, only validated requests dated on or before this day are returned — requests without a validation date (À valider, Refusée) are excluded. |
| status | Array of strings Items Enum: "ToValidate" "Validated" "Refused" "Reimbursed" "ToCancel" "Cancelled" Restricts the listing to the given statuses (optional, repeatable, case-insensitive, union semantics).
Omitting it returns every status except |
| sortField | string Enum: "Name" "AuthorName" "Category" "ExpenseDate" "ValidatedAt" "CreatedAt" "Amount" "Status" Column the whole result set is sorted on (optional): |
| sortDirection | string Enum: "Ascending" "Descending" Sort direction (optional): |
| pageNumber | integer <int32> 1-based page number (optional, defaults to 1, must be > 0). |
| pageSize | integer <int32> Number of items per page (optional, defaults to 20, capped at 100, must be > 0). |
| authorUserId | integer <int32> Restricts the listing to the requests of a single author (optional). It narrows the caller's own perimeter, it never widens it: a caller who only sees their own requests gets an empty page when naming a colleague. |
| hasReimbursement | boolean Restricts the listing to the requests attached to a reimbursement ( |
| reimbursementId | integer <int32> Restricts the listing to the requests carried by the given reimbursement (optional, must be > 0).
Combined with |
| categoryId | Array of integers <int32> [ items <int32 > ] Restricts the listing to the requests carrying one of the given categories (optional, repeatable, union
semantics), matched on the category recorded on the request — a category deactivated since stays filterable.
A bare |
| search | string Keyword matched against the request name, the author's display name or the category label (optional, union
of the three). Trimmed; a blank keyword restricts nothing. Case-insensitive, accent-sensitive; |
| createdFromDate | string <date-time> Inclusive lower bound on the creation date (optional), compared on the day of the server-stamped creation instant. It combines with the expense-date period rather than replacing it: a request created within the range but whose expense falls outside the period stays out. |
| createdToDate | string <date-time> Inclusive upper bound on the creation date (optional), compared on the day of the server-stamped creation instant, independently of the lower bound. |
{- "Items": [
- {
- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}
], - "TotalCount": 0,
- "PageNumber": 0,
- "PageSize": 0,
- "TotalPages": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
The full replacement payload, in the shape of the creation's.
| Name required | string |
| Amount | number or null <decimal> |
| ExpenseDate required | string <date-time> |
| Comment | string or null |
| CategoryId required | integer <int32> |
| SupportingDocumentId | integer <int32> |
Array of objects or null (VatBreakdownLineDto) | |
object (TripDto) | |
| FuelType | string or null Enum: "Petrol" "Diesel" "SuperethanolE85" "Lpg" "Cng" "Electricity" |
| VehicleType | string or null Enum: "PassengerCar" "CommercialVehicle" |
| LicensePlate | string or null |
object (BreakfastDto) | |
Array of objects or null (GuestDto) |
{- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
]
}{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
[- {
- "UserId": 0,
- "DisplayName": "string"
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseFromDate | string <date-time> Inclusive lower bound on the expense date (optional), as on the listing. |
| expenseToDate | string <date-time> Inclusive upper bound on the expense date (optional), as on the listing. |
{- "ToValidate": 0,
- "Validated": 0,
- "Refused": 0,
- "Reimbursed": 0,
- "ToCancel": 0,
- "Cancelled": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
The rejection payload carrying the reason.
| Reason required | string |
{- "Reason": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
The cancellation request payload carrying the reason.
| Reason required | string |
{- "Reason": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
The decline payload carrying the reason.
| Reason required | string |
{- "Reason": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "AuthorUserId": 0,
- "AuthorName": "string",
- "Name": "string",
- "Amount": 0,
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "Comment": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidatedAt": "2019-08-24T14:15:22Z",
- "CategoryId": 0,
- "SupportingDocumentId": 0,
- "VatBreakdown": [
- {
- "TaxRate": 0,
- "VatAmount": 0
}
], - "Trip": {
- "VehicleId": 0,
- "Distance": 0,
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "IsDistanceCalculated": true,
- "CalculatedDistance": 0,
- "CalculatedAt": "2019-08-24T14:15:22Z",
- "DistanceOverrideReason": "string",
- "IsDistanceOverridden": true,
- "IsRouteNotCalculable": true,
- "IsRoundTrip": true
}, - "FuelType": "Petrol",
- "VehicleType": "PassengerCar",
- "LicensePlate": "string",
- "Breakfast": {
- "Amount": 0,
- "Vat": {
- "TaxRate": 0,
- "VatAmount": 0
}
}, - "Guests": [
- {
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
], - "ExternalId": "string",
- "Status": "ToValidate",
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "Ht": 0,
- "Tva": 0,
- "History": [
- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| expenseRequestId required | integer <int32> The expense request identifier. |
[- {
- "Status": "Created",
- "OccurredOn": "2019-08-24T14:15:22Z",
- "ActorDisplayName": "string",
- "Reason": "string"
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| distance | integer <int32> The trip distance in kilometres (must be strictly positive). |
| vehicleId | integer <int32> The saved vehicle identifier; the cumulative right is tracked per vehicle and per user. Exclusive with the
|
| excludedExpenseRequestId | integer <int32> Optional. The expense request being edited: its own kilometres are left out of the cumulative mileage, so the simulated amount is the one its modification will record — for an expense dated in the current calendar year, since the simulation always computes on it. Omitted, every expense request of the year counts. An identifier matching none of the caller's mileage allowances for this vehicle changes nothing, and so does any identifier when the vehicle is unsaved: no expense request can reference a vehicle that does not exist yet. |
| vehicleType | string Enum: "PassengerCar" "Motorcycle" "Moped" Unsaved vehicle: its type ( |
| vehicleFiscalPower | string Enum: "Car3OrLess" "Car4" "Car5" "Car6" "Car7OrMore" "Moto1To2" "Moto3To5" "MotoOver5" Unsaved vehicle: its fiscal power. Required for a passenger car or a motorcycle, forbidden for a moped, and it has to belong to the vehicle type. |
| vehicleEnergy | string Enum: "Combustion" "Electric" "Hybrid" Unsaved vehicle: its energy ( |
| vehiclePriorKilometers | integer <int32> Unsaved vehicle: the kilometres already driven this calendar year (UTC) before the first trip declared here (optional, must not be negative). Omitted, it counts as 0. |
0| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The favorite guest payload.
| LastName | string or null |
| FirstName | string or null |
| JobTitle | string or null |
| Company | string or null |
{- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}{- "Id": 0,
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
[- {
- "Id": 0,
- "LastName": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "Company": "string"
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The favorite trip payload.
| Name required | string |
| Origin required | string |
| OriginLatitude | number or null <double> |
| OriginLongitude | number or null <double> |
| Destination required | string |
| DestinationLatitude | number or null <double> |
| DestinationLongitude | number or null <double> |
| Distance required | integer <int32> |
| IsRoundTrip required | boolean |
Array of objects or null (WaypointDto) | |
| CalculatedDistance | integer <int32> |
| DistanceOverrideReason | string or null |
{- "Name": "string",
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Distance": 0,
- "IsRoundTrip": true,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
], - "CalculatedDistance": 0,
- "DistanceOverrideReason": "string"
}{- "Id": 0,
- "Name": "string",
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Distance": 0,
- "CalculatedDistance": 0,
- "DistanceOverrideReason": "string",
- "IsRoundTrip": true,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
[- {
- "Id": 0,
- "Name": "string",
- "Origin": "string",
- "OriginLatitude": 0.1,
- "OriginLongitude": 0.1,
- "Destination": "string",
- "DestinationLatitude": 0.1,
- "DestinationLongitude": 0.1,
- "Distance": 0,
- "CalculatedDistance": 0,
- "DistanceOverrideReason": "string",
- "IsRoundTrip": true,
- "Waypoints": [
- {
- "Label": "string",
- "Latitude": 0.1,
- "Longitude": 0.1
}
]
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
{- "ChargeAccount": "string",
- "OwnerContributionAccount": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The charge account and the owner contribution account.
| ChargeAccount | string or null |
| OwnerContributionAccount | string or null |
{- "ChargeAccount": "string",
- "OwnerContributionAccount": "string"
}{- "ChargeAccount": "string",
- "OwnerContributionAccount": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The label and the reference price of the article.
| Label | string or null |
| ReferencePrice | number or null <decimal> |
{- "Label": "string",
- "ReferencePrice": 0
}{- "ArticleId": 0,
- "Label": "string",
- "ReferencePrice": 0,
- "Version": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| articleId required | integer <int32> The article identifier. |
The label and the reference price of the article, a full replacement.
| Label | string or null |
| ReferencePrice | number or null <decimal> |
{- "Label": "string",
- "ReferencePrice": 0
}{- "ArticleId": 0,
- "Label": "string",
- "ReferencePrice": 0,
- "Version": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| articleId required | integer <int32> The article identifier. |
{- "property1": null,
- "property2": null
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| year | integer <int32> The year of the declared month, for instance |
| month | integer <int32> The declared month, from |
| workedDays | integer <int32> The days worked in the month: a whole number from 0 to 31. |
{- "Articles": [
- {
- "Label": "string",
- "Quantity": 0,
- "RetainedPrice": 0,
- "Amount": 0
}
], - "Total": 0,
- "StandardDayVersion": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| year required | integer <int32> The year of the declared month. |
| month required | integer <int32> The declared month, from 1 to 12. |
The days worked in the month.
| WorkedDays | integer <int32> |
{- "WorkedDays": 0
}{- "Year": 0,
- "Month": 0,
- "WorkedDays": 0,
- "Articles": [
- {
- "Label": "string",
- "Quantity": 0,
- "RetainedPrice": 0,
- "Amount": 0
}
], - "Total": 0,
- "StandardDayVersion": 0,
- "Status": "Entered",
- "SubmittedAt": "2019-08-24T14:15:22Z",
- "StatementDocumentId": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| year required | integer <int32> The year of the declared month. |
| month required | integer <int32> The declared month, from 1 to 12. |
{- "Year": 0,
- "Month": 0,
- "WorkedDays": 0,
- "Articles": [
- {
- "Label": "string",
- "Quantity": 0,
- "RetainedPrice": 0,
- "Amount": 0
}
], - "Total": 0,
- "StandardDayVersion": 0,
- "Status": "Entered",
- "SubmittedAt": "2019-08-24T14:15:22Z",
- "StatementDocumentId": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
{- "Version": 0,
- "EffectiveDate": "2019-08-24",
- "AuthorUserId": 0,
- "Reason": "string",
- "Discount": 0,
- "Articles": [
- {
- "ArticleId": 0,
- "Label": "string",
- "ReferencePrice": 0,
- "RetainedPrice": 0,
- "QuantityPerDay": 0
}
], - "DailyAmount": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The reason, the quantity per day of each article and, optionally, the discount.
| Reason | string or null |
Array of objects or null (ComposedLaundryArticle) | |
| Discount | number or null <decimal> |
{- "Reason": "string",
- "Articles": [
- {
- "ArticleId": 0,
- "QuantityPerDay": 0
}
], - "Discount": 0
}{- "Version": 0,
- "EffectiveDate": "2019-08-24",
- "AuthorUserId": 0,
- "Reason": "string",
- "Discount": 0,
- "Articles": [
- {
- "ArticleId": 0,
- "Label": "string",
- "ReferencePrice": 0,
- "RetainedPrice": 0,
- "QuantityPerDay": 0
}
], - "DailyAmount": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
{- "property1": null,
- "property2": null
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
The entry observed, and the lettering it carries.
| LetterId required | integer <int32> The letter carrying the entry's transit line. |
| State required | string Enum: "NotReconciled" "PartiallyReconciled" "Reconciled" The reconciliation that lettering amounts to. |
| AccountingEntryId | integer <int32> The entry the lettering was observed on, when the observation names one. Completing a partial letter only reports the lines it just added — never the transit line lettered at the first step — so that observation names the letter alone, and the reimbursement is then resolved by the letter it memorised. |
| LetteredAt | string or null <date-time> The letter's accounting date, when the observation carries one. |
{- "LetterId": 0,
- "State": "NotReconciled",
- "AccountingEntryId": 0,
- "LetteredAt": "2019-08-24T14:15:22Z"
}{- "property1": null,
- "property2": null
}A lot still in preparation carries no validation date at all:
ValidationDate is
left out of the payload rather than serialized to null.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| statuses | Array of strings Items Enum: "Preparing" "Validated" "Reconciled" Restricts the listing to the given statuses (optional, repeatable, union semantics — omitted means every status). An unrecognised value is rejected with a 400 before reaching the query. |
| pageNumber | integer <int32> 1-based page number (optional, defaults to 1). |
| pageSize | integer <int32> Page size (optional, defaults to 20, capped at 100). |
{- "Items": [
- {
- "Id": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "BeneficiaryCount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}
}
], - "TotalCount": 0,
- "PageNumber": 0,
- "PageSize": 0,
- "TotalPages": 0
}account is optional at this stage — the lot can be constituted before its issuing
account is known, and validation is what enforces it (IbanRequiredForSepa, 417).
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The identifiers of the expenses to reimburse, the lot's name, its payment date and, optionally, its issuing account.
| ExpenseRequestIds required | Array of integers <int32> [ items <int32 > ] |
| Name required | string |
| PaymentDate required | string <date> |
object (ReimbursementAccountInput) |
{- "ExpenseRequestIds": [
- 0
], - "Name": "string",
- "PaymentDate": "2019-08-24",
- "Account": {
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string"
}
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "BankCoordinatesHistory": [
- {
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "CreatedBy": 0
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}, - "Beneficiaries": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "Amount": 0,
- "ExpenseCount": 0,
- "HasIban": true,
- "MaskedIban": "string",
- "LastIbanChange": {
- "OccurredOn": "2019-08-24T14:15:22Z",
- "Kind": "FirstEntry",
- "EnteredOnBehalf": true,
- "EnteredByDisplayName": "string",
- "IbanMatchesAuthorOwnAccount": true,
- "IsRecent": true,
- "IsSinceLotCreation": true
}, - "SharesIbanWithAnotherEmployee": true,
- "TransferredMaskedIban": "string",
- "IbanChangedSinceTransfer": true
}
], - "Transfers": [
- {
- "Id": 0,
- "Status": "Current",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
]
}Functional refusal (417) — switch on Errors[].Name:
ReimbursementCannotBeUpdated when the lot is not in preparation any more. This is
distinct from the 417 a caller gets from losing an optimistic-concurrency race against another
write on the same lot (InvalidStatusTransition): the first names a refusal on a lot the
request found already moved on, the second a request that got there second.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
The corrected name, payment date and issuing account.
| Name required | string |
| PaymentDate required | string <date> |
object (ReimbursementAccountInput) |
{- "Name": "string",
- "PaymentDate": "2019-08-24",
- "Account": {
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string"
}
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "BankCoordinatesHistory": [
- {
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "CreatedBy": 0
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}, - "Beneficiaries": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "Amount": 0,
- "ExpenseCount": 0,
- "HasIban": true,
- "MaskedIban": "string",
- "LastIbanChange": {
- "OccurredOn": "2019-08-24T14:15:22Z",
- "Kind": "FirstEntry",
- "EnteredOnBehalf": true,
- "EnteredByDisplayName": "string",
- "IbanMatchesAuthorOwnAccount": true,
- "IsRecent": true,
- "IsSinceLotCreation": true
}, - "SharesIbanWithAnotherEmployee": true,
- "TransferredMaskedIban": "string",
- "IbanChangedSinceTransfer": true
}
], - "Transfers": [
- {
- "Id": 0,
- "Status": "Current",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "BankCoordinatesHistory": [
- {
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "CreatedBy": 0
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}, - "Beneficiaries": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "Amount": 0,
- "ExpenseCount": 0,
- "HasIban": true,
- "MaskedIban": "string",
- "LastIbanChange": {
- "OccurredOn": "2019-08-24T14:15:22Z",
- "Kind": "FirstEntry",
- "EnteredOnBehalf": true,
- "EnteredByDisplayName": "string",
- "IbanMatchesAuthorOwnAccount": true,
- "IsRecent": true,
- "IsSinceLotCreation": true
}, - "SharesIbanWithAnotherEmployee": true,
- "TransferredMaskedIban": "string",
- "IbanChangedSinceTransfer": true
}
], - "Transfers": [
- {
- "Id": 0,
- "Status": "Current",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
]
}Not found (404) — ReimbursementNotFound when the folder holds no such lot.
Functional refusal (417) — InvalidStatusTransition when the lot is not in
preparation any more (validated, reconciled), with no side effect. A lot validated then
invalidated is back in preparation and abandons like any other. The same refusal is what the
loser of two concurrent gestures on the lot gets — nothing is replayed server side.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
{- "property1": null,
- "property2": null
}Not found (404) — ReimbursementNotFound when the folder holds no such lot.
Conflict (409) — the same refusals as the constitution, one error per offending expense,
its identifier in Errors[].Parameters: ExpenseAlreadyInReimbursement (this lot
included), ExpenseNotValidated. ExpenseSelectionChangedDuringPreparation when the
selection moved meanwhile, or names an expense the folder does not hold.
Functional refusal (417) — InvalidStatusTransition when the lot is not in
preparation any more (validated, reconciled), with no side effect; also what the loser of two
concurrent gestures on the same lot gets. The caller reads the lot back and retries.
Unprocessable (422) — EmptySelection, or SelectionTooLarge when the lot
would carry more than 5,000 expenses once completed.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
The identifiers of the expenses to add.
| ExpenseRequestIds required | Array of integers <int32> [ items <int32 > ] |
{- "ExpenseRequestIds": [
- 0
]
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "BankCoordinatesHistory": [
- {
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "CreatedBy": 0
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}, - "Beneficiaries": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "Amount": 0,
- "ExpenseCount": 0,
- "HasIban": true,
- "MaskedIban": "string",
- "LastIbanChange": {
- "OccurredOn": "2019-08-24T14:15:22Z",
- "Kind": "FirstEntry",
- "EnteredOnBehalf": true,
- "EnteredByDisplayName": "string",
- "IbanMatchesAuthorOwnAccount": true,
- "IsRecent": true,
- "IsSinceLotCreation": true
}, - "SharesIbanWithAnotherEmployee": true,
- "TransferredMaskedIban": "string",
- "IbanChangedSinceTransfer": true
}
], - "Transfers": [
- {
- "Id": 0,
- "Status": "Current",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
]
}Not found (404) — switch on Errors[].Name: ReimbursementNotFound when the
folder holds no such lot, ExpenseNotInReimbursement when the lot does not carry that
expense.
Functional refusal (417) — InvalidStatusTransition when the lot is not in
preparation any more (validated, reconciled), with no side effect. It is also what the loser
of two concurrent gestures on the same lot gets — two removals included, even of two different
expenses: nothing is replayed server side, the caller reads the lot back and retries.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
| expenseRequestId required | integer <int32> The expense request to remove from the lot. |
{- "property1": null,
- "property2": null
}The payment of a reimbursement is behind its own feature flag, on top of the preparation one the controller carries: turning preparation on does not turn validation on.
A payment date that has elapsed by the time of the validation — the lot waited in preparation, or was invalidated and is validated again later — is moved to the validation day rather than refused: the transfer file requests an execution that day, and the returned lot carries it. A payment date still to come is kept.
The whole enchainment runs under one unit of work — the file is kept and the lot transitions, or neither happens: the file store is enrolled as a transactional component, so a rollback erases what it wrote.
Functional refusals (417) — switch on Errors[].Name:
IbanRequiredForSepa when the lot has no issuing account,
DebtorNameUnknown when the accounting folder's own name cannot be resolved,
DebtorNameNotSepaCompatible when that name carries no character the SEPA charset keeps,
ReimbursementHasNoExpenseRequests when the lot carries no expense,
EmployeeMustHaveIban when a beneficiary has no bank account on file,
BeneficiaryNameNotSepaCompatible when a beneficiary's name carries no character the SEPA
charset keeps either, and
InvalidStatusTransition when the lot is not in preparation any more — which is what a
second validation gets, deliberately not a 409, and what the loser of two concurrent
validations gets too.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "BankCoordinatesHistory": [
- {
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "CreatedBy": 0
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}, - "Beneficiaries": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "Amount": 0,
- "ExpenseCount": 0,
- "HasIban": true,
- "MaskedIban": "string",
- "LastIbanChange": {
- "OccurredOn": "2019-08-24T14:15:22Z",
- "Kind": "FirstEntry",
- "EnteredOnBehalf": true,
- "EnteredByDisplayName": "string",
- "IbanMatchesAuthorOwnAccount": true,
- "IsRecent": true,
- "IsSinceLotCreation": true
}, - "SharesIbanWithAnotherEmployee": true,
- "TransferredMaskedIban": "string",
- "IbanChangedSinceTransfer": true
}
], - "Transfers": [
- {
- "Id": 0,
- "Status": "Current",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
]
}Validating again emits a second credit transfer order, with identifiers of its own. The first one may already have reached the bank: the file is handed over for deposit, so the module cannot know.
Functional refusal (417) — switch on Errors[].Name:
InvalidStatusTransition when the lot is not validated — one still in preparation, and a
reconciled one, which is settled and does not reopen here.
Accounting refusal (409/503/417) — accounting refuses the deletion of the passing entry as
a whole, and that deletion runs under the same unit of work as the status switch, so a refusal
undoes the switch without anything having been deleted and the lot stays Validated.
Named in 409: AccountingEntryValidated, AccountingExerciseLocked,
AccountingPeriodClosed and AccountingFolderClosed. 503, named
AccountingUnavailable, when accounting's answer leaves the entry's fate indeterminate
(network failure, timeout, or a 5xx/408 from accounting): the gesture can be retried safely once
accounting is reachable again. Any other refusal falls back to 417 (AccountingBackendError).
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Status": "Preparing",
- "Name": "string",
- "PaymentDate": "2019-08-24",
- "BankAccountId": 0,
- "Iban": "string",
- "Bic": "string",
- "BankCoordinatesHistory": [
- {
- "Iban": "string",
- "Bic": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "CreatedBy": 0
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "ValidationDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "ExpenseCount": 0,
- "HasTransferFile": true,
- "AccountingEntryId": 0,
- "HasAnomaly": true,
- "AnomalyCode": "string",
- "Reconciliation": {
- "State": "NotReconciled",
- "ReconciledAt": "2019-08-24T14:15:22Z"
}, - "Beneficiaries": [
- {
- "UserId": 0,
- "DisplayName": "string",
- "Amount": 0,
- "ExpenseCount": 0,
- "HasIban": true,
- "MaskedIban": "string",
- "LastIbanChange": {
- "OccurredOn": "2019-08-24T14:15:22Z",
- "Kind": "FirstEntry",
- "EnteredOnBehalf": true,
- "EnteredByDisplayName": "string",
- "IbanMatchesAuthorOwnAccount": true,
- "IsRecent": true,
- "IsSinceLotCreation": true
}, - "SharesIbanWithAnotherEmployee": true,
- "TransferredMaskedIban": "string",
- "IbanChangedSinceTransfer": true
}
], - "Transfers": [
- {
- "Id": 0,
- "Status": "Current",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
]
}The file served is the one kept at validation, never a fresh one. Its identifiers are drawn anew at each production, so regenerating would hand back a different document than the one the bank holds. There is no limit on how many times it can be fetched, and each link issued is journalled, naming the lot's current order.
Functional refusal (417) — switch on Errors[].Name:
ReimbursementHasNoTransferFile when the lot carries no file yet, rather than an empty
success.
A link, opened by navigation — not a redirect, not a fetch. Same shape as Paiement's own
download route: the front opens the returned URL with window.open rather than following
it as an HTTP redirect. A redirect would mean the browser's own request chases it cross-origin,
which would need a CORS rule granted on every storage account this route can point at just so
Content-Disposition stays readable. A navigation triggers no CORS at all: the browser
honours Content-Disposition natively, which is what names the download for the user —
the front never reads the name off this response either way.
The route always answers a link — there is no direct-file fallback. Only a store able to sign a temporary URL can serve this route; the disk-backed store R6's one-off migration still needs cannot, and asking it here is a configuration fault the route fails loudly on, not a business refusal to soften.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| reimbursementId required | integer <int32> The reimbursement identifier. |
"string"Bad request (400) — an unknown status, a non-positive page number or page size, or a
paymentInformationId longer than 35 characters.
A lot invalidated then validated again reuses its payment information identifier, so
filtering on it lists every order that lot ever emitted. `ReimbursementName` on a row is
the lot's current name, left out once the lot is deleted.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| statuses | Array of strings Items Enum: "Current" "Superseded" Restricts the listing to the given statuses (optional, repeatable, union semantics — omitted means every status). An unrecognised value is rejected with a 400 before reaching the query. |
| reimbursementDeleted | boolean
|
| paymentInformationId | string Keeps the orders carrying exactly this payment information identifier (optional). It is shared by every order of a lot, so it finds them all, the superseded ones and those of a lot since deleted included. At most 35 characters. |
| pageNumber | integer <int32> 1-based page number (optional, defaults to 1). |
| pageSize | integer <int32> Page size (optional, defaults to 20, capped at 100). |
{- "Items": [
- {
- "Id": 0,
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "IsReimbursementDeleted": true,
- "Status": "Current",
- "IsFileServed": true,
- "MessageId": "string",
- "PaymentInformationId": "string",
- "RequestedExecutionDate": "2019-08-24",
- "FileSha256": "string",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "IssuingBic": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}
], - "TotalCount": 0,
- "PageNumber": 0,
- "PageSize": 0,
- "TotalPages": 0
}Not found (404) — ReimbursementTransferNotFound. An unknown identifier and the
identifier of an order of another accounting folder answer the very same status and body: the
opacity is deliberate, identifiers being sequential, and it only ever covers the isolation
between folders.
What the lines carry.CreditorName and RemittanceInformation are the values
recorded when the order was emitted, before they were put in SEPA format for the file, which is
why they can differ from the file's. An IBAN is only ever returned masked
(MaskedIban, the IBAN the order credits); IbanChangedSinceTransfer tells whether
the IBAN the employee holds today differs from it, compared on the full value, and is true when
the employee holds none any more. EmployeeDisplayName and the authors' names are left out
when the directory does not resolve them — never replaced by an identifier.
The header.ReimbursementId is always the emitting lot's identifier;
ReimbursementName is that lot's current name, which can have been changed since
the order was emitted, and is left out once the lot is deleted
(IsReimbursementDeleted). IsFileServed tells the state of the order — only the
current order of a lot serves its file — not whether the caller may download it.
A lot invalidated then validated again reuses its payment information identifier:
PaymentInformationId is therefore the same on every order of a lot, whereas
MessageId is not.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| transferId required | integer <int32> The transfer order identifier, as listed in a lot's |
{- "Header": {
- "Id": 0,
- "ReimbursementId": 0,
- "ReimbursementName": "string",
- "IsReimbursementDeleted": true,
- "Status": "Current",
- "IsFileServed": true,
- "MessageId": "string",
- "PaymentInformationId": "string",
- "RequestedExecutionDate": "2019-08-24",
- "FileSha256": "string",
- "EmittedAt": "2019-08-24T14:15:22Z",
- "EmittedByDisplayName": "string",
- "SupersededAt": "2019-08-24T14:15:22Z",
- "SupersededByDisplayName": "string",
- "IssuingMaskedIban": "string",
- "IssuingBic": "string",
- "TotalAmount": 0,
- "BeneficiaryCount": 0
}, - "Lines": [
- {
- "UserId": 0,
- "EmployeeDisplayName": "string",
- "MaskedIban": "string",
- "IbanChangedSinceTransfer": true,
- "CreditorName": "string",
- "Amount": 0,
- "EndToEndId": "string",
- "RemittanceInformation": "string"
}
]
}Not found (404) — ReimbursementTransferNotFound, for an unknown identifier and for
the identifier of an order of another accounting folder alike: same status, same body, the
opacity being deliberate and limited to the isolation between folders. Never answered as a 409.
Conflict (409) — SupersededTransferFileNotServed when the order is no longer the
current one of its lot, because the lot was invalidated and possibly validated again. The file of
a superseded order is never served, by any route: it has been replaced in the application, which
does not cancel an order already handed to the bank, and handing the same instruction over a
second time would expose the company to a second execution. Only the file of the current order is
downloadable, through this route or through the lot's own transfer file route, which serve the
same file under the same name.
A link, opened by navigation — not a redirect, not a fetch, exactly like the lot's route. Each link issued is traced with its order, its lot, its folder and the caller, and so is each refusal; a link already issued stays valid until it expires, even if the lot is invalidated meanwhile.
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| transferId required | integer <int32> The transfer order identifier, as listed in a lot's |
"string"| originLatitude required | number <double> Latitude of the departure point, required, between -90 and 90. |
| originLongitude required | number <double> Longitude of the departure point, required, between -180 and 180. |
| destinationLatitude required | number <double> Latitude of the arrival point, required, between -90 and 90. |
| destinationLongitude required | number <double> Longitude of the arrival point, required, between -180 and 180. |
| waypointLatitudes | Array of numbers <double> [ items <double > ] Latitudes of the stops, in route order, between -90 and 90. Up to 8 values, as many as
|
| waypointLongitudes | Array of numbers <double> [ items <double > ] Longitudes of the stops, in route order, between -180 and 180. Up to 8 values, as many as
|
| isRoundTrip | boolean Optional; |
{- "Outcome": "Calculated",
- "DistanceKm": 0,
- "UnrecognizedAddressIndexes": [
- 0
], - "OutboundDistanceKm": 0,
- "ReturnDistanceKm": 0
}| originLatitude required | number <double> Latitude of the departure point, required, between -90 and 90. |
| originLongitude required | number <double> Longitude of the departure point, required, between -180 and 180. |
| destinationLatitude required | number <double> Latitude of the arrival point, required, between -90 and 90. |
| destinationLongitude required | number <double> Longitude of the arrival point, required, between -180 and 180. |
| waypointLatitudes | Array of numbers <double> [ items <double > ] Latitudes of the stops, in route order, between -90 and 90. Up to 8 values, as many as
|
| waypointLongitudes | Array of numbers <double> [ items <double > ] Longitudes of the stops, in route order, between -180 and 180. Up to 8 values, as many as
|
| isRoundTrip | boolean Optional; |
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| file | string <binary> The file to upload (multipart/form-data, field name: |
{- "DocumentId": 0
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| file | string <binary> The file to analyse (multipart/form-data, field name: |
{- "MerchantName": "string",
- "ExpenseDate": "2019-08-24T14:15:22Z",
- "AmountTtc": 0,
- "CurrencyCode": "string",
- "VatLines": [
- {
- "TaxRate": 0,
- "BaseHt": 0,
- "VatAmount": 0
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| file | string <binary> The file to deposit (multipart/form-data, field name: |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "AppliedOn": "2019-08-24T14:15:22Z",
- "AppliedByUserId": 0,
- "CancelledOn": "2019-08-24T14:15:22Z",
- "CancelledByUserId": 0,
- "Counts": {
- "Valid": 0,
- "Rejected": 0,
- "Created": 0,
- "Removed": 0,
- "Kept": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "Model": "string",
- "Outcome": "Valid",
- "Errors": [
- {
- "Column": "Email",
- "Reason": "string"
}
], - "KeptBecause": "VehicleInUse"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
[- {
- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "AppliedOn": "2019-08-24T14:15:22Z",
- "AppliedBy": {
- "UserId": 0,
- "DisplayName": "string"
}, - "CancelledOn": "2019-08-24T14:15:22Z",
- "Counts": {
- "Valid": 0,
- "Rejected": 0,
- "Created": 0,
- "Removed": 0,
- "Kept": 0
}
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| importId required | integer <int32> The import identifier. |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "AppliedOn": "2019-08-24T14:15:22Z",
- "AppliedByUserId": 0,
- "CancelledOn": "2019-08-24T14:15:22Z",
- "CancelledByUserId": 0,
- "Counts": {
- "Valid": 0,
- "Rejected": 0,
- "Created": 0,
- "Removed": 0,
- "Kept": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "Model": "string",
- "Outcome": "Valid",
- "Errors": [
- {
- "Column": "Email",
- "Reason": "string"
}
], - "KeptBecause": "VehicleInUse"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| importId required | integer <int32> The import identifier. |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "AppliedOn": "2019-08-24T14:15:22Z",
- "AppliedByUserId": 0,
- "CancelledOn": "2019-08-24T14:15:22Z",
- "CancelledByUserId": 0,
- "Counts": {
- "Valid": 0,
- "Rejected": 0,
- "Created": 0,
- "Removed": 0,
- "Kept": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "Model": "string",
- "Outcome": "Valid",
- "Errors": [
- {
- "Column": "Email",
- "Reason": "string"
}
], - "KeptBecause": "VehicleInUse"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| importId required | integer <int32> The import identifier. |
{- "ImportId": 0,
- "State": "Reported",
- "SubmittedOn": "2019-08-24T14:15:22Z",
- "SubmittedByUserId": 0,
- "AppliedOn": "2019-08-24T14:15:22Z",
- "AppliedByUserId": 0,
- "CancelledOn": "2019-08-24T14:15:22Z",
- "CancelledByUserId": 0,
- "Counts": {
- "Valid": 0,
- "Rejected": 0,
- "Created": 0,
- "Removed": 0,
- "Kept": 0
}, - "Lines": [
- {
- "Row": 0,
- "Email": "string",
- "Model": "string",
- "Outcome": "Valid",
- "Errors": [
- {
- "Column": "Email",
- "Reason": "string"
}
], - "KeptBecause": "VehicleInUse"
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
The vehicle payload.
| Model required | string |
| VehicleType required | string Enum: "PassengerCar" "Motorcycle" "Moped" |
| FiscalPower | string or null Enum: "Car3OrLess" "Car4" "Car5" "Car6" "Car7OrMore" "Moto1To2" "Moto3To5" "MotoOver5" |
| Energy required | string Enum: "Combustion" "Electric" "Hybrid" |
| PriorKilometers required | integer <int32> |
| LicensePlate | string or null |
| RegistrationDocumentId | integer <int32> |
{- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "LicensePlate": "string",
- "RegistrationDocumentId": 0
}{- "Id": 0,
- "AccountingFolderId": 0,
- "OwnerUserId": 0,
- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "RegistrationDocumentId": 0,
- "State": "Unused",
- "LicensePlate": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "OwnerUserId": 0,
- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "RegistrationDocumentId": 0,
- "State": "Unused",
- "LicensePlate": "string"
}
]| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| vehicleId required | integer <int32> The vehicle identifier. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "OwnerUserId": 0,
- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "RegistrationDocumentId": 0,
- "State": "Unused",
- "LicensePlate": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| vehicleId required | integer <int32> The vehicle identifier. |
The vehicle's new characteristics, a full replacement.
| Model required | string |
| VehicleType required | string Enum: "PassengerCar" "Motorcycle" "Moped" |
| FiscalPower | string or null Enum: "Car3OrLess" "Car4" "Car5" "Car6" "Car7OrMore" "Moto1To2" "Moto3To5" "MotoOver5" |
| Energy required | string Enum: "Combustion" "Electric" "Hybrid" |
| PriorKilometers required | integer <int32> |
| LicensePlate | string or null |
{- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "LicensePlate": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "OwnerUserId": 0,
- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "RegistrationDocumentId": 0,
- "State": "Unused",
- "LicensePlate": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| vehicleId required | integer <int32> The vehicle identifier. |
{- "property1": null,
- "property2": null
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| vehicleId required | integer <int32> The vehicle identifier. |
| file | string <binary> The registration document file (multipart/form-data, field name: |
{- "Id": 0,
- "AccountingFolderId": 0,
- "OwnerUserId": 0,
- "Model": "string",
- "VehicleType": "PassengerCar",
- "FiscalPower": "Car3OrLess",
- "Energy": "Combustion",
- "PriorKilometers": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "RegistrationDocumentId": 0,
- "State": "Unused",
- "LicensePlate": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier (tenant scope). |
| vehicleId required | integer <int32> The vehicle identifier. |
{- "property1": null,
- "property2": null
}