openapi: 3.2.0
info:
title: Logistics Cost Management HTTP Billing API
description: Thank you for using our HTTP API documentation.
version: '2.0'
servers:
- url: https://rz3.aeb.de/demo1billing/rest
security:
- SWAGGER_AUTH_KEY: []
- BASIC_AUTH: []
tags:
- name: Billing
description: API for the billing of services
paths:
/BillingBFBean/acknowledgeChangedSettlements:
post:
tags:
- Billing
summary: acknowledgeChangedSettlements
description: Acknowledge that changed settlements were processed and should no longer be returned by getChangedSettlements.
operationId: acknowledgeChangedSettlements
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BAcknowledgeChangedSettlementsRequestDTO'
application/xml:
schema:
$ref: '#/components/schemas/BAcknowledgeChangedSettlementsRequestDTO'
responses:
default:
description: default response
content:
application/json:
schema:
$ref: '#/components/schemas/BAcknowledgeChangedSettlementsResponseDTO'
application/xml:
schema:
$ref: '#/components/schemas/BAcknowledgeChangedSettlementsResponseDTO'
security:
- BASIC_AUTH: []
/BillingBFBean/cancelServiceItems:
post:
tags:
- Billing
summary: cancelServiceItems
description: Cancel the service items in the Billing engine.
Cancel a service item will try to logically remove the service item with all of its settelement items, if this is possible.
In some cases the cancellation of service items is not (or no longer) possible and will lead to errors.
E.g. the service item can not be found, or some of the settlement items of the service item can not or no longer be logically removed.
The processing of all items will be done in one transaction, so in case of any error, nothing will be persisted. Therefore check the errorFlag and message arrays in the response for any error to detect this case.
operationId: cancelServiceItems
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BReverseServiceItemsRequestDTO'
application/xml:
schema:
$ref: '#/components/schemas/BReverseServiceItemsRequestDTO'
responses:
default:
description: default response
content:
application/json:
schema:
$ref: '#/components/schemas/BReverseServiceItemsResponseDTO'
application/xml:
schema:
$ref: '#/components/schemas/BReverseServiceItemsResponseDTO'
security:
- BASIC_AUTH: []
/BillingBFBean/createServiceItems:
post:
tags:
- Billing
summary: createServiceItems
description: Creates one or more service items. For each BServiceItemDTO included in the BCreateServiceItemsRequestDTO one service item is created. Starts pricing if boolean calculatePriceImmediately in BCreateServiceItemParmsDTO is true and returns the calculated prices. Use this method if you want to invoice and or audit the service items.
operationId: createServiceItems
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BCreateServiceItemsRequestDTO'
examples:
Complete data:
description: Complete data
value:
clientSystemId: APITEST
clientIdentCode: APITEST
userName: user
resultLanguageIsoCodes:
- de
- en
parms:
calculatePriceImmediately: false
createSettlementsImmediately: false
returnTraceInfo: true
rollbackOnErrorMessage: true
items:
- itemId: 25-11-2022
scenarioIdentCode: A01
serviceIdentCode: TNTDE_EXP12
referenceNumber: 25-11-2022
orderNumber: 25-11-2022
serviceProvider:
companyNumber: TNT
name: TNT Express Worldwide
street: Heilbronner Staße 110
postcode: '70334'
city: Stuttgart
countryISOCode: DE
orderer:
companyNumber: '001'
name: AEB SE
street: Sigmaringer Straße 109
postcode: '70567'
city: Stuttgart
countryISOCode: DE
payer:
companyNumber: '001'
name: AEB SE
street: Sigmaringer Straße 109
postcode: '70567'
city: Stuttgart
countryISOCode: DE
beneficiary:
companyNumber: '001'
name: AEB SE
street: Sigmaringer Straße 109
postcode: '70567'
city: Stuttgart
countryISOCode: DE
referenceDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
pricingDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
chargeDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
serviceDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
orderDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
quantity:
value: '1'
unit: St
description: Shipment
extendedData:
fields:
- name: carrierDefinitionIdentCode
type: string
value: TNT
- name: numberOfInvoices
type: decimal
value: '1'
- name: isDangerousGoods
type: boolean
value: 'false'
- name: referenceNumber
type: string
value: referenceNumber
- name: incotermIdentCode
type: string
value: incoterm
- name: numberOfItems
type: decimal
value: '2'
- name: palletPlaces
type: decimal
value: '1.000'
- name: numberOfPackages
type: decimal
value: '2'
- name: isDocumentShipment
type: boolean
value: 'false'
- name: numberOfDeliveryNotes
type: decimal
value: '1'
subrecords:
- name: volume
record:
fields:
- name: unit
type: string
value: ccm
- name: value
type: decimal
value: '4500.000'
- name: grossWeight
record:
fields:
- name: unit
type: string
value: kg
- name: value
type: decimal
value: '1.900'
- name: transportStart
record:
subrecords:
- name: postalAddress
record:
fields:
- name: countryIsoCode
type: string
value: DE
- name: postcode
type: string
value: '70597'
- name: transportEnd
record:
subrecords:
- name: postalAddress
record:
fields:
- name: countryIsoCode
type: string
value: DE
- name: postcode
type: string
value: '94405'
- name: packages
record:
fields:
- name: dangerousGoodsHandlingCode
type: string
value: NONE
- name: packageReferenceNumber
type: string
value: package1
- name: numberOfPackages
type: decimal
value: '1'
subrecords:
- name: volume
record:
fields:
- name: unit
type: string
value: ccm
- name: value
type: decimal
value: '1500.000'
- name: grossWeight
record:
fields:
- name: unit
type: string
value: kg
- name: value
type: decimal
value: '0.600'
- name: dimensions
record:
fields:
- name: length
type: decimal
value: '30.000'
- name: width
type: decimal
value: '10.000'
- name: quantityUnit
type: string
value: cm
- name: height
type: decimal
value: '5.000'
- name: packages
record:
fields:
- name: dangerousGoodsHandlingCode
type: string
value: NONE
- name: packageTypeIdentCode
type: string
value: packageType
- name: packageReferenceNumber
type: string
value: package2
- name: numberOfPackages
type: decimal
value: '1'
subrecords:
- name: volume
record:
fields:
- name: unit
type: string
value: ccm
- name: value
type: decimal
value: '3000.000'
- name: grossWeight
record:
fields:
- name: unit
type: string
value: kg
- name: value
type: decimal
value: '1.300'
- name: dimensions
record:
fields:
- name: length
type: decimal
value: '30.000'
- name: width
type: decimal
value: '20.000'
- name: quantityUnit
type: string
value: cm
- name: height
type: decimal
value: '5.000'
application/xml:
schema:
$ref: '#/components/schemas/BCreateServiceItemsRequestDTO'
examples:
Complete data:
description: Complete data
value:
clientSystemId: APITEST
clientIdentCode: APITEST
userName: user
resultLanguageIsoCodes:
- de
- en
parms:
calculatePriceImmediately: false
createSettlementsImmediately: false
returnTraceInfo: true
rollbackOnErrorMessage: true
items:
- itemId: 25-11-2022
scenarioIdentCode: A01
serviceIdentCode: TNTDE_EXP12
referenceNumber: 25-11-2022
orderNumber: 25-11-2022
serviceProvider:
companyNumber: TNT
name: TNT Express Worldwide
street: Heilbronner Staße 110
postcode: '70334'
city: Stuttgart
countryISOCode: DE
orderer:
companyNumber: '001'
name: AEB SE
street: Sigmaringer Straße 109
postcode: '70567'
city: Stuttgart
countryISOCode: DE
payer:
companyNumber: '001'
name: AEB SE
street: Sigmaringer Straße 109
postcode: '70567'
city: Stuttgart
countryISOCode: DE
beneficiary:
companyNumber: '001'
name: AEB SE
street: Sigmaringer Straße 109
postcode: '70567'
city: Stuttgart
countryISOCode: DE
referenceDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
pricingDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
chargeDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
serviceDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
orderDate:
dateInTimezone: '2022-11-25 12:00:00'
timezone: Europe/Berlin
quantity:
value: '1'
unit: St
description: Shipment
extendedData:
fields:
- name: carrierDefinitionIdentCode
type: string
value: TNT
- name: numberOfInvoices
type: decimal
value: '1'
- name: isDangerousGoods
type: boolean
value: 'false'
- name: referenceNumber
type: string
value: referenceNumber
- name: incotermIdentCode
type: string
value: incoterm
- name: numberOfItems
type: decimal
value: '2'
- name: palletPlaces
type: decimal
value: '1.000'
- name: numberOfPackages
type: decimal
value: '2'
- name: isDocumentShipment
type: boolean
value: 'false'
- name: numberOfDeliveryNotes
type: decimal
value: '1'
subrecords:
- name: volume
record:
fields:
- name: unit
type: string
value: ccm
- name: value
type: decimal
value: '4500.000'
- name: grossWeight
record:
fields:
- name: unit
type: string
value: kg
- name: value
type: decimal
value: '1.900'
- name: transportStart
record:
subrecords:
- name: postalAddress
record:
fields:
- name: countryIsoCode
type: string
value: DE
- name: postcode
type: string
value: '70597'
- name: transportEnd
record:
subrecords:
- name: postalAddress
record:
fields:
- name: countryIsoCode
type: string
value: DE
- name: postcode
type: string
value: '94405'
- name: packages
record:
fields:
- name: dangerousGoodsHandlingCode
type: string
value: NONE
- name: packageReferenceNumber
type: string
value: package1
- name: numberOfPackages
type: decimal
value: '1'
subrecords:
- name: volume
record:
fields:
- name: unit
type: string
value: ccm
- name: value
type: decimal
value: '1500.000'
- name: grossWeight
record:
fields:
- name: unit
type: string
value: kg
- name: value
type: decimal
value: '0.600'
- name: dimensions
record:
fields:
- name: length
type: decimal
value: '30.000'
- name: width
type: decimal
value: '10.000'
- name: quantityUnit
type: string
value: cm
- name: height
type: decimal
value: '5.000'
- name: packages
record:
fields:
- name: dangerousGoodsHandlingCode
type: string
value: NONE
- name: packageTypeIdentCode
type: string
value: packageType
- name: packageReferenceNumber
type: string
value: package2
- name: numberOfPackages
type: decimal
value: '1'
subrecords:
- name: volume
record:
fields:
- name: unit
type: string
value: ccm
- name: value
type: decimal
value: '3000.000'
- name: grossWeight
record:
fields:
- name: unit
type: string
value: kg
- name: value
type: decimal
value: '1.300'
- name: dimensions
record:
fields:
- name: length
type: decimal
value: '30.000'
- name: width
type: decimal
value: '20.000'
- name: quantityUnit
type: string
value: cm
- name: height
type: decimal
value: '5.000'
responses:
default:
description: default response
content:
application/json:
schema:
$ref: '#/components/schemas/BCreateServiceItemsResponseDTO'
application/xml:
schema:
$ref: '#/components/schemas/BCreateServiceItemsResponseDTO'
security:
- BASIC_AUTH: []
/BillingBFBean/getBillingScenarios:
post:
tags:
- Billing
summary: getBillingScenarios
description: Returns all billing scenarios for the given client
operationId: getBillingScenarios
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BGetBillingScenariosRequestDTO'
application/xml:
schema:
$ref: '#/components/schemas/BGetBillingScenariosRequestDTO'
responses:
default:
description: default response
content:
application/json:
schema:
$ref: '#/components/schemas/BGetBillingScenariosResponseDTO'
application/xml:
schema:
$ref: '#/components/schemas/BGetBillingScenariosResponseDTO'
security:
- BASIC_AUTH: []
/BillingBFBean/getBillingServices:
post:
tags:
- Billing
summary: getBillingServices
description: Returns all billing services for the given client and billing scenario as optional parameter.
operationId: getBillingServices
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BGetBillingServicesRequestDTO'
application/xml:
schema:
$ref: '#/components/schemas/BGetBillingServicesRequestDTO'
responses:
default:
description: default response
content:
application/json:
schema:
$ref: '#/components/schemas/BGetBillingServicesResponseDTO'
application/xml:
schema:
$ref: '#/components/schemas/BGetBillingServicesResponseDTO'
security:
- BASIC_AUTH: []
/BillingBFBean/getChangedSettlements:
post:
tags:
- Billing
summary: getChangedSettlements
description:
Returns all changed settlements.
This method should be used together with acknowledgeChangedSettlements.
See also BGetChangedSettlementsResponseDTO#syncId operationId: getChangedSettlements requestBody: content: application/json: schema: $ref: '#/components/schemas/BGetChangedSettlementsRequestDTO' application/xml: schema: $ref: '#/components/schemas/BGetChangedSettlementsRequestDTO' responses: default: description: default response content: application/json: schema: $ref: '#/components/schemas/BGetChangedSettlementsResponseDTO' application/xml: schema: $ref: '#/components/schemas/BGetChangedSettlementsResponseDTO' security: - BASIC_AUTH: [] /BillingBFBean/getServiceItems: post: tags: - Billing summary: getServiceItems description: Returns all service items for the given client. operationId: getServiceItems requestBody: content: application/json: schema: $ref: '#/components/schemas/BGetServiceItemsRequestDTO' application/xml: schema: $ref: '#/components/schemas/BGetServiceItemsRequestDTO' responses: default: description: default response content: application/json: schema: $ref: '#/components/schemas/BGetServiceItemsResponseDTO' application/xml: schema: $ref: '#/components/schemas/BGetServiceItemsResponseDTO' security: - BASIC_AUTH: [] /BillingBFBean/offsetServiceItems: post: tags: - Billing summary: offsetServiceItems description: Offset the service items in the Billing engine.length=50
vatInfo: $ref: '#/components/schemas/BVatInfoResultDTO' settlementNetPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' settlementVatPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' description:Accounting item of a settlement.
Accumulation of settlement items grouped by cost center and VAT.
BCreateServiceItemsResponseDTO: type: object properties: hasErrors: type: boolean description:True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' itemResults: type: array description: For every item in the request there will be one BServiceItemResultDTO in this array, in the same order as in the request. items: $ref: '#/components/schemas/BServiceItemResultDTO' description: Return value for the the method IBillingBF.createServiceItems(). BVatInfoResultDTO: type: object properties: typeIdentCode: type: string description:length=50
percent: type: number description: Value between0 and 100.
description: Information about a VAT that was applied to prices.
BReverseServiceItemsRequestDTO:
type: object
properties:
clientSystemId:
type: string
description: 'Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' reasonOfReversal: type: string description:A qualified reason for reversal.
length=250
items: type: array description: An array of items that should be be processed. items: $ref: '#/components/schemas/BServiceItemReferenceDTO' description: Request parameter for the the method IBillingBF.cancelServiceItems or IBillingBF.offsetServiceItems NamedGenericDataRecordDTO: type: object properties: name: type: string description: The name of this record, i.e. the role the record plays in the enclosing record.length=50
priceTypeLabels: type: array description: Human readable label for the price type in the languages requested. items: $ref: '#/components/schemas/TextInLanguageDTO' description: Information about a price type in a response. BDateAndZoneDTO: type: object properties: dateInTimezone: type: string description: 'String representation of the date/time stamp in the format yyyy-MM-dd HH:mm:ss
Length: 19
' timezone: type: string description: 'Time zone of the time stamp.
Examples of valid time zones: "GMT+01:00" or "GMT-02:00".
Maximum length: 50
' description: Date and zone for Logistics Cost Management. BGetBillingServicesRequestDTO: type: object properties: clientSystemId: type: string description: 'Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' scenarioIdentCode: type: string description: The identCode of the billing scenario optional parameter description: Request parameter for IBillingBF#getBillingServices. BQuantityDTO: type: object properties: value: multipleOf: 0.001 maximum: 999999999999.999 type: number description: The value of the quantity. unit: maxLength: 10 type: string description: " \t\t\tIdentifier of the quantity unit. Use quantity units known from your AEB application or alternatively domain specific or legacy quantity codes, but not the UNECE code.\n \t\t\tFor UNECE unit codes use the 'uneceUnit' field, if supported.\n\n \t\t\tWeight unit codes:\n \t\t\t* kg - Kilogram\n \t* gr - Gram\n \t* t - Metric ton\n \t* lb - Pound\n \t* oz - Ounce\n\n \tLength unit codes:\n \t* m - Meter\n \t* mm - Milimeter\n \t* cm - Centimeter\n \t* dm - Decimeter\n \t* km - Kilometer\n \t* ft - Foot\n \t* in - Inch\n \t* mi - Mile\n \t* nm - Nanometer\n \t* µm - Micrometer\n\n \tVolume unit codes:\n \t* ccm - Cubic centimeter\n \t* cdm - Cubic decimeter\n \t* m3 - Cubic meter\n \t* ml - Milliliter\n \t* cl - Centiliter\n \t* hl - Hectoliter\n \t* l - Liter\n \t* cuin - Cubic inch\n \t* cuft - Cubic foot\n\n \tQuantity unit codes:\n \t* St - Piece\n \t* Paar - Pair\n\n \tDensity unit codes:\n \t* g/ccm - grams per cubic centimeter\n \t* kg/m3 - kilogram per cubic meter\n\n \tTime unit codes:\n \t* h - Hour\n \t* stu - Hour\n \t* std - Hour\n \t* oph - Operational hour\n \t* s - Second\n \t* min - Minute\n \t* 15m - 15 mins\n \t* d - Day\n \t* tag - Day\n \t* wch - Week\n \t* mon - Month\n \t* jhr - Year\n \t* mis - Millisecond\n \t* ms - Microsecond\n \t* ns - Nanosecond\n \t* ps - Picosecond\n\n \tArea unit codes:\n \t\t\t* qm - Square meter\n \t* qmm - Square millimeter\n \t* qcm - Square centimeter\n \t* qdm - Square decimeter\n" example: kg uneceUnit: maxLength: 3 type: string description: " \t\t\tIdentifier of the quantity unit based on 'Recommendation No. 20 - Units of Measure used in International Trade'.Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' description: Request parameter for IBillingBF#getBillingsScenarios. GenericDataFieldDTO: type: object properties: name: type: string description:Name of this field, i.e. the role the field plays in the enclosing record.
When the same name is repeated in the context of the same parent record, it is assumed that the parent defines this element as a repeatable (array) element.
value: type: string description:Value of the field.
The format follows the conventions of xml schema encoding, see http://www.w3.org/TR/xmlschema-2/.
Data type of the field.
This is not strictly necessary since the receiving entity should be able to infer the structure with its own meta data; it may be used however for sanity checks.
The format follows the conventions of xml schema encoding, see http://www.w3.org/TR/xmlschema-2/.
True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' countCreated: type: integer description: Number of created services. This counter is null, if the processing of the request was cancelled because of missing key fields. format: int32 countUpdated: type: integer description: Number of updated services. This counter is null, if the processing of the request was cancelled because of missing key fields. format: int32 countError: type: integer description: Number of services with errors (not created or updated nor locked) format: int32 countLocked: type: integer description: Number of locked services (not updated). This counter is null, if the processing of the request was cancelled because of missing key fields. format: int32 results: type: array description: Results for every service passed.false the response does not include any prices.
createSettlementsImmediately:
type: boolean
description: Create Settlements for all items immediately.Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' getSettlementItems: type: boolean description: Also retrieve the settlement items of the service item. If this value is empty, it will be interpreted as false. items: type: array description: An array of items that should be retrieved. items: $ref: '#/components/schemas/BServiceItemReferenceDTO' description: Request dto for the the method IBillingBF.getServiceItems. BServiceItemDTO: type: object properties: itemId: type: string description:ID of the service item which has to be unique within the client system.
Sending of an item with the same itemId and clientSystemId will be rejected with an error (unless the item was cancelled before).length=50
clientOrgaId: type: string description:Human readable id which identifies a client organization
The organization ID can be used for splitting and assigning settlement items to build up settlements. Therefore, if the import data doesn't provide for an organization ID, the import process will set a default organization ID into the service item.
length=20
clientSystemUser: $ref: '#/components/schemas/BContactDTO' clientSystemCostCenter: type: string description: preset client system cost center for the itemlength=50
clientSystemUri: type: string description: client system resource locator to execute a shell with a viewer on the item in the host system.length=250
scenarioIdentCode: type: string description: IdentCode of the scenario of the item. Service depend on the scenario.length=50
serviceIdentCode: type: string description: IdentCode for the Servicelength=50
referenceNumber: type: string description: Main reference number for the service itemlength=50
orderNumber: type: string description: Main order number for the service itemlength=50
serviceProvider: $ref: '#/components/schemas/BCompanyDTO' serviceProviderContact: $ref: '#/components/schemas/BContactDTO' orderer: $ref: '#/components/schemas/BCompanyDTO' ordererContact: $ref: '#/components/schemas/BContactDTO' payer: $ref: '#/components/schemas/BCompanyDTO' payerContact: $ref: '#/components/schemas/BContactDTO' beneficiary: $ref: '#/components/schemas/BCompanyDTO' referenceDate: $ref: '#/components/schemas/BDateAndZoneDTO' pricingDate: $ref: '#/components/schemas/BDateAndZoneDTO' chargeDate: $ref: '#/components/schemas/BDateAndZoneDTO' serviceDate: $ref: '#/components/schemas/BDateAndZoneDTO' orderDate: $ref: '#/components/schemas/BDateAndZoneDTO' quantity: $ref: '#/components/schemas/BQuantityDTO' precalculatedNetPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' extendedData: $ref: '#/components/schemas/GenericDataRecordDTO' description: type: string description: A human readable description text for the service item, possibly to be printed on some documents.length=250
description: A serviceItem that contains all information for pricing and invoicing.ID of the item.
length=50
statusIdentCode: type: string description:Status of the item after save and optional operations
length=10
contractNumber: type: string description: Number of the contract that will be used to calculate the service item. If this field is filled a valid contract was found for the service item. The price calculation might still fail because of other errors. clientPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' vatRatePercent: type: number description: The VAT rate in percent of the client price of the service item settlementItems: type: array description: --IBillingBF#createServiceItems--length=50
scenarioIdentCode: type: string description: The identCode of the scenario, this service belongs to.length=50
description: 'Result for one item. Messages for this particular item, e.g. for errors or warnings.length=50
systemKey: type: string description:
length=75
externalSystemLoginName: type: string description:
length=254
controllingArea: type: string description:
length=4
description: Accounting scenario of a settlement. BServiceTranslationDTO: required: - languageISOCode type: object properties: languageISOCode: type: string description: ISO code of the language of the description.
length=2
example: de description: type: string description: The description of the servicelength=250
description: Text translation DTO for service. BServiceItemReferenceDTO: type: object properties: itemId: type: string description:ID of the service item which, together with the clientSystemId, uniquely identifies the service item.
length=50
description: A reference identifying a serviceItem.length=15, scale=2
currencyIso: type: string description: The three letter ISO code of the currency of the amount of money.length=3
description: An amount of money with a value and an currency ISO code. BGetServiceItemsResponseDTO: type: object properties: hasErrors: type: boolean description:True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' itemResults: type: array description: For every item in the request there will be one BServiceItemResultDTO in this array,in the same order as in the request. items: $ref: '#/components/schemas/BServiceItemResultDTO' description: Return value for the the method IBillingBF.getServiceItems. GenericDataRecordDTO: type: object properties: fields: type: array description: The fields of the record. items: $ref: '#/components/schemas/GenericDataFieldDTO' subrecords: type: array description: Subrecords of the record. example: - name: child record: fields: [] subrecords: [] items: $ref: '#/components/schemas/NamedGenericDataRecordDTO' description: A generic record of data.Indicates whether the settlement was deleted.
If true, only BSettlementSyncDTO#settlementNumber and BSettlementSyncDTO#provider will be filled.
settlementNumber: type: string description: Settlement number of settlement.length=50
referenceNumber: type: string description: Main reference number for the settlement.length=50
settlementType: $ref: '#/components/schemas/BSettlementTypeResultDTO' settlementDate: $ref: '#/components/schemas/BDateAndZoneDTO' provider: $ref: '#/components/schemas/BCompanyDTO' orderer: $ref: '#/components/schemas/BCompanyDTO' payer: $ref: '#/components/schemas/BCompanyDTO' settlementGrossPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' settlementNetPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' settlementVatPrice: $ref: '#/components/schemas/BAmountOfMoneyDTO' accountingScenario: $ref: '#/components/schemas/BAccountingScenarioResultDTO' accountingItems: type: array description:Accounting items of the settlement.
Only filled if BGetChangedSettlementsRequestDTO#includeAccountingItems is set.
items: $ref: '#/components/schemas/BAccountingItemResultDTO' description: Synchronization data of a settlement. ComboboxEntryDTO: type: object properties: identCode: type: string description: The identCode of the entry.length=50
descriptions: type: array description: The description of the entry in the requested result languages. items: $ref: '#/components/schemas/TextInLanguageDTO' description: For common use in BF methods which return combobox entries, e.g. for a list of master file data. BReverseServiceItemsResponseDTO: type: object properties: hasErrors: type: boolean description:True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' itemResponses: type: array description: For every itemId in the request there will be one response with information about the reversal of the item. In case of errors the reverse operation was not possible. items: $ref: '#/components/schemas/BReverseServiceItemResultDTO' description: Return value for the the method IBillingBF.cancelServiceItems or IBillingBF.offsetServiceItems BServiceMFDTO: type: object properties: identCode: type: string description: The identCode of the service.length=50
scenarioIdentCode: type: string description: The identCode of the scenario, this service belongs to.length=50
unitType: type: string description: Identifier of the quantity unit type. e.g. "WEIGHT", "VOLUME" or client specific (customized) quantity unit types.length=10
extendedDataType: type: string description: The identCode of the extended data type.length=50
attribute: type: string description: The attribute of the service.length=50
translations: type: array description: Translations of the the service for different languages. items: $ref: '#/components/schemas/BServiceTranslationDTO' description: Masterfile Transfer data object for a service. BReverseServiceItemResultDTO: type: object properties: hasErrors: type: boolean description: True, if there are any error messages. If an error has occured the messages contain more details about the errors. hasWarnings: type: boolean description: True, if there are any warning messages. messages: type: array description: Messages for the whole request, e.g. for errors or warnings.ID of the item.
length=250
description: 'Result for one item. Messages for this particular item, e.g. for errors or warnings.2-letter ISO code of the language.
length=2
example: en text: type: string description: The translated text. example: Some free-form text description: A translated text in one of the specified languages. BGetBillingServicesResponseDTO: type: object properties: hasErrors: type: boolean description:True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' services: type: array description: The requested array of services items: $ref: '#/components/schemas/ComboboxEntryDTO' description: Response for IBillingBF#getBillingServices. BGetChangedSettlementsResponseDTO: type: object properties: hasErrors: type: boolean description:True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' settlements: type: array description: Changed settlements. items: $ref: '#/components/schemas/BSettlementSyncDTO' syncId: maxLength: 20 type: string description: Synchronization ID for for acknowledging. true, if the synchronization is complete and currently no further changed settlements are available.
false if not. In this case, after acknowledging with IBillingBF#acknowledgeChangedSettlements, an immediate second call to IBillingBF#getChangedSettlements is advised.
True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' description: Response for IBillingBF#acknowledgeChangedSettlements. BGetChangedSettlementsRequestDTO: type: object properties: clientSystemId: type: string description: 'Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' includeAccountingItems: type: boolean description: ' If set to true the field BSettlementSyncDTO#accountingItems will be filled.Otherwise the field will be null.
Default: false
length=20
name: type: string description: Name of the company (first address line)length=40
name2: type: string description: Address name line 2length=40
name3: type: string description: Address name line 3length=40
name4: type: string description: Address name line 4length=40
street: type: string description: Street (line 1) of the address.length=40
street2: type: string description: Street (line 2) of the address.length=40
postcode: type: string description: Postcode of the street address.length=10
city: type: string description: City of the address.length=40
district: type: string description: District (city line 2) of the address.length=40
countryISOCode: type: string description: Country of addresslength=2
county: type: string description: County of the addresslength=40
poBox: type: string description: PO-Box.length=10
postcodePOBox: type: string description: Postcode of the poBox address.length=10
cityPOBox: type: string description: City of the po-box address.length=40
emailAddress: type: string description: Email address of the address.length=256
phone: type: string description: Phone number of receptionlength=20
fax: type: string description: Fax number of receptionlength=20
description: A complete address of a company for Logistics Cost Management. BSettlementItemResultDTO: type: object properties: settlementItemId: type: string description: The unique id of the settlement item. This id can be used in an application facade to open the settlement item.length=50
settlementNumber: type: string description: The number of the settlement, this settlement item was disposed to.length=50
settlementId: type: string description: The unique id of the settlement, this settlement item was disposed to. This id can be used in an application facade to open the settlement.Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' syncId: maxLength: 20 type: string description: Synchronization ID for acknowledging.length=50
description: Type of settlement. BCreateServiceItemsRequestDTO: type: object properties: clientSystemId: type: string description: 'Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' parms: $ref: '#/components/schemas/BCreateServiceItemParmsDTO' items: type: array description: The items to be created. items: $ref: '#/components/schemas/BServiceItemDTO' description: Request parameter for the the method IBillingBF.createServiceItems() BGetBillingScenariosResponseDTO: type: object properties: hasErrors: type: boolean description:True, if there are any error messages.
An error usually means that the request could not be performed.
Error details are provided in the messages[] array.
example: false hasOnlyRetryableErrors: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true hasWarnings: type: boolean description:True, if there are any error messages.
Error details are provided in the messages[] array.
example: true messages: type: array description:Error or warning messages at the request level.
There may be additional messages[] arrays at lower data levels as specified in the documentation.
items: $ref: '#/components/schemas/ResponseMessageDTO' scenarios: type: array description: The requested array of scenarios items: $ref: '#/components/schemas/ComboboxEntryDTO' description: Return value for the the method IBillingBF.getBillingScenarios. BContactDTO: type: object properties: name: type: string description: 'Name of contact. > `length=80`' phone: type: string description: 'Phone number. > `length=20`' fax: type: string description: 'Fax number. > `length=20`' email: type: string description: 'Email address. > `length=256`' description: Contains data for contacting a person for Logistics Cost Management. BSetServiceMasterFileDataRequestDTO: type: object properties: clientSystemId: type: string description: 'Id of the sending client system.
e.g. Installation ID of the sending host or ERP system.
Maximum length: 20
' example: TEST_ID clientIdentCode: type: string description: 'Client identification code.
Maximum length: 10
' example: APITEST userName: type: string description:User who initiated the request from the client system.
If the user is found either in the system's user management or in a connected LDAP directory, the request runs under this user's roles.
If the user is not found, the request is only granted the basic 'I_EVERYONE' role. The user name may be used for logging purposes in this case.
Actual authentication is handled separately via the request's headers, so no password is required in the request's data.
example: API_TEST resultLanguageIsoCodes: type: array description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: - en - de items: type: string description:2-letter ISO codes of the languages in which texts will be returned.
English ('en') and German ('de') are typically supported by default. Other languages may be supported.
Translations will be looked up in the order of the provided language codes. If a translation is not available in one language, the next language is used instead.
example: '["en","de"]' services: type: array description: The data of the services to set. items: $ref: '#/components/schemas/BServiceMFDTO' description: Request DTO for the setServiceMasterFileData method. ResponseMessageDTO: type: object properties: messageType: type: string description: 'Message type
If not stated otherwise, the possible types are:
Maximum length: 50
' example: WARNING messageIdentCode: type: string description: 'Optional identification code for further classification of the message type.
Maximum length: 50
' example: '5627' messageTexts: type: array description:Detailed message texts in the requested languages.
items: $ref: '#/components/schemas/TextInLanguageDTO' indentationLevel: type: integer description:The indentation level of the message.
'0' indicates a top level message.
format: int32 example: 0 description: Result messages like errors or warnings. securitySchemes: SWAGGER_AUTH_KEY: type: apiKey name: X-XNSG_WEB_TOKEN in: header BASIC_AUTH: type: http scheme: basic x-proxy-enabled: false