Download OpenAPI specification:Download
OCS.io OpenAPI specification.
This is common POST request specification.
X-Ocs-Io-API-Key | string API Key, provided by admin. |
X-Ocs-Io-Application-Id | string Application ID, provided by admin. |
Payload of the request
{ }
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Creates Customer based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
customerProfile | string <= 60 characters Profile of the Customer to be used for creation. REF to 'CustomerProfile.internalCode'. |
externalId | string <= 255 characters External ID of the Customer. |
customerSegment | string <= 60 characters Segment of the Customer. REF to 'CustomerSegment.internalCode'. |
customName | string <= 255 characters Custom Customer name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
object (StateType) State complex type. | |
testCustomer | boolean Indicates whether Customer is a Test Customer. |
{- "requestId": "{{$guid}}",
- "externalId": "cust-test",
- "customName": "Test Customer",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": "dfltActive"
}
}
[- {
- "name": "CreateCustomer",
- "seqno": 1,
- "object": {
- "customName": "Test Customer",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "objectType": "io.ocs.pbs.core.model.CustomerEx"
}
]
Updates Customer's External ID for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalId | string <= 255 characters New External ID of the Customer. |
{- "requestId": "{{$guid}}",
- "customer": {
- "externalId": "cust-test"
}, - "externalId": "cust-test-updated"
}
{- "customName": "Test Customer updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test-updated"
}
Updates Customer's State for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (StateType) State complex type. |
subordinateUpdated | boolean Indicates whether update states for subordinate entities (Accounts with all Subordinate Accounts, Subscribers and all Subscriptions). |
{ }
{ }
Updates Customer's Custom Name for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
customName | string <= 255 characters New Custom Name of the Customer. |
{- "requestId": "{{$guid}}",
- "customer": {
- "externalId": "cust-test"
}, - "customName": "Test Customer updated"
}
{- "customName": "Test Customer updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}
Updates Customer's Custom Attribute(s) for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
merge | boolean Indicates whether provided custom attributes shall be merged with already stored. |
{- "requestId": "{{$guid}}",
- "customer": {
- "externalId": "cust-test"
}, - "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}
}
{- "customName": "Test Customer",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}
Update Customer's Segment for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
customerSegment | string <= 60 characters Segment of the Customer. REF to 'CustomerSegment.internalCode'. |
{- "requestId": "{{$guid}}",
- "customer": {
- "externalId": "cust-test"
}, - "customerSegment": "resident"
}
{- "customerSegment": {
- "refId": "nPX8LgDRXH8FKl",
- "code": "resident",
- "name": "Resident Customers"
}, - "customName": "Test Customer updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}
Creates Subscription on Customer level based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
{ }
{ }
Reads Customer for given Customer's Ref ID / External ID.
refId | string Ref ID of the Customer. |
externalId | string External ID of the Customer. |
stateHistory | boolean Indicates whether reads also State History belonging to the Customer. |
accounts | boolean Indicates whether reads also Accounts belonging to the Customer. |
offers | boolean Indicates whether reads also Subscriptions belonging to the Customer. |
{ }
Creates Account based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
accountProfile | string <= 60 characters Profile of the Account to be used for creation. REF to 'AccountProfile.internalCode'. |
externalId | string <= 255 characters External ID of the Account. |
accountType | string <= 60 characters Type of the Account to be used for creation. REF to 'AccountType.internalCode'. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
accountSegment | string <= 60 characters Segment of the Account. REF to 'AccountSegment.internalCode'. |
billCycle | string <= 60 characters BillCycle to be assigned. REF to 'BillCycle.internalCode'. |
billingDay | integer <int64> Day of the Billing in case Billing Cycle per Account is Individual. |
billingMonth | integer <int64> Month of the Billing in case Billing Cycle per Account is Individual. |
billingYear | integer <int64> Year of the Billing in case Billing Cycle per Account is Individual. |
currency | string = 3 characters Currency ISO 4217 code (3 letters). REF to 'Currency.code'. |
object (StateType) State complex type. | |
paymentResponsible | boolean Indicates whether Account is Payment Responsible. |
testAccount | boolean Indicates whether Account is a Test Account. |
customName | string <= 255 characters Custom Account name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
taxExemption | boolean Indicates whether Account is subject of Tax exemption. |
taxResidence | string <= 255 characters Tax Residence or the Payment Responsible Account. |
{- "requestId": "{{$guid}}",
- "customer": {
- "externalId": "cust-test"
}, - "externalId": "acc-test",
- "accountType": "paymResp",
- "billCycle": "mnt01",
- "currency": "EUR",
- "paymentResponsible": true,
- "customName": "Test Account",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": "dfltActive"
}
}
[- {
- "name": "CreateAccount",
- "seqno": 1,
- "object": {
- "accountType": {
- "refId": "nPk64Xp2iJmfLw",
- "code": "paymResp",
- "name": "Payment Responsible"
}, - "paymentResponsible": true,
- "customName": "Test Account",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "customer": {
- "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}, - "objectType": "io.ocs.pbs.core.model.AccountEx"
}
]
Updates Account's External ID for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalId | string <= 255 characters New External ID of the Account. |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "externalId": "acc-test-updated"
}
{- "accountType": {
- "refId": "nPk64Xp2iJmfLw",
- "code": "paymResp",
- "name": "Payment Responsible"
}, - "customName": "Test Account",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "customer": {
- "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test-updated"
}
Updates Account's State for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (StateType) State complex type. |
subordinateUpdated | boolean Indicates whether update States for subordinate entities (Subordinate Accounts, Subscribers and all Subscriptions). |
{ }
{ }
Updates Account's Custom Name for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
customName | string <= 255 characters New Custom Name of the Account. |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "customName": "Test Account updated"
}
{- "accountType": {
- "refId": "nPk64Xp2iJmfLw",
- "code": "paymResp",
- "name": "Payment Responsible"
}, - "customName": "Test Account updated",
- "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "customer": {
- "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
Updates Account's Custom Attribute(s) for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
merge | boolean Indicates whether provided custom attributes shall be merged with already stored. |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}
}
{- "accountType": {
- "refId": "nPk64Xp2iJmfLw",
- "code": "paymResp",
- "name": "Payment Responsible"
}, - "customName": "Test Account",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "customer": {
- "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
Update Account's Segment for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
accountSegment | string <= 60 characters New Segment of the Account. REF to 'AccountSegment.internalCode'. |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "accountSegment": "goodPayer"
}
{- "accountType": {
- "refId": "nPk64Xp2iJmfLw",
- "code": "paymResp",
- "name": "Payment Responsible"
}, - "accountSegment": {
- "refId": "nPKdov41rwDldb",
- "code": "goodPayer",
- "name": "Good payers"
}, - "customName": "Test Account",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "customer": {
- "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
Updates Account's Bill Cycle for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
billCycle required | string <= 60 characters New Bill Cycle. REF to 'BillCycle.internalCode'. |
billingDay | integer <int64> Day of the Billing in case Billing Cycle per Account is individual. |
billingMonth | integer <int64> Month of the Billing in case Billing Cycle per Account is individual. |
billingYear | integer <int64> Year of the Billing in case Billing Cycle per Account is individual. |
validFrom | string <date-time> Timestamp from when the new Bill Cycle is valid. If null, change is immediate. |
{ }
{ }
Updates Account's Tax Exemption for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
taxExemption | boolean Indicates whether Account is subject of Tax exemption. |
taxResidence | string <= 255 characters Tax Residence or the Payment Responsible Account. |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "taxExemption": true,
- "taxResidence": "CZ"
}
{- "accountType": {
- "refId": "nPk64Xp2iJmfLw",
- "code": "paymResp",
- "name": "Payment Responsible"
}, - "taxExemption": true,
- "taxResidence": "CZ",
- "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "customer": {
- "refId": "nPOA6bzMLW6FAD",
- "externalId": "cust-test"
}, - "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
Creates Subscription on Account level based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
{ }
{ }
Reads Account for given Account's Ref ID / External ID.
refId | string Ref ID of the Account. |
externalId | string External ID of the Account. |
billCycleHistory | boolean Indicates whether reads also Bill Cycle History belonging to the Account. |
stateHistory | boolean Indicates whether reads also State History belonging to the Account. |
subscribers | boolean Indicates whether reads also Subscribers belonging to the Account. |
subordinates | boolean Indicates whether reads also Sub-ordinate Accounts belonging to the Account. |
offers | boolean Indicates whether reads also Subscriptions belonging to the Account. |
{ }
Performs scheduled Account's Bill Cycle Change for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
{ }
{ }
Cancels scheduled Account's Bill Cycle Change for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
{ }
{ }
Creates Subscriber based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
subscriberProfile | string <= 60 characters Profile of the Subscriber to be used for creation. REF to 'SubscriberProfile.internalCode'. |
externalId | string <= 255 characters External ID of the Subscriber. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
primaryResourceType | string <= 60 characters Type of the Primary Resource which will be used for guiding to Subscriber. REF to 'ResourceType.internalCode'. |
primaryResource | string <= 255 characters Value of the Primary Resource which will be used for guiding to Subscriber. |
subscriberSegment | string <= 60 characters Segment of the Subscriber. REF to 'SubscriberSegment.internalCode'. |
customName | string <= 255 characters Custom Subscriber name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
object (StateType) State complex type. |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "externalId": "subs-test",
- "primaryResourceType": "imsi",
- "primaryResource": "230029999999901",
- "customName": "Test Subscriber",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": "dfltActive"
}
}
[- {
- "name": "CreateSubscriber",
- "seqno": 1,
- "object": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "primaryResourceType": {
- "refId": "nPA7weZXNatbtE",
- "code": "imsi",
- "name": "IMSI"
}, - "primaryResourceValue": "230029999999901",
- "refId": "nPrCnLm1cDJ8eQ",
- "externalId": "subs-test"
}, - "objectType": "io.ocs.pbs.core.model.SubscriberEx"
}, - {
- "name": "CreateSubscriberResource",
- "seqno": 2,
- "object": {
- "resourceType": {
- "refId": "nPA7weZXNatbtE",
- "code": "imsi",
- "name": "IMSI"
}, - "resourceValue": "230029999999901",
- "validFrom": "2020-10-21T12:30:12.355+02:00",
- "refId": "nPAwO8zsHXQNjg"
}, - "objectType": "io.ocs.pbs.core.model.SubscriberResourceEx"
}
]
Updates Subscriber's External ID for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalId | string <= 255 characters New External ID of the Subscriber. |
{- "requestId": "{{$guid}}",
- "subscriber": {
- "externalId": "subs-test"
}, - "externalId": "subs-test-updated"
}
{- "customName": "Test Subscriber updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "primaryResourceType": {
- "refId": "nPA7weZXNatbtE",
- "code": "imsi",
- "name": "IMSI"
}, - "primaryResourceValue": "230029999999901",
- "refId": "nPrCnLm1cDJ8eQ",
- "externalId": "subs-test-updated"
}
Updates Subscriber's State for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (StateType) State complex type. |
subordinateUpdated | boolean Indicates whether update states for subordinate entities (all Subscriptions). |
{ }
{ }
Updates Subscriber's Custom Name for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
customName | string <= 255 characters New Custom Name of the Subscriber. |
{- "requestId": "{{$guid}}",
- "subscriber": {
- "externalId": "subs-test"
}, - "customName": "Test Subscriber updated"
}
{- "customName": "Test Subscriber updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "primaryResourceType": {
- "refId": "nPA7weZXNatbtE",
- "code": "imsi",
- "name": "IMSI"
}, - "primaryResourceValue": "230029999999901",
- "refId": "nPrCnLm1cDJ8eQ",
- "externalId": "subs-test"
}
Updates Subscriber's Custom Attribute(s) for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
merge | boolean Indicates whether provided custom attributes shall be merged with already stored. |
{- "requestId": "{{$guid}}",
- "subscriber": {
- "externalId": "subs-test"
}, - "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}
}
{- "customName": "Test Subscriber updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "primaryResourceType": {
- "refId": "nPA7weZXNatbtE",
- "code": "imsi",
- "name": "IMSI"
}, - "primaryResourceValue": "230029999999901",
- "refId": "nPrCnLm1cDJ8eQ",
- "externalId": "subs-test"
}
Updates Subscriber's Segment for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
subscriberSegment | string <= 60 characters Segment of the Subscriber. REF to 'SubscriberSegment.internalCode'. |
{- "requestId": "{{$guid}}",
- "subscriber": {
- "externalId": "subs-test"
}, - "subscriberSegment": "dataAddicted"
}
{- "subscriberSegment": {
- "refId": "nPGTaZ4rtIn1v4",
- "code": "dataAddicted",
- "name": "Data addicted"
}, - "customName": "Test Subscriber updated",
- "customAttributes": {
- "key1": "value 1",
- "key2": "value 2",
- "key3": "value 3"
}, - "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "primaryResourceType": {
- "refId": "nPA7weZXNatbtE",
- "code": "imsi",
- "name": "IMSI"
}, - "primaryResourceValue": "230029999999901",
- "refId": "nPrCnLm1cDJ8eQ",
- "externalId": "subs-test"
}
Creates Subscription on Subscriber leved based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
subscriptionExternalId | string <= 255 characters External ID of the Subscription. |
customName | string Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
{ }
{ }
Creates Subscriber Resource based on provided attributes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
resourceType required | string [ 1 .. 60 ] characters Type of the Resource which will be used for guiding to Subscriber. REF to 'ResourceType.internalCode'. |
resource required | string [ 1 .. 255 ] characters Value of the Resource which will be used for guiding to Subscriber. |
{ }
{ }
Swap Subscriber Resource.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
resourceType required | string [ 1 .. 60 ] characters Type of the Resource which will be used for guiding to Subscriber. REF to 'ResourceType.internalCode'. |
swapResource required | string [ 1 .. 255 ] characters Value of the Resource which will be swaped. |
resource required | string [ 1 .. 255 ] characters New value of the Resource which will be used for guiding to Subscriber. |
{ }
{ }
Reads Subscriber Resource(s) for given Subscriber's ID/External ID.
refId | string Ref ID of the Subscriber. |
externalId | string External ID of the Subscriber. |
resourceType | string Type of the Resource which will be used for guiding to Subscriber. If not provided, all Resources will be retrieved. |
historyIncluded | boolean Indicates whether Historical Resources are included in the response. By default, only Valid Resources are retrieved. |
{ }
Reads Subscriber for given Subscriber's Ref ID / External ID.
refId | string Ref ID of the Subscriber. |
externalId | string External ID of the Subscriber. |
stateHistory | boolean Indicates whether reads also State History belonging to the Subscriber. |
resources | boolean Indicates whether reads also Resources belonging to the Subscriber. |
offers | boolean Indicates whether reads also Subscriptions belonging to the Subscriber. |
{ }
Updates Subscriptions's External ID for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalId | string <= 255 characters New External ID of the Subscription. |
{ }
{ }
Updates Subscription's State for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (StateType) State complex type. |
{ }
{ }
Updates Subscriptions's Custom Name for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
customName | string <= 255 characters New Custom Name of the Subscription. |
{ }
{ }
Updates Subscriptions's Custom Attribute(s) for given Ref ID / External ID.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
merge | boolean Indicates whether provided custom attributes shall be merged with already stored. |
{ }
{ }
Reads Subscription for given Subscription's Ref ID / External ID.
refId | string Ref ID of the Subscription. |
externalId | string External ID of the Subscription. |
stateHistory | boolean Indicates whether reads also State History belonging to the Subscription. |
{ }
Creates Individual Offer subscription in generic way.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (ServiceValues) |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "offer": "printInvoiceFree",
- "state": {
- "state": "ACTIVE",
- "stateReason": "dfltActive"
}, - "services": {
- "balance": {
- "grantedBalance": "5",
- "unitsOfMeasurement": "EVENT"
}
}
}
[- {
- "name": "CreateSubscription",
- "seqno": 1,
- "object": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "refId": "nPLa1Jgpc9inpK",
- "code": "printInvoiceFree",
- "name": "1 print invoice for free"
}, - "refId": "nPyG4MUjDSGDMW"
}, - "objectType": "io.ocs.pbs.core.ex.model.OfferSubscriptionEx"
}
]
Creates Individual Offer subscription of Balance service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
grantedBalance required | integer <int64> Granted Balance |
unitsOfMeasurement required | string <= 60 characters Units Of Measurement |
{- "requestId": "{{$guid}}",
- "account": {
- "externalId": "acc-test"
}, - "offer": "printInvoiceFree",
- "state": {
- "state": "ACTIVE",
- "stateReason": "dfltActive"
}, - "grantedBalance": "5",
- "unitsOfMeasurement": "EVENT"
}
[- {
- "name": "CreateSubscription",
- "seqno": 1,
- "object": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "refId": "nPLa1Jgpc9inpK",
- "code": "printInvoiceFree",
- "name": "1 print invoice for free"
}, - "refId": "nPQ72kXmiJwg2e"
}, - "objectType": "io.ocs.pbs.core.ex.model.OfferSubscriptionEx"
}
]
Creates Individual Offer subscription of Monetary Balance service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
grantedBalance required | integer <int64> Granted Balance |
tax | string <= 60 characters Code of the Tax. REF to 'Tax.internalCode'. If null, Tax is taken from Offer definition. |
taxIncluded | boolean Indicates whether Balance is included Tax. If null, indicator is taken from Offer definition. |
currency | string <= 3 characters ISO Code of the Currency. If null, Currency is taken from Offer definition. |
{ }
{ }
Creates Individual Offer subscription of One-Time Fee service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
charge required | integer <int64> Charge to be applied. |
tax | string <= 60 characters Code of the Tax. REF to 'Tax.internalCode'. If null, Tax is taken from Offer definition. |
taxIncluded | boolean Indicates whether Balance is included Tax. If null, indicator is taken from Offer definition. |
currency | string <= 3 characters ISO Code of the Currency. If null, Currency is taken from Offer definition. |
{ }
{ }
Creates Individual Offer subscription of Recurrent Fee service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
charge required | integer <int64> Charge to be applied. |
perUnit | integer <int64> (Charge) Per Unit. |
perUnitUoM | string (Charge) Per Unit UoM. Allowed values are 'DAY', 'WEEK', 'MONTH', 'YEAR'. |
tax | string <= 60 characters Code of the Tax. REF to 'Tax.internalCode'. If null, Tax is taken from Offer definition. |
taxIncluded | boolean Indicates whether Balance is included Tax. If null, indicator is taken from Offer definition. |
currency | string <= 3 characters ISO Code of the Currency. If null, Currency is taken from Offer definition. |
recurrenceCycles | integer <int64> Number of cycles. -1 = unlimited. If null, number of cycles is taken from Offer definition. |
{ }
{ }
Creates Individual Offer subscription of Absolute Discount service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
validity | integer <int64> Validity of the Subscription. |
validityPeriod | string (TimeUnitEnum) Enum: "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" Time Units values:
|
discount required | integer <int64> Individualized Value of the Discount. Value must be greater/equal to 0. |
{ }
{ }
Creates Individual Offer subscription of Percentage Discount service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
validity | integer <int64> Validity of the Subscription. |
validityPeriod | string (TimeUnitEnum) Enum: "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" Time Units values:
|
discount required | integer <int64> Individualized Value of the Discount. Value must be between 0% and 100% (Number is shifted by two decimals, e.g. 5% = 500, 12,5% = 1250. Value must be between 0 and 10000). |
{ }
{ }
Creates Individual Offer subscription of Absolute Billing Discount service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
validity | integer <int64> Validity of the Subscription. |
validityPeriod | string (TimeUnitEnum) Enum: "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" Time Units values:
|
discount required | integer <int64> Individualized Value of the Discount. Value must be greater/equal to 0. |
perUnit | integer <int64> (Discount) Per Unit. |
perUnitUoM | string (Discount) Per Unit UoM. Allowed values are 'DAY', 'WEEK', 'MONTH', 'YEAR'. |
{ }
{ }
Creates Individual Offer subscription of Percentage Billing Discount service based Offer.
entity required | string Name of the entity on which Individual Offer Subscription will be created. Could be 'customers', 'accounts' or 'subscribers'. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
offer required | string [ 1 .. 60 ] characters Code of the Offer. REF to 'Offer.internalCode'. |
priority | integer <int64> Priority of the Subscription. |
externalId | string <= 255 characters External ID of the Subscription. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateType) State complex type. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
validity | integer <int64> Validity of the Subscription. |
validityPeriod | string (TimeUnitEnum) Enum: "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" Time Units values:
|
discount required | integer <int64> Individualized Value of the Discount. Value must be between 0% and 100% (Number is shifted by two decimals, e.g. 5% = 500, 12,5% = 1250. Value must be between 0 and 10000). |
{ }
{ }
Reads All Balances for given Offer Subscription's ID/External ID.
offerSubscription.refId | string Ref ID of the Offer Subscription |
offerSubscription.externalId | string External ID of the Offer Subscription |
historyIncluded | boolean Indicates whether Historical Resources are included in the response. By default only Valid Resources are retrieved |
historyFrom | string <date-time> Parameter is linked with 'historyIncluded'. If both populated, only Resources newer than given Date/Time will be retrieved. |
{- "balances": [
- {
- "service": {
- "refId": "nPjGBUEOIrKCE8",
- "code": "balance",
- "name": "Balance"
}, - "balanceDef": {
- "unitsOfMeasurement": "EVENT",
- "grantedBalance": 1,
- "thresholdBalance": 0,
- "rejectedWhenDepleted": false,
- "balanceDeducted": true
}, - "balanceValues": [
- {
- "refId": "nPXUWVwel7CVMQ",
- "grantedBalance": 1,
- "actualBalance": 0,
- "validFrom": "2020-11-15T16:39:53.520+01:00"
}
]
}
]
}
Reads Specific Balance for given Offer Subscription's ID/External ID.
productService required | string Name of the Service as configured in Product |
offerSubscription.refId | string Ref ID of the Offer Subscription |
offerSubscription.externalId | string External ID of the Offer Subscription |
historyIncluded | boolean Indicates whether Historical Resources are included in the response. By default only Valid Resources are retrieved |
historyFrom | string <date-time> Parameter is linked with 'historyIncluded'. If both populated, only Resources newer than given Date/Time will be retrieved. |
{- "service": {
- "refId": "nPjGBUEOIrKCE8",
- "code": "balance",
- "name": "Balance"
}, - "balanceDef": {
- "unitsOfMeasurement": "EVENT",
- "grantedBalance": 1,
- "thresholdBalance": 0,
- "rejectedWhenDepleted": false,
- "balanceDeducted": true
}, - "balanceValues": [
- {
- "refId": "nPXUWVwel7CVMQ",
- "grantedBalance": 1,
- "actualBalance": 0,
- "validFrom": "2020-11-15T16:39:53.520+01:00"
}
]
}
Updates Specific Balance for given Offer Subscription's ID/External ID.
productService required | string Name of the Service as configured in Product |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
productService | string <= 60 characters Product Service code |
balanceValueRefId required | string <= 40 characters Balance Value Ref ID |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
balanceChange required | integer <int64> Change of the Balance, could be with positive or negative sign. If positive, Balance is increased, if negative, Balance is decreased. If type of Balance is Monetary, Currency and Including/Excluding Tax depends Balance configuration. |
notificationTriggered | boolean Indicates whether Balance Threshold notification(s) shall be triggered in case threshold has been reached. |
{- "requestId": "{{$guid}}",
- "offerSubscription": {
- "refId": "nPPHUFO2wFf2ev"
}, - "balanceValueRefId": "nPXUWVwel7CVMQ",
- "unitsOfMeasurement": "EVENT",
- "balanceChange": 1
}
{- "service": {
- "refId": "nPjGBUEOIrKCE8",
- "code": "balance",
- "name": "Balance"
}, - "balanceDef": {
- "unitsOfMeasurement": "EVENT",
- "grantedBalance": 1,
- "thresholdBalance": 0,
- "rejectedWhenDepleted": false,
- "balanceDeducted": true
}, - "balanceValues": [
- {
- "refId": "nPXUWVwel7CVMQ",
- "grantedBalance": 1,
- "actualBalance": 1,
- "validFrom": "2020-11-15T16:39:53.520+01:00"
}
]
}
Updates Specific Balance Definition for given Offer Subscription's ID/External ID.
productService required | string Name of the Service as configured in Product |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
productService | string <= 60 characters Product Service code |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
grantedBalance required | integer <int64> New value for Granted Balance. |
executedImmediately | boolean Indicates whether Balance change is executed immediately. |
notificationTriggered | boolean Applied only for executedImmediately = true - Indicates whether Balance Threshold notification(s) shall be triggered in case threshold has been reached. |
{- "requestId": "{{$guid}}",
- "offerSubscription": {
- "refId": "nPPHUFO2wFf2ev"
}, - "unitsOfMeasurement": "EVENT",
- "grantedBalance": 1
}
{- "service": {
- "refId": "nPjGBUEOIrKCE8",
- "code": "balance",
- "name": "Balance"
}, - "balanceDef": {
- "unitsOfMeasurement": "EVENT",
- "grantedBalance": 1,
- "thresholdBalance": 0,
- "rejectedWhenDepleted": false,
- "balanceDeducted": true
}, - "balanceValues": [
- {
- "refId": "nPXUWVwel7CVMQ",
- "grantedBalance": 1,
- "actualBalance": 1,
- "validFrom": "2020-11-15T16:39:53.520+01:00"
}
]
}
Creates Control Group.
Payload of the request
name required | string [ 1 .. 80 ] characters Name of the Control Group. |
description | string <= 255 characters Description of the Control Group. |
internalCode required | string [ 1 .. 60 ] characters Internal Code of the Control Group. |
{- "internalCode": "cg-test",
- "name": "Test Control Group",
- "description": "Description of the Test Control Group"
}
{- "internalCode": "cg-test",
- "name": "Test Control Group",
- "description": "Description of the Test Control Group",
- "refId": "nPx20NfEM6Jd0i"
}
Gets Control Group by {refId}.
refId required | string Ref ID of the Control Group |
{- "internalCode": "cg-test",
- "name": "Test Control Group",
- "description": "Description of the Test Control Group",
- "refId": "nPx20NfEM6Jd0i"
}
Updates Control Group by {refId}.
refId required | string Ref ID of the Control Group |
Payload of the request
name required | string [ 1 .. 80 ] characters Name of the Control Group. |
description | string <= 255 characters Description of the Control Group. |
internalCode required | string [ 1 .. 60 ] characters Internal Code of the Control Group. |
{- "internalCode": "cg-test",
- "name": "Test Control Group",
- "description": "Updated description of the Test Control Group"
}
{- "internalCode": "cg-test",
- "name": "Test Control Group",
- "description": "Updated description of the Test Control Group",
- "refId": "nPx20NfEM6Jd0i"
}
Adds Accounts to Control Group.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
controlGroup required | string [ 1 .. 60 ] characters Control Group, REF to 'ControlGroup.internalCode'. |
Array of objects (IdType) List of Account's IDs to add to Control Group. | |
validFrom | string <date-time> Date/Time from when Accounts are assigned to Control Group, if NULL validity is aligned with request Date/Time. |
{- "requestId": "{{$guid}}",
- "controlGroup": "cg-test",
- "accounts": [
- {
- "externalId": "acc-test"
}
]
}
[- {
- "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
]
Removes Accounts from Control Group.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
controlGroup required | string [ 1 .. 60 ] characters Control Group, REF to 'ControlGroup.internalCode'. |
Array of objects (IdType) List of Account's IDs to add to Control Group. | |
validFrom | string <date-time> Date/Time from when Accounts are removed from Control Group, if NULL validity is aligned with request Date/Time. |
{- "requestId": "{{$guid}}",
- "controlGroup": "cg-test",
- "accounts": [
- {
- "externalId": "acc-test"
}
]
}
[- {
- "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
]
Gets All Accounts belonging to the Control Group.
refId required | string Ref ID of the Control Group |
[- {
- "refId": "nPhheZUlkfgwzj",
- "externalId": "acc-test"
}
]
Get All Control Groups where Account is member.
refId required | string Ref ID of the Account |
externalId | string External ID of the Account |
[- {
- "internalCode": "test",
- "name": "Test",
- "description": "Test desc",
- "refId": "nPmSoGsBawGIMu"
}, - {
- "internalCode": "cg-test",
- "name": "Test Control Group",
- "description": "Updated description of the Test Control Group",
- "refId": "nPx20NfEM6Jd0i"
}
]
Performs Control Group Run.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
controlGroup required | string [ 1 .. 60 ] characters Control Group for which Control billing will be performed. REF to 'ControlGroup.internalCode'. |
billCycleType | string (BillCycleTypeEnum) Enum: "PERIODICAL" "COMPOSITE" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
effectiveDate | string <date-time> Effective Date/Time for which Invoice within Control Group is calculated. If null, Account's Billing period end date is effective. |
scheduledDate | string <date-time> Date/Time when Control group is scheduled to be performed. If null, Control group will be performed immediately. |
{- "requestId": "{{$guid}}",
- "controlGroup": "cg-test"
}
{- "controlGroupRefId": "nPx20NfEM6Jd0i",
- "refId": "nPIXGtByutx9qx"
}
Adjust Chargeable Event - Credit or Debit
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
chargeableEventRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Chargeable Event. |
chargeType required | string Enum: "CREDIT" "DEBIT" Charge Type:
|
chargeAdjustment required | integer <int64> Charge Adjustment. |
required | object (CurrencyEx) Definition of the Currency. |
taxIncluded | boolean Indicates whether Tax is included in the charge adjustment. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "chargeableEventRefId": "nPiKUstjAT0Hu4",
- "chargeType": "CREDIT",
- "chargeAdjustment": 50000000,
- "currency": "CZK",
- "taxIncluded": true
}
{ }
Previews 'OCS Invoice'.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
invoiceType | string [ 1 .. 60 ] characters Type of the Invoice. If not provided, default is generated. REF to 'InvoiceType.internalCode'. |
billCycleType | string (BillCycleTypeEnum) Enum: "PERIODICAL" "COMPOSITE" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate | string <date-time> Start Date of the Billing Period (truncated time). If not provided, Invoice Preview will be generated for current Billing Cycle. |
compact | boolean Indicates whether Invoice is generated in Compact mode. |
itemizedBill | boolean Indicates whether Invoice is generated including Itemized Bill. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "invoiceType": "pdf",
- "billCycleType": "PERIODICAL",
- "billingPeriodStartDate": "2020-10-01"
}
{ }
Creates OCS Invoice On-Demand
inAdvance | boolean Indicates whether the Invoice should be generated in advance, no Date validation are performed. |
syncMode | boolean Indicates whether the Invoice should be generated in sync mode - the Invoice is immediately returned in the response. |
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
invoiceType | string <= 60 characters Type of the Invoice. If not provided, default is generated. REF to 'InvoiceType.internalCode'. |
billCycleType | string (BillCycleTypeEnum) Enum: "PERIODICAL" "COMPOSITE" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate | string <date-time> Start Date of the Billing Period (truncated time). If not provided, Invoice will be generated for Billing Cycle in which Account was active. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "invoiceType": "pdf",
- "billingPeriodStartDate": "2020-12-01"
}
{ }
Creates/Updates Payer with RM related information
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentMethod | string [ 1 .. 60 ] characters PaymentMethod assigned to Account. |
deliveryMethod | string [ 1 .. 60 ] characters DeliveryMethod assigned to Account. |
invoicingExcluded | boolean Indicates whether Payer is excluded from Invoicing. |
invoicingExcludedTo | string <date-time> If Payer is excluded from Invoicing, this is optional date till when Payer is excluded. |
dueDateOffset | integer <int64> Offset for calculation of Due Date of the Document. If null, document(s) will be created with default offset. |
bankAccountNumber | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code. |
iban | string <= 50 characters IBAN |
bic | string <= 30 characters BIC code of bank. |
bankAccountName | string <= 80 characters Payer's (Billing Account) bank account name. |
paymentRef1 | string <= 30 characters Payer's (Billing Account) Payment Reference No.1 in case Payment Reference No.1 is static. |
paymentRef2 | string <= 30 characters Payer's (Billing Account) Payment Reference No.2 in case Payment Reference No.2 is static. |
paymentRef3 | string <= 30 characters Payer's (Billing Account) Payment Reference No.3 in case Payment Reference No.3 is static. |
bankAccountNumberDirectDebit | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebit | string <= 10 characters Payer's (Billing Account) bank number code for Direct Debit. |
bankAccountNumberDirectDebitProvider | string <= 80 characters Provider's bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebitProvider | string <= 10 characters Provider's bank number code for Direct Debit. |
vatLiable | boolean Indicates whether Payer is liable for VAT. |
vatLiableEffectiveDate | string <date-time> Effective Date/Time from or till when Payer is liable for VAT. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentMethod": "directDebit",
- "deliveryMethod": "email",
- "invoicingExcluded": true,
- "dueDateOffset": 30,
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876",
- "vatLiable": true,
- "vatLiableEffectiveDate": "2020-10-01T22:00:00.000+02:00"
}
{- "refId": "nPCje7TuSWPbV5",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "NT",
- "name": "Nordic Telecom"
}, - "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "directDebit",
- "name": "Direct Debit"
}, - "deliveryMethod": {
- "refId": "nPYrHxslF1pXHk",
- "code": "email",
- "name": "Email"
}, - "invoicingExcluded": false,
- "bankAccountName": "Bank Account Name",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876",
- "vatLiable": true,
- "vatLiableValidFrom": "2020-10-01T22:00:00.000+02:00"
}
Updates Payer's Payment Method
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentMethod required | string [ 1 .. 60 ] characters PaymentMethod assigned to Account. REF to 'PaymentMethod.internalCode'. |
bankAccountNumber | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code. |
iban | string <= 50 characters IBAN number of bank account. |
bic | string <= 30 characters BIC code of bank. |
bankAccountName | string <= 80 characters Payer's (Billing Account) bank account name. |
paymentRef1 | string <= 30 characters Payer's (Billing Account) Payment Reference No.1 in case Payment Reference No.1 is static. |
paymentRef2 | string <= 30 characters Payer's (Billing Account) Payment Reference No.2 in case Payment Reference No.2 is static. |
paymentRef3 | string <= 30 characters Payer's (Billing Account) Payment Reference No.3 in case Payment Reference No.3 is static. |
bankAccountNumberDirectDebit | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebit | string <= 10 characters Payer's (Billing Account) bank number code for Direct Debit. |
bankAccountNumberDirectDebitProvider | string <= 80 characters Provider's bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebitProvider | string <= 10 characters Provider's bank number code for Direct Debit. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentMethod": "directDebit",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876"
}
{- "refId": "nPFuFZ5La2VED6",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "NT",
- "name": "Nordic Telecom"
}, - "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "directDebit",
- "name": "Direct Debit"
}, - "deliveryMethod": {
- "refId": "nPYrHxslF1pXHk",
- "code": "email",
- "name": "Email"
}, - "invoicingExcluded": false,
- "bankAccountName": "Bank Account Name",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876"
}
Updates Payer's Delivery Method
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
deliveryMethod required | string [ 1 .. 60 ] characters DeliveryMethod assigned to Account. REF to 'DeliveryMethod.internalCode'. |
documentType | string [ 1 .. 60 ] characters Type of the Document for which Delivery Method is updated. If null, Delivery Method is valid for all document types. REF to 'DocumentType.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "deliveryMethod": "email"
}
{- "refId": "nPFuFZ5La2VED6",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "NT",
- "name": "Nordic Telecom"
}, - "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "directDebit",
- "name": "Direct Debit"
}, - "deliveryMethod": {
- "refId": "nPYrHxslF1pXHk",
- "code": "email",
- "name": "Email"
}, - "invoicingExcluded": false,
- "bankAccountName": "Bank Account Name",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876"
}
Updates Payer's Due Date Offset
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
dueDateOffset | integer <int64> Offset for calculation of Due Date of the Document. If null, document(s) will be created with default offset. |
documentType | string <= 60 characters Type of the Document for which Due Date Offset is updated. If null, Offset is valid for all document types. REF to 'DocumentType.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "dueDateOffset": 30
}
{- "refId": "nPCje7TuSWPbV5",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "NT",
- "name": "Nordic Telecom"
}, - "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "directDebit",
- "name": "Direct Debit"
}, - "deliveryMethod": {
- "refId": "nPYrHxslF1pXHk",
- "code": "email",
- "name": "Email"
}, - "invoicingExcluded": false,
- "dueDateOffset": 30,
- "bankAccountName": "Bank Account Name",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876"
}
Updates Payer's Invoicing Flag
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
invoicingExcluded required | boolean Indicates whether Payer is excluded from Invoicing. |
invoicingExcludedTo | string <date-time> If Payer is excluded from Invoicing, this is optional date till when Payer is excluded. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "invoicingExcluded": true
}
{- "refId": "nPFuFZ5La2VED6",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "NT",
- "name": "Nordic Telecom"
}, - "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "directDebit",
- "name": "Direct Debit"
}, - "deliveryMethod": {
- "refId": "nPYrHxslF1pXHk",
- "code": "email",
- "name": "Email"
}, - "invoicingExcluded": true,
- "bankAccountName": "Bank Account Name",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumberDirectDebit": "000123-456789",
- "bankNumberCodeDirectDebit": "1234",
- "bankAccountNumberDirectDebitProvider": "000987-654321",
- "bankNumberCodeDirectDebitProvider": "9876"
}
Reads Payer's Open Balance.
refId | string Ref ID of the Account (Payer) |
externalId | string External ID of the Account (Payer) |
detailIncluded | boolean Indicates whether Detail per Document Type is included. |
calculationForced | boolean Indicates whether Open Balance calculation is forced. |
{- "openBalanceTotal": 200000000,
- "openBalanceAr": 500000000,
- "openBalanceLiability": 200000000,
- "openBalanceTotalFuture": 300000000,
- "openBalanceArFuture": 500000000,
- "openBalanceLiabilityFuture": 200000000,
- "openBalancePayment": 100000000
}
Reads Payer's Collection Balance.
refId | string Ref ID of the Account (Payer) |
externalId | string External ID of the Account (Payer) |
calculationForced | boolean Indicates whether Collection Balance calculation is forced. |
{- "collectionBalanceTotal": 100000000,
- "lastCalculated": "2021-03-29T12:17:14.166+02:00",
- "soonestDocumentDueDate": "2021-03-30T00:00:00.000+02:00"
}
Reads Payer's Payment Moral.
refId | string Ref ID of the Account (Payer) |
externalId | string External ID of the Account (Payer) |
calculationForced | boolean Indicates whether Payment Moral calculation is forced. |
{- "paymentMoral": "1",
- "lastCalculated": "2021-03-29T12:53:52.196+02:00",
- "soonestDocumentDueDate": "2021-03-30T00:00:00.000+02:00"
}
Creates Document of type 'Corrective Tax Document'.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType | string <= 60 characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
parentDocumentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Parent Document. |
reason required | string [ 1 .. 255 ] characters Reason of Corrective Tax Document as configured in external Product Catalogue. |
required | Array of objects (DocumentLine) Array of document lines (product code, product name, UoM, ...). |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentSource": "crm",
- "documentType": "correctiveTax",
- "documentCode": "correctiveTax",
- "documentName": "Corrective Tax",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "documentLines": [
- {
- "seqno": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "itemPrice": 100000000,
- "quantity": 2,
- "tax": "S_VAT",
- "taxIncluded": true,
- "glCode": "glGenericInvoice"
}, - {
- "seqno": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "itemPrice": 200000000,
- "quantity": 1,
- "tax": "S_VAT",
- "taxIncluded": true,
- "glCode": "glGenericInvoice"
}
], - "parentDocumentRefId": "nPqk4LXC31HKgy",
- "reason": "Wrong invoice"
}
{- "refId": "nPcWeWsTwBCBPa",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPcOXy7V2zLuVB",
- "code": "correctiveTax",
- "name": "Corrective Tax"
}, - "documentNo": "cb557686-547d-455d-a3c8-ed3f702d7105",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "correctiveTax",
- "documentName": "Corrective Tax",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488,
- "totalInvoiced": 400000000,
- "roundingCompensation": 0,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:53:31.667+01:00",
- "documentCreatedBy": "usr01",
- "documentLines": [
- {
- "refId": "nPHpFl6amJcleQ",
- "seqNo": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 200000000,
- "quantity": 1,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165289256,
- "totalAmountNet": 200000000,
- "totalAmountTax": 34710744,
- "glCode": "glGenericInvoice"
}, - {
- "refId": "nPyc4M2TrDII9E",
- "seqNo": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 100000000,
- "quantity": 2,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165289256,
- "totalAmountNet": 200000000,
- "totalAmountTax": 34710744,
- "glCode": "glGenericInvoice"
}
]
}
Creates Document of type 'Deposit Requested'.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType | string <= 60 characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
amount required | integer <int64> Amount of the Document. Including or Excluding Tax depends on 'taxIncluded' attribute. |
taxIncluded | boolean Indicates whether amount is inclusive Tax. |
tax required | string [ 1 .. 60 ] characters Code of Tax. REF to 'Tax.internalCode'. |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentSource": "crm",
- "documentType": "deposit",
- "documentCode": "deposit",
- "documentName": "Deposit",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "amount": 200003456,
- "taxIncluded": true,
- "tax": "S_VAT"
}
{- "refId": "nPSTt1mdmm0ssQ",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPl2L5ynErwZQH",
- "code": "deposit",
- "name": "Deposit"
}, - "documentNo": "242d242d-be27-47ee-8073-b6416d626172",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "deposit",
- "documentName": "Deposit",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 165292112,
- "totalAmountNet": 200003456,
- "totalAmountTax": 34711344,
- "totalInvoiced": 200000000,
- "roundingCompensation": -3456,
- "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:55:26.946+01:00",
- "documentCreatedBy": "usr01"
}
Creates Document of type 'Generic Invoice'.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType | string <= 60 characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | Array of objects (DocumentLine) Array of document lines (product code, product name, UoM, ...). |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentSource": "crm",
- "documentType": "genericInvoice",
- "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "documentLines": [
- {
- "seqno": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "itemPrice": 100200000,
- "quantity": 2,
- "tax": "S_VAT",
- "taxIncluded": true,
- "glCode": "glGenericInvoice"
}, - {
- "seqno": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "itemPrice": 200100000,
- "quantity": 1,
- "tax": "S_VAT",
- "taxIncluded": true,
- "glCode": "glGenericInvoice"
}
]
}
{- "refId": "nPiVBg9f1m8XQL",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "38031ea2-2a5f-4326-a0af-f8abd4feaffd",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330991734,
- "totalAmountNet": 400500000,
- "totalAmountTax": 69508266,
- "totalInvoiced": 401000000,
- "roundingCompensation": 500000,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 330991734,
- "totalAmountNet": 400500000,
- "totalAmountTax": 69508266
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:58:59.845+01:00",
- "documentCreatedBy": "usr01",
- "documentLines": [
- {
- "refId": "nPVEOZZWde8qg4",
- "seqNo": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 200100000,
- "quantity": 1,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165371900,
- "totalAmountNet": 200100000,
- "totalAmountTax": 34728100,
- "glCode": "glGenericInvoice"
}, - {
- "refId": "nPzIuWda0tJRnL",
- "seqNo": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 100200000,
- "quantity": 2,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165619834,
- "totalAmountNet": 200400000,
- "totalAmountTax": 34780166,
- "glCode": "glGenericInvoice"
}
]
}
Creates Document of type 'Pro-forma Invoice'.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType | string <= 60 characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
amount required | integer <int64> Amount of the Document. Including or Excluding Tax depends on 'taxIncluded' attribute. |
taxIncluded | boolean Indicates whether amount is inclusive Tax. |
tax required | string [ 1 .. 60 ] characters Code of Tax. REF to 'Tax.internalCode'. |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentSource": "crm",
- "documentType": "proformaInvoice",
- "documentCode": "proforma",
- "documentName": "Pro-Forma Invoice",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "amount": 100300000,
- "taxIncluded": true,
- "tax": "S_VAT"
}
{- "refId": "nPJI7Ckca7cWzP",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPcr0ewiIla9w6",
- "code": "proformaInvoice",
- "name": "Proforma Invoice"
}, - "documentNo": "b57ad037-9fbd-484c-89c7-2ad0f67f58ba",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPcYCSumDtqrBc",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "proforma",
- "documentName": "Pro-Forma Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 82892561,
- "totalAmountNet": 100300000,
- "totalAmountTax": 17407439,
- "totalInvoiced": 100000000,
- "roundingCompensation": -300000,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 82892561,
- "totalAmountNet": 100300000,
- "totalAmountTax": 17407439
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T14:22:39.635+01:00",
- "documentCreatedBy": "usr01"
}
Creates Document of type 'Reciprocal Commitment'.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType | string <= 60 characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
amount required | integer <int64> Amount of the Document. Including or Excluding Tax depends on 'taxIncluded' attribute. |
taxIncluded | boolean Indicates whether amount is inclusive Tax. |
tax required | string [ 1 .. 60 ] characters Code of Tax. REF to 'Tax.internalCode'. |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentSource": "crm",
- "documentType": "reciprocalCommitment",
- "documentCode": "reciprocalCommitment",
- "documentName": "Reciprocal Commitment",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "amount": 351000000,
- "taxIncluded": false,
- "tax": "S_VAT"
}
{- "refId": "nPvvRQjquNGRYU",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPXIokhRgKkR1S",
- "code": "reciprocalCommitment",
- "name": "Reciprocal Commitment"
}, - "documentNo": "99f5a79d-0586-4a7a-8f72-c3531467bbcf",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "reciprocalCommitment",
- "documentName": "Reciprocal Commitment",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 351000000,
- "totalAmountNet": 424710000,
- "totalAmountTax": 73710000,
- "totalInvoiced": 425000000,
- "roundingCompensation": 290000,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 351000000,
- "totalAmountNet": 424710000,
- "totalAmountTax": 73710000
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T14:23:28.771+01:00",
- "documentCreatedBy": "usr01"
}
Creates Document of Any type.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentCategory | string (DocumentCategoryEnum) Enum: "GENERIC_INVOICE" "OCS_INVOICE" "DEPOSIT" "CORRECTIVE_TAX_DOC" "PROFORMA_INVOICE" "RECIPROCAL_COMMITMENT" Document Category values:
|
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType required | string [ 1 .. 60 ] characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
amount required | integer <int64> Amount of the Document. Including or Excluding Tax depends on 'taxIncluded' attribute. |
taxIncluded | boolean Indicates whether amount is inclusive Tax. |
tax required | string [ 1 .. 60 ] characters Code of Tax. REF to 'Tax.internalCode'. |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentCategory": "DEPOSIT",
- "documentSource": "crm",
- "documentType": "deposit",
- "documentCode": "deposit",
- "documentName": "Deposit",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "amount": 200003456,
- "taxIncluded": true,
- "tax": "S_VAT"
}
{- "refId": "nPSTt1mdmm0ssQ",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPl2L5ynErwZQH",
- "code": "deposit",
- "name": "Deposit"
}, - "documentNo": "242d242d-be27-47ee-8073-b6416d626172",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "deposit",
- "documentName": "Deposit",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 165292112,
- "totalAmountNet": 200003456,
- "totalAmountTax": 34711344,
- "totalInvoiced": 200000000,
- "roundingCompensation": -3456,
- "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:55:26.946+01:00",
- "documentCreatedBy": "usr01"
}
Creates Document With Lines of Any type.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
documentCategory | string (DocumentCategoryEnum) Enum: "GENERIC_INVOICE" "OCS_INVOICE" "DEPOSIT" "CORRECTIVE_TAX_DOC" "PROFORMA_INVOICE" "RECIPROCAL_COMMITMENT" Document Category values:
|
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentType required | string [ 1 .. 60 ] characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentDueDate | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Override configured Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod | string <= 60 characters Override configured Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
previewMode | boolean Indicates whether Document is created in 'Preview Mode'. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | Array of objects (DocumentLine) Array of document lines (product code, product name, UoM, ...). |
{- "previewMode": false,
- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentCategory": "GENERIC_INVOICE",
- "documentSource": "crm",
- "documentType": "genericInvoice",
- "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "currency": "EUR",
- "documentLines": [
- {
- "seqno": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "itemPrice": 100200000,
- "quantity": 2,
- "tax": "S_VAT",
- "taxIncluded": true,
- "glCode": "glGenericInvoice"
}, - {
- "seqno": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "itemPrice": 200100000,
- "quantity": 1,
- "tax": "S_VAT",
- "taxIncluded": true,
- "glCode": "glGenericInvoice"
}
]
}
{- "refId": "nPiVBg9f1m8XQL",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "38031ea2-2a5f-4326-a0af-f8abd4feaffd",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330991734,
- "totalAmountNet": 400500000,
- "totalAmountTax": 69508266,
- "totalInvoiced": 401000000,
- "roundingCompensation": 500000,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 330991734,
- "totalAmountNet": 400500000,
- "totalAmountTax": 69508266
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:58:59.845+01:00",
- "documentCreatedBy": "usr01",
- "documentLines": [
- {
- "refId": "nPVEOZZWde8qg4",
- "seqNo": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 200100000,
- "quantity": 1,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165371900,
- "totalAmountNet": 200100000,
- "totalAmountTax": 34728100,
- "glCode": "glGenericInvoice"
}, - {
- "refId": "nPzIuWda0tJRnL",
- "seqNo": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 100200000,
- "quantity": 2,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165619834,
- "totalAmountNet": 200400000,
- "totalAmountTax": 34780166,
- "glCode": "glGenericInvoice"
}
]
}
Assigns Document Credit to Document.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
sourceDocumentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the source Document. |
targetDocumentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the target Document. |
amount required | integer <int64> Amount of the Assignment. |
currency required | string = 3 characters Currency ISO Code of the Assignment. REF to 'Currency.code'. |
notificationRequested | boolean Indicates whether 'Credit assignment' Notification will be triggered. |
{ }
{ }
Cancel Assignment between Document Credit and Document.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
monetaryTransactionRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Monetatry Transaction. |
reason required | string [ 1 .. 60 ] characters Reason for Cancellation. REF to 'CancellationReason.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "monetaryTransactionRefId": "nPfKleixKNhlZS",
- "reason": "dfltReason"
}
[- {
- "name": "UpdateDocument",
- "seqno": 1,
- "object": { },
- "objectType": "io.ocs.pbs.rm.ex.model.DocumentEx"
}, - {
- "name": "UpdateDocument",
- "seqno": 2,
- "object": {
- "refId": "nPvf6HXy0EOvgV",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "81084d48-a379-4af0-bf12-086c382b7b20",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488,
- "totalInvoiced": 330580000,
- "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-18T16:57:22.604+02:00",
- "documentCreatedBy": "usr01",
- "dueAmount": 400000000,
- "dueAmountType": "AR"
}, - "objectType": "io.ocs.pbs.rm.ex.model.DocumentEx"
}
]
Cancel Document.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
documentRefId | string <= 40 characters ID (Ref ID) of the Document. Either 'documentRefId', 'documentNo' or 'externalDocumentNo' must be populated. |
documentNo | string <= 80 characters Number of the document (generated by RM module). Either 'documentRefId', 'documentNo' or 'externalDocumentNo' must be populated. |
externalDocumentNo | string <= 80 characters External number of the document (generated by external system, e.g. OCS or CRM). Either 'documentRefId', 'documentNo' or 'externalDocumentNo' must be populated. |
reason required | string [ 1 .. 60 ] characters Reason for Cancellation. REF to 'CancellationReason.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentRefId": "nPr2ODiPrs7oMI",
- "reason": "dfltReason"
}
{- "refId": "nPr2ODiPrs7oMI",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "2d240a5d-4af4-444a-ab96-e1ef5aeea4d2",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488,
- "totalInvoiced": 330580000,
- "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-19T20:26:34.153+02:00",
- "documentCreatedBy": "usr01",
- "dueAmount": 400000000,
- "dueAmountType": "AR",
- "documentCancelledDate": "2020-10-19T20:26:44.612+02:00",
- "documentCancelledBy": "usr01",
- "cancellationReason": {
- "refId": "nPo5rBDGAfp8N6",
- "code": "dfltReason",
- "name": "Default Reason"
}
}
Register OnLine Payment for Document.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
documentRefId | string <= 40 characters ID (Ref ID) of the Document. Either 'documentRefId', 'documentNo' or 'externalDocumentNo' must be populated. |
documentNo | string <= 80 characters Number of the document (generated by RM module). Either 'documentRefId', 'documentNo' or 'externalDocumentNo' must be populated. |
externalDocumentNo | string <= 80 characters External number of the document (generated by external system, e.g. OCS or CRM). Either 'documentRefId', 'documentNo' or 'externalDocumentNo' must be populated. |
paymentAmount required | integer <int64> Amount of the Payment. |
currency required | string = 3 characters Currency ISO Code. |
paymentDatePerformed required | string <date-time> Date/Time when OnLine Payment was performed. |
paymentRef | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentRefId": "nPBHv1M4G1f2lS",
- "paymentAmount": 400000000,
- "currency": "EUR",
- "paymentDatePerformed": "2020-10-03T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "channelType": "PaymentGateway",
- "notificationRequested": true
}
{- "refId": "nPaXgAZyFcYrAx",
- "paymentType": "PROMISE_TO_PAY",
- "paymentAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-03T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "channelType": "PaymentGateway",
- "paymentCreatedDate": "2020-10-18T13:07:08.666+02:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 400000000,
- "remainingAmount": 0,
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "promisedPaymentDueDate": "2020-11-03T00:00:00.000+01:00"
}
Reads Document.
documentRefId | string ID (Ref ID) of the Document. Either 'documentRefId' or 'documentNo' must be provided. |
documentNo | string Number of the Document as generated by RM. Either 'documentRefId' or 'documentNo' must be provided. |
{- "refId": "nPcWeWsTwBCBPa",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPcOXy7V2zLuVB",
- "code": "correctiveTax",
- "name": "Corrective Tax"
}, - "documentNo": "cb557686-547d-455d-a3c8-ed3f702d7105",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "correctiveTax",
- "documentName": "Corrective Tax",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488,
- "totalInvoiced": 400000000,
- "roundingCompensation": 0,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:53:31.667+01:00",
- "documentCreatedBy": "usr01",
- "documentLines": [
- {
- "refId": "nPHpFl6amJcleQ",
- "seqNo": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 200000000,
- "quantity": 1,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165289256,
- "totalAmountNet": 200000000,
- "totalAmountTax": 34710744,
- "glCode": "glGenericInvoice"
}, - {
- "refId": "nPyc4M2TrDII9E",
- "seqNo": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 100000000,
- "quantity": 2,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165289256,
- "totalAmountNet": 200000000,
- "totalAmountTax": 34710744,
- "glCode": "glGenericInvoice"
}
]
}
Assigns Identified Incoming Payment to Document.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Incoming Payment. |
documentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Document. |
amount required | integer <int64> Amount of the Assignment. |
currency required | string = 3 characters Currency ISO Code of the Assignment. REF to 'Currency.code'. |
notificationRequested | boolean Indicates whether 'Payment Received' Notification will be triggered. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "documentRefId": "nPfmbEeLjQWcJ8",
- "paymentRefId": "nPjicCoQHAB8OU",
- "amount": 400000000,
- "currency": "EUR"
}
[- {
- "name": "UpdatePayment",
- "seqno": 1,
- "object": {
- "refId": "nPpiS5676u9R51",
- "paymentType": "IN",
- "paymentAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2020-10-12T12:48:14.324+02:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 400000000,
- "remainingAmount": 0,
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "UpdateDocument",
- "seqno": 2,
- "object": {
- "refId": "nPqUMFVbOEVgFe",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "24f841a8-54f8-4fe7-8377-654f06dbffac",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488,
- "totalInvoiced": 330580000,
- "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-12T12:48:10.139+02:00",
- "documentCreatedBy": "usr01",
- "dueAmount": 0,
- "dueAmountType": "AR"
}, - "objectType": "io.ocs.pbs.rm.ex.model.DocumentEx"
}, - {
- "name": "CreateIncomingPayment2Document",
- "seqno": 3,
- "object": {
- "transactionAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2020-10-12T12:48:34.694+02:00",
- "transactionCreatedBy": "usr01"
}, - "objectType": "io.ocs.pbs.rm.ex.model.MonetaryTransactionEx"
}
]
Cancel Assignment between Identified Incoming Payment and Document.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
monetaryTransactionRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Monetatry Transaction. |
reason required | string [ 1 .. 60 ] characters Reason for Cancellation. REF to 'CancellationReason.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "monetaryTransactionRefId": "nPfKleixKNhlZS",
- "reason": "dfltReason"
}
[- {
- "name": "UpdatePayment",
- "seqno": 1,
- "object": {
- "refId": "nPGaSnhaECnX02",
- "paymentType": "IN",
- "paymentAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2020-10-18T17:02:30.506+02:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 0,
- "remainingAmount": 400000000,
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "UpdateDocument",
- "seqno": 2,
- "object": {
- "refId": "nPvf6HXy0EOvgV",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "81084d48-a379-4af0-bf12-086c382b7b20",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330578512,
- "totalAmountNet": 400000000,
- "totalAmountTax": 69421488,
- "totalInvoiced": 330580000,
- "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-18T16:57:22.604+02:00",
- "documentCreatedBy": "usr01",
- "dueAmount": 400000000,
- "dueAmountType": "AR"
}, - "objectType": "io.ocs.pbs.rm.ex.model.DocumentEx"
}
]
Cancel Identification of Identified Incoming Payment to Account.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Incoming Payment. |
reason required | string [ 1 .. 60 ] characters Reason for Cancellation. REF to 'CancellationReason.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentRefId": "nPbxEafDewMBcu",
- "reason": "dfltReason"
}
{- "refId": "nPbxEafDewMBcu",
- "paymentType": "IN",
- "paymentAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2020-10-19T15:18:01.863+02:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 0,
- "remainingAmount": 400000000
}
Creates Outgoing Payment according to Incoming Payment.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
paymentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Incoming Payment. |
description | string <= 50 characters Provider's Description of the Payment. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "paymentRefId": "nPuqsJTrlqfZQn",
- "description": "Transaction Desc"
}
[- {
- "name": "CreatePayment",
- "seqno": 1,
- "object": {
- "refId": "nPcx1zxkdCBr8W",
- "paymentType": "OUT",
- "paymentAmount": 0,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "payerNote": "Transaction Desc",
- "paymentCreatedDate": "2021-01-21T15:24:58.883+01:00",
- "paymentCreatedBy": "usr01"
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "UpdatePayment",
- "seqno": 2,
- "object": {
- "refId": "nPuqsJTrlqfZQn",
- "paymentType": "IN",
- "paymentAmount": 500000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-12-04T12:10:20.000+01:00",
- "paymentDateSent": "2020-12-02T21:00:00.000+01:00",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "",
- "payerNote": "Payment for Invoice",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2021-01-21T15:20:29.574+01:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 0,
- "remainingAmount": 0
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "CreatePaymentOutFromPaymentIn",
- "seqno": 3,
- "object": {
- "refId": "nPlLF0mmKpB7i2",
- "sourceEntityRefId": "nPuqsJTrlqfZQn",
- "targetEntityRefId": "nPcx1zxkdCBr8W",
- "transactionAmount": 500000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T15:24:58.883+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}, - "objectType": "io.ocs.pbs.rm.ex.model.MonetaryTransactionEx"
}
]
Creates Outgoing Payment from Credit Document(s).
Either 'bankAccountNumber'/'bankNumberCode' or 'iban'/'bic' must be provided.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentMethod | string <= 60 characters Payment Method associated with the Outgoing Payment. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string [ 1 .. 80 ] characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string [ 1 .. 10 ] characters Payer's (Billing Account) bank number code. |
iban | string [ 1 .. 50 ] characters Payer's (Billing Account) bank account number in international format. |
bic | string [ 1 .. 30 ] characters BIC code of bank. |
bankAccountName | string [ 1 .. 80 ] characters Payer's (Billing Account) bank account name. |
object (MoneyOrder) Person and Address details for Payment of type Money Order | |
description | string <= 50 characters Provider's Description of the Payment. Will be copied to Payer's NOTE of the payment transaction. |
required | object (EntityAmount) Type used for store pair of entity ID (e.g. Entity of type Document, Payment) and Amount. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentMethod": "bankTransfer",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "description": "Transaction Desc",
- "documentAmounts": [
- {
- "entityRefId": "nPYGZ6k9ovCVni",
- "amount": 50000000,
- "currency": "EUR"
}
]
}
[- {
- "name": "CreatePayment",
- "seqno": 1,
- "object": {
- "refId": "nPk6cogzi6mDwr",
- "paymentType": "OUT",
- "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "bankTransfer",
- "name": "Bank Transfer"
}, - "paymentAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "payerNote": "Transaction Desc",
- "paymentCreatedDate": "2021-01-21T14:01:08.911+01:00",
- "paymentCreatedBy": "usr01",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "UpdateDocument",
- "seqno": 2,
- "object": {
- "refId": "nPYGZ6k9ovCVni",
- "documentSource": {
- "refId": "nPXkXzd0cd8ex8",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPxRQz4QHjs7T1",
- "code": "deposit",
- "name": "Deposit"
}, - "documentNo": "20201450282654467",
- "customer": {
- "refId": "nPKno40vKNWajd",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "deposit",
- "documentName": "Deposit",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 165292112,
- "totalAmountNet": 200003456,
- "totalAmountTax": 34711344,
- "totalInvoiced": 200000000,
- "vatExemption": false,
- "paymentRef1": "20201450282654467",
- "paymentRef2": "SS0001",
- "paymentRef3": "0308",
- "documentCreatedDate": "2021-01-21T13:46:11.557+01:00",
- "documentCreatedBy": "usr01",
- "dueAmount": 100000000,
- "dueAmountType": "LIABILITY"
}, - "objectType": "io.ocs.pbs.rm.ex.model.DocumentEx"
}, - {
- "name": "CreatePaymentOutFromDocumentCredit",
- "seqno": 3,
- "object": {
- "refId": "nPOejp1lGSMJxz",
- "sourceEntityRefId": "nPYGZ6k9ovCVni",
- "targetEntityRefId": "nPk6cogzi6mDwr",
- "transactionAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:01:08.911+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}, - "objectType": "io.ocs.pbs.rm.ex.model.MonetaryTransactionEx"
}
]
Creates Outgoing Payment from Incoming Payment(s).
Either 'bankAccountNumber'/'bankNumberCode' or 'iban'/'bic' must be provided.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentMethod | string <= 60 characters Payment Method associated with the Outoing Payment. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string [ 1 .. 80 ] characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string [ 1 .. 10 ] characters Payer's (Billing Account) bank number code. |
iban | string [ 1 .. 50 ] characters Payer's (Billing Account) bank account number in international format. |
bic | string [ 1 .. 30 ] characters BIC code of bank. |
bankAccountName | string [ 1 .. 80 ] characters Payer's (Billing Account) bank account name. |
object (MoneyOrder) Person and Address details for Payment of type Money Order | |
description | string <= 50 characters Provider's Description of the Payment. Will be copied to Payer's NOTE of the payment transaction. |
required | object (EntityAmount) Type used for store pair of entity ID (e.g. Entity of type Document, Payment) and Amount. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentMethod": "bankTransfer",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "description": "Transaction Desc",
- "paymentAmounts": [
- {
- "entityRefId": "{{paymentRefId}}",
- "amount": 50000000,
- "currency": "EUR"
}
]
}
[- {
- "name": "CreatePayment",
- "seqno": 1,
- "object": {
- "refId": "nPBMw3lrz9BqVr",
- "paymentType": "OUT",
- "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "bankTransfer",
- "name": "Bank Transfer"
}, - "paymentAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "payerNote": "Transaction Desc",
- "paymentCreatedDate": "2021-01-21T14:08:00.469+01:00",
- "paymentCreatedBy": "usr01",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "UpdateDocument",
- "seqno": 2,
- "object": {
- "refId": "nPSFo5kOT1ohQ6",
- "paymentType": "IN",
- "paymentAmount": 500000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-12-04T12:10:20.000+01:00",
- "paymentDateSent": "2020-12-02T21:00:00.000+01:00",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "",
- "payerNote": "Payment for Invoice",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2021-01-21T14:04:42.066+01:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 50000000,
- "remainingAmount": 400000000,
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "CreatePaymentOutFromPaymentIn",
- "seqno": 3,
- "object": {
- "refId": "nPiUpbYwCDACN2",
- "sourceEntityRefId": "nPSFo5kOT1ohQ6",
- "targetEntityRefId": "nPBMw3lrz9BqVr",
- "transactionAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:08:00.469+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}, - "objectType": "io.ocs.pbs.rm.ex.model.MonetaryTransactionEx"
}
]
Sets Incoming Payment as identified to Account.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Incoming Payment. |
notificationRequested | boolean Indicates whether 'Payment Received' Notification will be triggered. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentRefId": "nPGaSnhaECnX02",
- "notificationRequested": false
}
{- "refId": "nPGaSnhaECnX02",
- "paymentType": "IN",
- "paymentAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2020-10-18T17:02:30.506+02:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 0,
- "remainingAmount": 400000000,
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}
Registers Incoming / Outgoing Payment from external system, e.g. Payment Gateway.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
paymentType required | string Enum: "IN" "OUT" "PROMISE_TO_PAY" Payment Types:
|
paymentAmount required | integer <int64> Amount of the Payment. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentMethod | string <= 60 characters Payment Method associated with the Incoming / Outgoing Payment. |
paymentDateReceived | string <date-time> Date/Time when Payment was received on provider's bank account. |
paymentDateSent | string <date-time> Date/Time when Payment was sent from payer's bank account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string <= 30 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
iban | string <= 50 characters Payer's (Billing Account) bank account number in international format. |
bic | string <= 30 characters Payer's (Billing Account) BIC code of the bank. |
bankAccountName | string <= 50 characters Payer's (Billing Account) bank account name. |
recipientNote | string <= 255 characters Recipient's note/description of the Payment. |
payerNote | string <= 255 characters Payer's note/decription of the Payment. |
bankAccountTransactionId | string <= 80 characters Unique identifier of transaction in the context of bank account. |
bankAccountNumberProvider | string <= 30 characters Provider's bank account number, including prefix, without bank number code. |
bankNumberCodeProvider | string <= 10 characters Provider's bank number code |
ibanProvider | string <= 50 characters Provider's bank account number in international format. |
bicProvider | string <= 30 characters Provider's BIC code of the bank. |
bankAccountNameProvider | string <= 50 characters Provider's bank account name. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
notificationRequested | boolean Indicates whether 'Payment Received' Notification will be triggered. |
edrFileLoader | string <= 60 characters Foreign Key to EdrFileLoader processed the Payment. |
edrFile | string <= 60 characters Foreign Key to EdrFile where Payment was loaded from. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentType": "IN",
- "paymentAmount": 400000000,
- "currency": "EUR",
- "paymentMethod": "bankTransfer",
- "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "bankAccountNumberDirectDebit": "000123-456789",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "notificationRequested": true
}
{- "refId": "nPbxEafDewMBcu",
- "paymentType": "IN",
- "paymentAmount": 400000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentMethod": {
- "refId": "nPNFrdyYRCKauO",
- "code": "bankTransfer",
- "name": "Bank Transfer"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2020-10-19T15:18:01.863+02:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 0,
- "remainingAmount": 400000000,
- "paymentIdentifiedDate": "2020-10-19T15:18:01.863+02:00",
- "paymentIdentifiedBy": "usr01",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}
Cancel Payment.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentRefId | string <= 40 characters ID (Ref ID) of the Payment. Either 'PaymentRefId', 'PaymentNo' or 'externalPaymentNo' must be populated. |
paymentNo | string <= 80 characters Number of the Payment (generated by RM module). Either 'PaymentRefId', 'PaymentNo' or 'externalPaymentNo' must be populated. |
externalPaymentNo | string <= 80 characters External number of the Payment (generated by external system, e.g. OCS or CRM). Either 'PaymentRefId', 'PaymentNo' or 'externalPaymentNo' must be populated. |
reason required | string [ 1 .. 60 ] characters Reason for Cancellation. REF to 'CancellationReason.internalCode'. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentRefId": "nPr2ODiPrs7oMI",
- "reason": "dfltReason"
}
{ }
Creates Outgoing Payment from Incoming Payment(s) with extended validations.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentMethod | string <= 60 characters Payment Method associated with the Outoing Payment. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string [ 1 .. 80 ] characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string [ 1 .. 10 ] characters Payer's (Billing Account) bank number code. |
iban | string [ 1 .. 50 ] characters Payer's (Billing Account) bank account number in international format. |
bic | string [ 1 .. 30 ] characters BIC code of bank. |
bankAccountName | string [ 1 .. 80 ] characters Payer's (Billing Account) bank account name. |
object (MoneyOrder) Person and Address details for Payment of type Money Order | |
description | string <= 50 characters Provider's Description of the Payment. Will be copied to Payer's NOTE of the payment transaction. |
required | object (EntityAmount) Type used for store pair of entity ID (e.g. Entity of type Document, Payment) and Amount. |
{- "requestId": "{{$guid}}",
- "user": "usr01",
- "account": {
- "externalId": "acc-test"
}, - "paymentMethod": "bankTransfer",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "description": "Transaction Desc",
- "paymentAmounts": [
- {
- "entityRefId": "{{paymentRefId}}",
- "amount": 50000000,
- "currency": "EUR"
}
]
}
[- {
- "name": "CreatePayment",
- "seqno": 1,
- "object": {
- "refId": "nPBMw3lrz9BqVr",
- "paymentType": "OUT",
- "paymentMethod": {
- "refId": "nPSOkqTstVXtjG",
- "code": "bankTransfer",
- "name": "Bank Transfer"
}, - "paymentAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "payerNote": "Transaction Desc",
- "paymentCreatedDate": "2021-01-21T14:08:00.469+01:00",
- "paymentCreatedBy": "usr01",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "UpdateDocument",
- "seqno": 2,
- "object": {
- "refId": "nPSFo5kOT1ohQ6",
- "paymentType": "IN",
- "paymentAmount": 500000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-12-04T12:10:20.000+01:00",
- "paymentDateSent": "2020-12-02T21:00:00.000+01:00",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "",
- "payerNote": "Payment for Invoice",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2021-01-21T14:04:42.066+01:00",
- "paymentCreatedBy": "usr01",
- "usedAmount": 50000000,
- "remainingAmount": 400000000,
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}
}, - "objectType": "io.ocs.pbs.rm.ex.model.PaymentEx"
}, - {
- "name": "CreatePaymentOutFromPaymentIn",
- "seqno": 3,
- "object": {
- "refId": "nPiUpbYwCDACN2",
- "sourceEntityRefId": "nPSFo5kOT1ohQ6",
- "targetEntityRefId": "nPBMw3lrz9BqVr",
- "transactionAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:08:00.469+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}, - "objectType": "io.ocs.pbs.rm.ex.model.MonetaryTransactionEx"
}
]
Performs defined Cron Job.
Payload of the request
cronJob required | string [ 1 .. 60 ] characters Code of the Cron Job. REF to 'CronJobCfg.internalCode'. |
effectiveDate | string <date-time> Effective Date/Time of the Cron Job. |
executionForced | boolean Indicates whether Cron Job Execution is forced even Job is disabled in configuration. |
{- "cronJob": "recurrent",
- "effectiveDate": "2021-09-19T22:00:00.000+02:00",
- "executionForced": true
}
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Close Bill Cycle Run to enable further activities.
Payload of the request
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
billCycle required | string [ 1 .. 60 ] characters Code of the Bill Cycle. REF to 'BillCycle.internalCode'. |
billCycleType required | string (BillCycleTypeBaseEnum) Enum: "PERIODICAL" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate required | string <date-time> Start Date of the Billing Period (truncated to Day). |
{- "user": "usr01",
- "billCycle": "mnt01",
- "billCycleType": "PERIODICAL",
- "billingPeriodStartDate": "2024-10-01"
}
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Schedules Bill Cycle Run for all accounts belonging to the Bill Cycle.
Payload of the request
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
billCycle required | string [ 1 .. 60 ] characters Code of the Bill Cycle. REF to 'BillCycle.internalCode'. |
billCycleType required | string (BillCycleTypeBaseEnum) Enum: "PERIODICAL" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate required | string <date-time> Start Date of the Billing Period (truncated to Day). |
{- "user": "usr01",
- "billCycle": "mnt01",
- "billCycleType": "PERIODICAL",
- "billingPeriodStartDate": "2024-10-01"
}
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Performs Bill Cycle Run in regular mode.
Payload of the request
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
billCycle required | string [ 1 .. 60 ] characters Code of the Bill Cycle. REF to 'BillCycle.internalCode'. |
billCycleType required | string (BillCycleTypeBaseEnum) Enum: "PERIODICAL" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate required | string <date-time> Start Date of the Billing Period (truncated to Day). |
{- "user": "usr01",
- "billCycle": "mnt01",
- "billCycleType": "PERIODICAL",
- "billingPeriodStartDate": "2024-10-01"
}
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Fix errors in Bill Cycle Run.
Payload of the request
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
billCycle required | string [ 1 .. 60 ] characters Code of the Bill Cycle. REF to 'BillCycle.internalCode'. |
billCycleType required | string (BillCycleTypeBaseEnum) Enum: "PERIODICAL" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate required | string <date-time> Start Date of the Billing Period (truncated to Day). |
{- "user": "usr01",
- "billCycle": "mnt01",
- "billCycleType": "PERIODICAL",
- "billingPeriodStartDate": "2024-10-01"
}
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Finalize Bill Cycle Run.
Payload of the request
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
billCycle required | string [ 1 .. 60 ] characters Code of the Bill Cycle. REF to 'BillCycle.internalCode'. |
billCycleType required | string (BillCycleTypeBaseEnum) Enum: "PERIODICAL" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStartDate required | string <date-time> Start Date of the Billing Period (truncated to Day). |
{- "user": "usr01",
- "billCycle": "mnt01",
- "billCycleType": "PERIODICAL",
- "billingPeriodStartDate": "2024-10-01"
}
{- "name": "string",
- "seqno": 0,
- "object": { },
- "objectType": "string"
}
Triggers publishing of specified Document to Pub-Sub Endpoint. Used in case Document in target system should be re-formatted.
Payload of the request
documentRefId | string [ 0 .. 40 ] characters ID (Ref ID) of the Document. |
documentNo | string [ 0 .. 80 ] characters Number of the document (generated by RM module). |
{- "requestId": "{{$guid}}",
- "documentNo": "1234567890"
}
Deletes all Chargeable Events on Account. Align Recurrent cycles if required. Only for migration purposes.
Payload of the request
requestId required | string <= 255 characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
recurrentCyclesAligned | boolean Indicates whether Recurrent cycles are aligned. |
alignmentDate | string <date-time> Effective date till when Recurrent cycles are aligned.. |
{- "requestId": "{{$guid}}",
- "user": "migration",
- "account": {
- "externalId": "SML-336"
}, - "recurrentCyclesAligned": true,
- "alignmentDate": "2024-01-01T00:00:00.000+01:00"
}
Creating Document of type specified in DocumentType. Only for migration purposes.
Payload of the request
requestId required | string <= 255 characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
documentType required | string [ 1 .. 60 ] characters Type of the Document. REF to 'DocumentType.internalCode'. |
documentNo required | string [ 1 .. 80 ] characters Unique Number of the Document. |
externalDocumentNo | string <= 80 characters Unique External number of the Document. |
documentSource required | string [ 1 .. 60 ] characters Source of the Document. REF to 'DocumentSource.internalCode'. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate required | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with TAX Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with TAX Exemption. |
totalInvoiced required | integer <int64> Invoiced Amount of the Document, after rounding. This amount may consider other due documents / over-payments. This is the amount which is expected to be paid by Payer in order to settle all debts. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence |
dueAmount required | integer <int64> Due amount of the account receivable or liability including Tax. |
dueAmountType required | string (DueAmountType) Enum: "AR" "LIABILITY" Due Amount Types:
|
paymentMethod required | string [ 1 .. 60 ] characters Payment Method. REF to 'PaymentMethod.internalCode'. |
deliveryMethod required | string [ 1 .. 60 ] characters Delivery Method. REF to 'DeliveryMethod.internalCode'. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
billCycle | string [ 1 .. 60 ] characters Code of the Billing Cycle. Valid only for 'OCS Invoice' document. |
billCycleType | string (BillCycleTypeEnum) Enum: "PERIODICAL" "COMPOSITE" "INITIAL" "ADJUSTMENT" "FINAL" Billing Cycle Types values:
|
billingPeriodStart | string <date-time> Billing Period Start Date. Valid only for 'OCS Invoice' document. |
billingPeriodEnd | string <date-time> Billing Period End Date. Valid only for 'OCS Invoice' document. |
correctiveTaxDocumentReason | string <= 255 characters Reason of corrective. Valid only for corrective tax document. |
parentDocumentRefId | string <= 40 characters Foreign Key to ParentDocument. Valid only for Corrective Tax document. |
debtThresholdReached | boolean Indicates whether Debt of the Document exceed threshold. |
dueAmountPostponed | integer <int64> Postponed due amount, populated when debtThresholdReached=False and dueAmount is postponed to future documents. |
dueAmountPostponedTransferred | integer <int64> Postponed due amount which was transferred to another document. |
dueAmountPostponedTransferredToRefId | string <= 40 characters Foreign Key to Document to which was dueAmountPostponed transferred. |
documentPaidDate | string <date-time> Date/Time when Document was paid (criteria when Document is considered as paid have been met). |
documentCancelledDate | string <date-time> Date/Time when Document was cancelled. |
documentCancelledBy | string <= 80 characters Identification of the user who cancelled this Document. |
cancellationReason | string <= 60 characters Cancellation Reason. REF to 'CancellationReason.internalCode'. |
recordState | string (RecordStateEnum) Enum: "ACTIVE" "ARCHIVE" States of the record:
|
{- "requestId": "{{$guid}}",
- "user": "migration",
- "account": {
- "externalId": "SML-336"
}, - "documentType": "ocsInvoice",
- "documentSource": "axfone",
- "documentCode": "axfoneInvoice",
- "documentName": "Axfone Invoice",
- "documentNo": "99{{$timestamp}}",
- "externalDocumentNo": "99{{$timestamp}}",
- "documentDueDate": "2021-03-01T22:00:00.000+02:00",
- "documentIssuedDate": "2021-01-01T22:00:00.000+02:00",
- "documentTaxDate": "2021-02-01T22:00:00.000+02:00",
- "paymentRef1": "0000001",
- "paymentRef2": "0000002",
- "paymentRef3": "0308",
- "currency": "CZK",
- "totalAmount": 100000000,
- "totalAmountNet": 121000000,
- "totalAmountTax": 21000000,
- "totalInvoiced": 121000000,
- "roundingCompensation": 0,
- "dueAmount": 121000000,
- "dueAmountType": "AR",
- "paymentMethod": "bankTransfer",
- "deliveryMethod": "ELE"
}
{- "documentNo": "991624780966",
- "externalDocumentNo": "991624780966",
- "documentSourceRefId": "nP7f508eccf4264b15af6d03f7e426ac2f",
- "documentTypeRefId": "nPJuOMoIKqQXDH",
- "accountRefId": "nPurV06vkuc8zQ",
- "payerRefId": "nPpOr3BGdbtEWm",
- "documentCode": "axfoneInvoice",
- "documentName": "Axfone Invoice",
- "documentIssuedDate": "2021-01-01T21:00:00.000+01:00",
- "documentTaxDate": "2021-02-01T21:00:00.000+01:00",
- "currencyRefId": "nPndtq1S3D21Y0",
- "totalAmount": 100000000,
- "totalAmountNet": 121000000,
- "totalAmountTax": 21000000,
- "totalInvoiced": 121000000,
- "roundingCompensation": 0,
- "dueAmount": 121000000,
- "dueAmountType": "AR",
- "documentDueDate": "2021-03-01T21:00:00.000+01:00",
- "paymentRef1": "0000001",
- "paymentRef2": "0000002",
- "paymentRef3": "0308",
- "paymentMethodRefId": "nPNFrdyYRCKauO",
- "deliveryMethodRefId": "nPV55Lshs7Wht4",
- "documentCreatedDate": "2021-06-27T10:02:45.874+02:00",
- "documentCreatedBy": "migration",
- "documentStored": false,
- "refId": "nPfcc0d387961d49b883fe15341c91e83f"
}
Creating Document Items for migrated Document. Only for migration purposes.
deleteChargeableEvents | boolean Indicates whether all Chargeable Events are deleted prior creating of Document items. |
alignRecurrentCycles | boolean Indicates whether Recurrent cycles are aligned. |
storeDocumentItems | boolean Indicates whether Document Items are stored. |
Payload of the request
requestId required | string <= 255 characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
documentRefId | string [ 1 .. 40 ] characters Ref ID of the Document. |
documentNo | string [ 1 .. 80 ] characters Number of the Document. |
object (OcsInvoiceLayout) Document header layout, from this other layouts are inherited. |
{ }
{ }
Creating Payment of type specified in PaymentType. Only for migration purposes.
Payload of the request
requestId required | string <= 255 characters Unique ID of the request. |
requestDate | string <date-time> Date/Time of the request. Set by system itself. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
paymentType required | string (PaymentType) Enum: "IN" "OUT" "PROMISE_TO_PAY" "PAYMENT_OUT_REQ" Payment Types:
|
paymentNo required | string [ 1 .. 80 ] characters Unique Number of the Payment. |
externalPaymentNo | string <= 80 characters Unique External number of the Payment. |
paymentAmount required | integer <int64> Amount of the Payment. |
currency required | string = 3 characters Currency ISO Code. REF to 'Currency.code'. |
paymentDateReceived | string <date-time> Date/Time when Payment was received on provider's bank account. |
paymentDateSent | string <date-time> Date/Time when Payment was sent from payer's bank account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string <= 30 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
iban | string <= 50 characters Payer's (Billing Account) bank account number in international format. |
bic | string <= 30 characters BIC code of the bank. |
bankAccountName | string <= 50 characters Payer's (Billing Account) bank account name. |
recipientNote | string <= 255 characters Recipient's note/description of the Payment. |
payerNote | string <= 255 characters Payer's note/description of the Payment. |
bankAccountTransactionId | string <= 80 characters Identifier of transaction in the context of bank account. |
bankAccountNumberProvider | string <= 30 characters Provider's bank account number, including prefix, without bank number code. |
bankNumberCodeProvider | string <= 10 characters Payer's bank number code. |
ibanProvider | string <= 50 characters Provider's bank account number in international format. |
bicProvider | string <= 30 characters Provider's BIC code of the bank. |
bankAccountNameProvider | string <= 50 characters Provider's bank account name. |
paymentIdentifiedDate | string <date-time> Date/Time when Payment was lastly identified. |
paymentIdentifiedBy | string <= 80 characters Identification of the user who lastly identified the Payment. |
paymentAssignedDate | string <date-time> Date/Time when Payment was lastly assigned. |
paymentAssignedBy | string <= 80 characters Identification of the user who lastly assigned the Payment. |
usedAmount | integer <int64> Valid only for incoming payments, amount used in case of amount transactions. |
remainingAmount | integer <int64> Valid only for incoming payments, remaining amount of payment after using some amount in case of amount transactions. |
paymentCancelledDate | string <date-time> Date/Time when Payment was cancelled. |
paymentCancelledBy | string <= 80 characters Identification of the user who cancelled the Payment. |
cancellationReason | string <= 60 characters Cancellation Reason. REF to 'CancellationReason.internalCode'. |
promisedPaymentRefId | string <= 40 characters Foreign Key to Payment of PaymentType='PROMISE_TO_PAY' done via OnLine channels. |
promisedPaymentDueDate | string <date-time> Date/Time Due of the Promised Payment. Populated only for PaymentType='PROMISE_TO_PAY'. |
paymentOutRequestDueDate | string <date-time> Date/Time Due of the Payment Out Request. Populated only for PaymentType='PAYMENT_OUT_REQ'. |
recordState | string (RecordStateEnum) Enum: "ACTIVE" "ARCHIVE" States of the record:
|
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
{- "requestId": "{{$guid}}",
- "user": "migration",
- "account": {
- "externalId": "SML-336"
}, - "paymentType": "IN",
- "paymentNo": "88}{{$timestamp}}",
- "externalPaymentNo": "88{{$timestamp}}",
- "paymentAmount": 500000000,
- "currency": "CZK",
- "paymentDateReceived": "2020-12-04T13:10:20.000+02:00",
- "paymentDateSent": "2020-12-02T22:00:00.000+02:00",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Miloš Havel",
- "bankAccountNumberDirectDebit": "000123-456789",
- "recipientNote": "",
- "payerNote": "Payment for services",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentIdentifiedBy": "migration",
- "paymentIdentifiedDate": "2020-12-04T13:10:20.000+02:00"
}
{- "paymentNo": "88}1624780507",
- "externalPaymentNo": "881624780507",
- "paymentType": "IN",
- "paymentAmount": 500000000,
- "currencyRefId": "nPndtq1S3D21Y0",
- "paymentDateReceived": "2020-12-04T12:10:20.000+01:00",
- "paymentDateSent": "2020-12-02T21:00:00.000+01:00",
- "paymentRef1": "20200000000001",
- "paymentRef2": "",
- "paymentRef3": "0308",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Miloš Havel",
- "recipientNote": "",
- "payerNote": "Payment for services",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2021-06-27T09:55:06.891+02:00",
- "paymentCreatedBy": "usr01",
- "paymentIdentifiedDate": "2020-12-04T12:10:20.000+01:00",
- "paymentIdentifiedBy": "migration",
- "accountRefId": "nPurV06vkuc8zQ",
- "remainingAmount": 500000000,
- "refId": "nP9e61713b82374dbcbe88642f13c744d8"
}
Assigns Document Credit to Document. Only for migration purposes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
sourceDocumentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the source Document. |
targetDocumentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the target Document. |
amount required | integer <int64> Amount of the Assignment. |
currency required | string = 3 characters Currency ISO Code of the Assignment. REF to 'Currency.code'. |
transactionCreatedDate required | string <date-time> Date/Time when Transaction was created. |
recordState | string (RecordStateEnum) Enum: "ACTIVE" "ARCHIVE" States of the record:
|
{- "requestId": "{{$guid}}",
- "user": "migrate",
- "account": {
- "externalId": "SML-336"
}, - "sourceDocumentRefId": "{{documentCreditMigRefId}}",
- "targetDocumentRefId": "{{documentMigRefId}}",
- "amount": 200000000,
- "currency": "CZK",
- "transactionCreatedDate": "2020-12-04T13:10:20.000+02:00"
}
{- "sourceDocumentRefId": "nP39b5314c5d844a5d83c1288565291fda",
- "targetDocumentRefId": "nPfcc0d387961d49b883fe15341c91e83f",
- "transactionAmount": 200000000,
- "currencyRefId": "nPndtq1S3D21Y0",
- "transactionCreatedDate": "2020-12-04T12:10:20.000+01:00",
- "transactionCreatedBy": "migrate",
- "refId": "nPcd1cf3303a5645c289d4e957e9e53813"
}
Assigns Identified Incoming Payment to Document. Only for migration purposes.
Payload of the request
requestId required | string [ 1 .. 255 ] characters Unique ID of the request. |
transactionId | string <= 255 characters Business Transaction ID for correlating multiple request in external systems. If not provided, Request ID will be copied. |
user required | string [ 1 .. 80 ] characters Identification of the User performed the operation. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Incoming Payment. |
documentRefId required | string [ 1 .. 40 ] characters ID (Ref ID) of the Document. |
amount required | integer <int64> Amount of the Assignment. |
currency required | string = 3 characters Currency ISO Code of the Assignment. REF to 'Currency.code'. |
transactionCreatedDate required | string <date-time> Date/Time when Transaction was created. |
recordState | string (RecordStateEnum) Enum: "ACTIVE" "ARCHIVE" States of the record:
|
{- "requestId": "{{$guid}}",
- "user": "migration",
- "account": {
- "externalId": "SML-336"
}, - "documentRefId": "{{documentMigRefId}}",
- "paymentRefId": "{{paymentMigRefId}}",
- "amount": 50000000,
- "currency": "CZK",
- "transactionCreatedDate": "2020-12-04T13:10:20.000+02:00"
}
{- "paymentRefId": "nP9e61713b82374dbcbe88642f13c744d8",
- "documentRefId": "nP05e3aba6a235446990dc893da69976d4",
- "transactionAmount": 50000000,
- "currencyRefId": "nPndtq1S3D21Y0",
- "transactionCreatedDate": "2020-12-04T12:10:20.000+01:00",
- "transactionCreatedBy": "migration",
- "refId": "nP16ae82169a704f5e808078f9c5ccdada"
}
Publishes event 'Customer created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Customer name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
Array of objects (OfferSubscriptionEx) Offer Subscriptions assigned to Customer. | |
Array of objects (AccountEx) Accounts belonging to the Customer. |
{ }
Publishes event 'Account created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Account name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
object (AccountBillCycleEx) Account's Current Billing Cycle. | |
object (AccountBillCycleEx) Account's Current Billing Cycle. | |
Array of objects (AccountBillCycleEx) History of the Account's Bill Cycles. | |
paymentResponsible | boolean Indicates whether Account is Payment Responsible. |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
hasSubOrdinate | boolean Indicates whether Account has Sub-Ordinate Account(s.) |
subOrdinates | Array of strings List of Sub-Ordinate Account's Ref IDs. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
Array of objects (OfferSubscriptionEx) Offer Subscriptions assigned to Account. | |
Array of objects (SubscriberEx) Subscribers belonging to the Account. |
{ }
Publishes event 'Subscriber created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Subscriber name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
primaryResourceValue required | string [ 1 .. 255 ] characters Primary Resource Value. |
Array of objects (SubscriberResourceEx) Resources assigned to Subscriber. | |
Array of objects (OfferSubscriptionEx) Offer Subscriptions assigned to Subscriber. |
{ }
Publishes event 'Subscriber Resource created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
resourceValue required | string [ 1 .. 255 ] characters Value of the Resource. |
validFrom required | string <date-time> From when Resource is Valid. |
validTo | string <date-time> Till when Resource is valid. |
{ }
Publishes event 'Offer Subscription created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes | |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
isTransient | boolean Indicates whether Subscription is transient. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map |
{ }
Publishes event 'Payer created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the AccountDetail. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
invoicingExcluded | boolean Indicates whether Payer is excluded from Invoicing. |
dueDateOffset | integer <int64> Offset for calculation of Due Date of all Documents. |
paymentMoral | integer <int64> Payment moral of the Account, calculated in flowing period for last X months. |
paymentMoralCalculated | string <date-time> Last calculation of Payment moral for the Account. |
bankAccountName | string <= 80 characters Payer's (Billing Account) bank account name. |
bankAccountNumber | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code. |
iban | string <= 50 characters |
bic | string <= 30 characters BIC code of bank. |
paymentRef1 | string <= 30 characters Payer's (Billing Account) Payment Reference No.1 in case Payment Reference No.1 is static. |
paymentRef2 | string <= 30 characters Payer's (Billing Account) Payment Reference No.2 in case Payment Reference No.2 is static. |
paymentRef3 | string <= 30 characters Payer's (Billing Account) Payment Reference No.3 in case Payment Reference No.3 is static. |
bankAccountNumberDirectDebit | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebit | string <= 10 characters Payer's (Billing Account) bank number code for Direct Debit. |
bankAccountNumberDirectDebitProvider | string <= 80 characters Provider's bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebitProvider | string <= 10 characters Provider's bank number code for Direct Debit. |
vatLiable | boolean Indicates whether Payer is liable for VAT. |
vatLiableValidFrom | string <date-time> Date/Time from when Payer is liable for VAT. |
vatLiableValidTo | string <date-time> Date/Time till when Payer is liable for VAT. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map |
{ }
Publishes event 'Document created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
documentNo required | string [ 1 .. 80 ] characters Number of the Document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. CRM). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 60 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
recommendedPaymentDate | string <date-time> Recommended Payment Date. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
totalInvoiced | integer <int64> Invoiced Amount of the Document, after rounding. This amount may consider other due documents / over-payments. This is the amount which is expected to be paid by Payer in order to settle all debts. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence of the Payment Responsible Account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
paymentInfo | string (PaymentInfo) Enum: "BANK_TRANSFER" "DIRECT_DEBIT" "POSTPONED" "DO_NOT_PAY" Payment Info values:
|
documentCreatedDate required | string <date-time> Date/Time when Document was created. |
documentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created this Document. |
dueAmount required | integer <int64> Due amount of the account receivable or liability including Tax. |
dueAmountType required | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentPaidDate | string <date-time> Date/Time when Document was paid (criteria when Document is considered as paid have been met). |
object (BillCycleEx) Billing Cycle including Billing Period start and end. | |
correctiveTaxDocumentReason | string <= 255 characters Reason of corrective. Valid only for Corrective Tax document. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
parentDocumentRefId | string <= 40 characters Foreign Key to ParentDocument. Valid only for Corrective Tax document. |
documentCancelledDate | string <date-time> Date/Time when Document was cancelled. |
documentCancelledBy | string <= 80 characters Identification of the user who cancelled this Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
cancellationAmount | integer <int64> Cancellation amount of the account receivable or liability including Tax (= Due Amount at the time of Cancel). |
{- "refId": "nPtvbglRsmKV4E",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPl2L5ynErwZQH",
- "code": "deposit",
- "name": "Deposit"
}, - "documentNo": "840389f2-48a9-44e6-96b3-777a8ab4b693",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "deposit",
- "documentName": "Deposit",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 200000000,
- "totalAmountNet": 242000000,
- "totalAmountTax": 42000000,
- "totalInvoiced": 200000000,
- "roundingCompensation": 0,
- "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-09T00:05:51.838+02:00",
- "documentCreatedBy": "usr01",
- "dueAmount": 200000000,
- "dueAmountType": "LIABILITY"
}
Publishes event 'Payment registered/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Payment. |
paymentNo required | string [ 1 .. 80 ] characters Number of the Payment (generated by RM module). |
externalPaymentNo | string <= 80 characters External number of the Payment (generated by external system, e.g. Bank or Payment Gateway). |
paymentType required | string (PaymentType) Enum: "IN" "OUT" "PROMISE_TO_PAY" "PAYMENT_OUT_REQ" Payment Types:
|
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
paymentAmount required | integer <int64> Amount of the Payment. |
required | object (CurrencyEx) Definition of the Currency. |
paymentDateReceived | string <date-time> Date/Time when Payment was received on provider's bank account. Valid only for incoming payments. |
paymentDateSent | string <date-time> Date/Time when Payment was sent from payer's bank account (Incoming) from provider's bank account (Outgoing).") |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string <= 30 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code. |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
iban | string <= 50 characters Payer's (Billing Account) bank account number in international format. |
bic | string <= 30 characters Payer's (Billing Account) BIC code of the bank. |
bankAccountName | string <= 50 characters Payer's (Billing Account) bank account name. |
object (MoneyOrder) Person and Address details for Payment of type Money Order | |
recipientNote | string <= 255 characters Recipient's note/description of the Payment. Valid only for incoming payments. |
payerNote | string <= 255 characters Payer's note/description of the Payment. |
bankAccountNumberProvider | string <= 30 characters Provider's bank account number, including prefix, without bank number code. |
bankNumberCodeProvider | string <= 10 characters Provider's bank number code. |
ibanProvider | string <= 50 characters Provider's bank account number in international format. |
bicProvider | string <= 30 characters Provider's BIC code of the bank. |
bankAccountNameProvider | string <= 50 characters Provider's bank account name. |
paymentCreatedDate required | string <date-time> Date/Time when Payment was created. |
paymentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who creates the Payment. |
paymentIdentifiedDate | string <date-time> Date/Time when Payment was lastly identified. Valid only for incoming payments. |
paymentIdentifiedBy | string <= 80 characters Identification of the user who lastly idenfifed the Payment. Valid only for incoming payments. |
paymentAssignedDate | string <date-time> Date/Time when Payment was lastly assigned. |
paymentAssignedBy | string <= 80 characters Identification of the user who lastly assigned the Payment. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
usedAmount | integer <int64> Amount used in case of amount transactions. |
remainingAmount | integer <int64> Remaining amount of payment after using some amount in case of amount transactions. |
paymentCancelledDate | string <date-time> Date/Time when Payment was cancelled. |
paymentCancelledBy | string <= 80 characters Identification of the user who cancelled the Payment. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
cancellationAmount | integer <int64> Cancellation amount (= Remaining Amount at the time of Cancel). |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
promisedPaymentRefId | string <= 40 characters Ref ID of the Promised Payment done via OnLine channels. Populated only for PaymentType='PROMISE_TO_PAY'. |
promisedPaymentDueDate | string <date-time> Date/Time Due of the Promised Payment. Populated only for PaymentType='PROMISE_TO_PAY'. |
{- "refId": "nPRcMI4bnnZgJ3",
- "paymentType": "IN",
- "paymentAmount": 100000000,
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "paymentDateReceived": "2020-10-03T22:00:00.000+02:00",
- "paymentDateSent": "2020-10-01T22:00:00.000+02:00",
- "paymentRef1": "VS0001",
- "paymentRef2": "SS0001",
- "paymentRef3": "SIPO0001",
- "bankAccountNumber": "000123-456789",
- "bankNumberCode": "1234",
- "channelType": "PaymentGateway",
- "iban": "CZ1234000123456789",
- "bic": "CZXXX",
- "bankAccountName": "Bank Account Name",
- "recipientNote": "Recipient Note",
- "payerNote": "Payer Note",
- "bankAccountTransactionId": "XXX-123-456-789-YYY",
- "paymentCreatedDate": "2020-10-09T00:04:44.111+02:00",
- "paymentCreatedBy": "usr01",
- "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}
Publishes event 'Payments paired/unapired to/from Document'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
sourceEntity required | string Enum: "DOCUMENT_AR" "DOCUMENT_LIABILITY" Source Entity (From).
|
targetEntity required | string Enum: "PAYMENT_IN" "PAYMENT_OUT" Target Entity (To).
|
required | object (MonetaryTransactionEx) Detail of Monetary Transaction. |
{- "refId": "nPpvXSzkxip8oU",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}, - "sourceEntity": "DOCUMENT_AR",
- "targetEntity": "PAYMENT_IN",
- "monetaryTransaction": {
- "refId": "nPK0TFUc4E4reb",
- "sourceEntityRefId": "nPpvXSzkxip8oU",
- "targetEntityRefId": "nPSFo5kOT1ohQ6",
- "transactionAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:04:55.158+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}
}
Publishes event 'Documents paired/unpaired to/from Payment'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Payment. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
sourceEntity required | string Enum: "PAYMENT_IN" "PAYMENT_OUT" Source Entity (From).
|
targetEntity required | string Enum: "DOCUMENT_AR" "DOCUMENT_LIABILITY" Target Entity (To).
|
required | object (MonetaryTransactionEx) Detail of Monetary Transaction. |
{- "refId": "nPSFo5kOT1ohQ6",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}, - "sourceEntity": "PAYMENT_IN",
- "targetEntity": "DOCUMENT_AR",
- "monetaryTransaction": {
- "refId": "nPK0TFUc4E4reb",
- "sourceEntityRefId": "nPSFo5kOT1ohQ6",
- "targetEntityRefId": "nPpvXSzkxip8oU",
- "transactionAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:04:55.158+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}
}
Publishes event 'Documents paired/unapired to/from Document'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
sourceEntity required | string Enum: "DOCUMENT_AR" "DOCUMENT_LIABILITY" Source Entity (From).
|
targetEntity required | string Enum: "DOCUMENT_AR" "DOCUMENT_LIABILITY" Target Entity (To).
|
required | object (MonetaryTransactionEx) Detail of Monetary Transaction. |
{- "refId": "nPpvXSzkxip8oU",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}, - "sourceEntity": "DOCUMENT_LIABILITY",
- "targetEntity": "DOCUMENT_AR",
- "monetaryTransaction": {
- "refId": "nPloZy7ZxHSsZD",
- "sourceEntityRefId": "nPtQ8T60wnLje2",
- "targetEntityRefId": "nPtQ8T60wnLje2",
- "transactionAmount": 200000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:06:45.390+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}
}
Publishes event 'Payments paired/unpaired to/from Payment'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Payment. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
sourceEntity required | string Enum: "PAYMENT_IN" "PAYMENT_OUT" Source Entity (From).
|
targetEntity required | string Enum: "PAYMENT_IN" "PAYMENT_OUT" Target Entity (To).
|
required | object (MonetaryTransactionEx) Detail of Monetary Transaction. |
{- "refId": "nPSFo5kOT1ohQ6",
- "account": {
- "refId": "nPurV06vkuc8zQ",
- "externalId": "acc-test"
}, - "sourceEntity": "PAYMENT_IN",
- "targetEntity": "PAYMENT_OUT",
- "monetaryTransaction": {
- "refId": "nPiUpbYwCDACN2",
- "sourceEntityRefId": "nPSFo5kOT1ohQ6",
- "targetEntityRefId": "nPBMw3lrz9BqVr",
- "transactionAmount": 50000000,
- "currency": {
- "symbol": "€",
- "refId": "nPndtq1S3D21Y0",
- "code": "EUR",
- "name": "EURO"
}, - "transactionCreatedDate": "2021-01-21T14:08:00.469+01:00",
- "transactionCreatedBy": "usr01",
- "transactionCancelled": false
}
}
Publishes event 'Payment History created/updated'.
operationType | operationCode | Description | Reference |
---|---|---|---|
CREATED | PAYMENT_IN_CREATED | Published when Incoming Payment is created. | |
UPDATED | PAYMENT_IN_UPDATED | Published when Incoming Payment is updated. | |
UPDATED | PAYMENT_IN_CANCELLED | Published when Incoming Payment is cancelled. | |
UPDATED | PAYMENT_IN_IDENTIFIED | Published when Incoming Payment is identified. | |
UPDATED | PAYMENT_IN_UNIDENTIFIED | Published when Incoming Payment's Identification is removed. | |
UPDATED | PAYMENT_IN_PAIRED_DOCUMENT | Published when Incoming Payment is paired with Document. | Document |
UPDATED | PROMISE_TO_PAY_PAIRED_DOCUMENT | Published when Promise to Pay is paired with Document. | Document |
UPDATED | PROMISE_TO_PAY_PAIRED_PAYMENT | Published when Promise to Pay is paired with Incoming Payment. NOTE: Event is published for each party (Promise to Pay & Incoming Payment). |
Incoming Payment |
UPDATED | PAYMENT_IN_UNPAIRED | Published when Incoming Payment's pairing with Document is removed. | Document |
UPDATED | PROMISE_TO_PAY_CANCELLED | Published when Promise to Pay is cancelled. | |
CREATED | PAYMENT_OUT_CREATED | Published when Outgoing Payment is created. | |
UPDATED | PAYMENT_OUT_UPDATED | Published when Outgoing Payment is updated. | |
UPDATED | PAYMENT_OUT_CANCELLED | Published when Outgoing Payment is cancelled. | |
UPDATED | PAYMENT_OUT_IDENTIFIED | Published when Outgoing Payment is identified. | |
UPDATED | PAYMENT_OUT_REQ_PAIRED | Published when Outgoing Payment Request is paired with Outgoing Payment. NOTE: Event is published for each party (Outgoing Payment Request & Outgoing Payment). |
Outgoing Payment |
UPDATED | PAYMENT_OUT_REQ_CANCELLED | Published when Outgoing Payment Request is cancelled. |
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the PaymentHistory. |
operationType required | string (HistoryOperationType) Enum: "CREATED" "UPDATED" History Operation Types:
|
operationCode required | string [ 1 .. 60 ] characters Code of the Operation. |
createdDate required | string <date-time> Date/Time when History Entry was created. |
createdBy required | string [ 1 .. 80 ] characters Identification of the user who created the History Entry. |
object Parameters of the Operation as HashMap. | |
paymentType required | string (PaymentType) Enum: "IN" "OUT" "PROMISE_TO_PAY" "PAYMENT_OUT_REQ" Payment Types:
|
paymentRefId required | string <= 40 characters Payment Ref ID. |
effectiveDate | string <date-time> Effective Date/Time of the Operation. |
refPaymentType | string (PaymentType) Enum: "IN" "OUT" "PROMISE_TO_PAY" "PAYMENT_OUT_REQ" Payment Types:
|
refPaymentRefId | string <= 40 characters Referenced Payment Ref ID. |
refDocumentRefId | string <= 40 characters Referenced Document Ref ID. |
{ }
Publishes event 'Chargeable Event created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
refId required | string [ 1 .. 40 ] characters RefId of the Event. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
resource | string <= 255 characters Resource made the Event. |
chargeType | string (ChargeTypeEnum) Enum: "CREDIT" "DEBIT" "DISCOUNT" "ADJUSTMENT" "REFUND" "STORNO" Charge Types:
|
chargingTaxIncluded | boolean Indicates whether Charging was performed with Tax Included charges. |
taxValue | integer <int64> Tax Value applied. |
proRateRatio | integer <int64> In case of Pro-Rating, Ratio which was used. In 0.01% |
proRateMode | string (ProRateModeEnum) Enum: "SECOND" "DAY" "NOON" "CUSTOMER_FRIENDLY" "PROVIDER_FRIENDLY" Pro-Rate Modes:
|
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
eventEntry required | string <date-time> Timestamp when event was entered. |
eventStart required | string <date-time> Start Timestamp of the event. |
eventEnd | string <date-time> End Timestamp of the event. |
eventCount required | integer <int64> Events count. |
volume required | integer <int64> Volume of the event as in the Charging Request. |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
eventTotalVolume required | integer <int64> Total Volume of the event after Charging completed. |
eventTotalPrice | integer <int64> Total Price of the event after Charging completed, incl. all discounts, promos, free units, etc. Rounded to Currency precision and Rounding Level definition. Excluding Tax. |
eventTotalPriceNet | integer <int64> Sum of Total Price and Total Price Tax. Rounded to Currency precision and Rounding Level definition. |
eventTotalPriceTax | integer <int64> Tax part of the Total Price. Rounded to Currency precision and Rounding Level definition. |
eventCataloguePrice | integer <int64> Catalogue Price per Units and UoM. Excluding Tax. |
eventCataloguePriceNet | integer <int64> Catalogue Price per Units and UoM. Including Tax. |
eventCataloguePricePerUnit | integer <int64> Catalogue Price per Unit. |
eventCataloguePricePerUnitUoM | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
ratedTotalVolume | integer <int64> Total Volume after Rating. |
ratedTotalPrice | integer <int64> Total Price after Rating. Excluding Tax. |
overrideUnitPrice | integer <int64> Price passed to Charging Request which overrides Offer Price. Excluding Tax. |
overrideUnitPriceNet | integer <int64> Net Price passed to Charging Request which overrides Offer Price. Including Tax. |
reservationId | string ID of the Reservation in case ECUR or SCUR charging. |
request | object Request. |
ratingResult | object Rating Result. |
{ }
Publishes event 'Balance Event created/updated'.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
Payload of the request
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (BalanceDefEx) Balance Definition | |
Array of objects (BalanceValueEx) Balance instances |
{ }
Notifies event 'Collection for Account should be started'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'collectionStart'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'CollectionStartNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
dueAmount required | integer <int64> Sum of all Due amounts for the Account. |
oldestDocumentDueDate required | string <date-time> Oldest Document Due date |
{ }
Notifies event 'Credit to Document Assignment'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'creditToDocumentAssignment'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'CreditToDocumentAssignmentNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
sourceDocumentNo required | string [ 1 .. 80 ] characters Number of the Source Document (Credit). |
sourceDocumentExternalNo | string <= 80 characters External number of the Source Document (Credit). |
targetDocumentNo required | string [ 1 .. 80 ] characters Number of the Target Document (Debt). |
targetDocumentExternalNo | string <= 80 characters External number of the Target Document (Debt). |
transactionAmount required | integer <int64> Amount of the Transaction. |
required | object (CurrencyEx) Definition of the Currency. |
transactionCreatedDate required | string <date-time> Date/Time when Transaction was created. |
{ }
Notifies event 'Debit Request Created'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'debitRequestCreated'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'DebitRequestCreatedNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
documentNo required | string [ 1 .. 80 ] characters Number of the document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the document (generated by external system, e.g. OCS). |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (CurrencyEx) Definition of the Currency. |
amount required | integer <int64> Amount of the Debit Request |
requestDueDate required | string <date-time> Due date of the due amount. |
requestPlannedDate | string <date-time> Date/Time when Debit Request is planned for processing. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
channelType | string <= 60 characters Type of channel (e.g. card, direct debit, etc.). |
bankAccountNumberDirectDebit | string <= 80 characters Payer's (Billing Account) bank account number, including prefix, without bank number code for Direct debit. |
bankNumberCodeDirectDebit | string <= 10 characters Payer's (Billing Account) bank number code for Direct Debit. |
{ }
Notifies event 'Document Created'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'documentCreated'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'DocumentCreatedNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
documentNo required | string [ 1 .. 80 ] characters Number of the document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the document (generated by external system, e.g. OCS). |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (CurrencyEx) Definition of the Currency. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Documen including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
dueAmountType required | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentDueDate required | string <date-time> Due date of the Document. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
billingPeriodStart | string <date-time> Billing Period Start Date. Only for OCS Invoice Document. |
billingPeriodEnd | string <date-time> Billing Period End Date. Only for OCS Invoice Document. |
{ }
Notifies event 'Open Balance on Document changed'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'documentOpenBalanceChanged'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'DocumentOpenBalanceChangedNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
documentNo required | string [ 1 .. 80 ] characters Number of the document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the document (generated by external system, e.g. OCS). |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (CurrencyEx) Definition of the Currency. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
dueAmount required | integer <int64> Due amount of the account receivable or liability. |
dueAmountType required | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentDueDate required | string <date-time> Due date of the Document. |
{ }
Notifies event 'Payment Moral calculated'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'paymentMoralCalculated'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'PaymentMoralCalculatedNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentMoral required | string [ 1 .. 255 ] characters Payment moral of the Account. Deployment specific interpretation. |
paymentMoralCalculated | string <date-time> Last calculation of Payment moral for the Account. |
{ }
Notifies event 'Payment received'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'paymentReceived'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'PaymentReceivedNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentType required | string Value: "IN" Payment Types:
|
paymentAmount required | integer <int64> Amount of the Payment. |
required | object (CurrencyEx) Definition of the Currency. |
paymentDateReceived required | string <date-time> Date/Time when Payment was received on provider's bank account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
{ }
Notifies event 'Payment sent'.
x-ocs-io-transaction-id required | string ID of the transaction. |
x-ocs-io-notification-code required | string Code of the Notification - 'paymentSent'. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload - 'PaymentSentNotification'. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
paymentType required | string Value: "OUT" Payment Types:
|
paymentAmount required | integer <int64> Amount of the Payment. |
required | object (CurrencyEx) Definition of the Currency. |
paymentDateSent | string <date-time> Date/Time when Payment was sent from provider's bank account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
{ }
Notifies event 'First Event on Balance'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
object (CurrencyEx) Definition of the Currency. | |
grantedBalance required | integer <int64> Balance granted. |
balanceDeducted | boolean Indicates whether Balance is deducted to 0. |
actualBalance required | integer <int64> Actual Balance. |
validFrom required | string <date-time> Date/Time from when Balance Value is valid. |
validTo | string <date-time> Date/Time till when Balance is valid. |
{ }
Notifies event 'Threshold No.1 Reached on Balance'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
object (CurrencyEx) Definition of the Currency. | |
grantedBalance required | integer <int64> Balance granted. |
balanceDeducted | boolean Indicates whether Balance is deducted to 0. |
actualBalance required | integer <int64> Actual Balance. |
validFrom required | string <date-time> Date/Time from when Balance Value is valid. |
validTo | string <date-time> Date/Time till when Balance is valid. |
thresholdBalance required | integer <int64> Balance's defined threshold. |
{ }
Notifies event 'Threshold No.2 Reached on Balance'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
object (CurrencyEx) Definition of the Currency. | |
grantedBalance required | integer <int64> Balance granted. |
balanceDeducted | boolean Indicates whether Balance is deducted to 0. |
actualBalance required | integer <int64> Actual Balance. |
validFrom required | string <date-time> Date/Time from when Balance Value is valid. |
validTo | string <date-time> Date/Time till when Balance is valid. |
thresholdBalance required | integer <int64> Balance's defined threshold. |
{ }
Notifies event 'Threshold No.3 Reached on Balance'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
object (CurrencyEx) Definition of the Currency. | |
grantedBalance required | integer <int64> Balance granted. |
balanceDeducted | boolean Indicates whether Balance is deducted to 0. |
actualBalance required | integer <int64> Actual Balance. |
validFrom required | string <date-time> Date/Time from when Balance Value is valid. |
validTo | string <date-time> Date/Time till when Balance is valid. |
thresholdBalance required | integer <int64> Balance's defined threshold. |
{ }
Notifies event 'Adjustment on Balance'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
object (CurrencyEx) Definition of the Currency. | |
grantedBalance required | integer <int64> Balance granted. |
balanceDeducted | boolean Indicates whether Balance is deducted to 0. |
actualBalance required | integer <int64> Actual Balance. |
validFrom required | string <date-time> Date/Time from when Balance Value is valid. |
validTo | string <date-time> Date/Time till when Balance is valid. |
adjustedBalance required | integer <int64> Balance's Adjustment. |
{ }
Notifies event 'Recurrence on Balance'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
effectiveDate required | string <date-time> Effective Date/Time of the Notification. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
object (CurrencyEx) Definition of the Currency. | |
grantedBalance required | integer <int64> Balance granted. |
balanceDeducted | boolean Indicates whether Balance is deducted to 0. |
actualBalance required | integer <int64> Actual Balance. |
validFrom required | string <date-time> Date/Time from when Balance Value is valid. |
validTo | string <date-time> Date/Time till when Balance is valid. |
periodStart required | string <date-time> Start Date/Time of the Recurrence Period. |
periodEnd required | string <date-time> End Date/Time of the Recurrence Period. |
cycle required | integer <int64> SeqNo of the Cycle. |
{ }
Notifies event 'Billing Cycle Start'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
tbd required | string TBD. |
{ }
Notifies event 'Account Billing Start'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
tbd required | string TBD. |
{ }
Notifies event 'Account Billing End'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
tbd required | string TBD. |
{ }
Notifies event 'Account Billing Failed'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
tbd required | string TBD. |
{ }
Notifies event 'Billing Cycle End'.
x-ocs-io-notification-code required | string Code of the Notification. |
x-ocs-io-notification-payload required | string Name (JAVA's Simple Name) of the Notification's Payload. |
Payload of the request
tbd required | string TBD. |
{ }
Publishes Document for formatting.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
x-ocs-io-document-type required | string Type of the Document. Ref to DocumentType.internalCode |
x-ocs-io-document-ref-id required | string Ref ID of the Document |
x-ocs-io-document-no required | string Document Number (as internally created by RM module) |
x-ocs-io-account-ref-id required | string Ref ID of the Account for which Document (excl. OCS Invoice) is created |
x-ocs-io-account-external-id required | string External ID of the Account for which Document (excl. OCS Invoice) is created |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
documentNo required | string [ 1 .. 80 ] characters Number of the Document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
recommendedPaymentDate | string <date-time> Recommended Payment Date. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
totalInvoiced | integer <int64> Invoiced Total Amount of the Document, after rounding. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence of the Payment Responsible Account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
Array of objects (TaxSummaryItemEx) Items of Tax Summary for the Document. | |
dueAmountType | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentCreatedDate required | string <date-time> Date/Time when Document was created. |
documentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created this Document. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | Array of objects (DocumentLineEx) Lines of the Document. |
{- "refId": "nPiVBg9f1m8XQL",
- "documentSource": {
- "refId": "nPkYteQTMWZEQd",
- "code": "crm",
- "name": "CRM"
}, - "documentType": {
- "refId": "nPjQb66ypoM37K",
- "code": "genericInvoice",
- "name": "Generic Invoice"
}, - "documentNo": "38031ea2-2a5f-4326-a0af-f8abd4feaffd",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "genericInvoice",
- "documentName": "Generic Invoice",
- "documentIssuedDate": "2020-10-01T22:00:00.000+02:00",
- "documentTaxDate": "2020-10-01T22:00:00.000+02:00",
- "documentDueDate": "2020-10-01T22:00:00.000+02:00",
- "totalAmount": 330991734,
- "totalAmountNet": 400500000,
- "totalAmountTax": 69508266,
- "totalInvoiced": 401000000,
- "roundingCompensation": 500000,
- "taxSummary": [
- {
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 330991734,
- "totalAmountNet": 400500000,
- "totalAmountTax": 69508266
}
], - "vatExemption": false,
- "paymentRef1": "80001",
- "paymentRef2": "90002",
- "paymentRef3": "0308",
- "documentCreatedDate": "2020-11-09T13:58:59.845+01:00",
- "documentCreatedBy": "usr01",
- "documentLines": [
- {
- "refId": "nPVEOZZWde8qg4",
- "seqNo": 1,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 200100000,
- "quantity": 1,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165371900,
- "totalAmountNet": 200100000,
- "totalAmountTax": 34728100,
- "glCode": "glGenericInvoice"
}, - {
- "refId": "nPzIuWda0tJRnL",
- "seqNo": 2,
- "productCode": "prod",
- "productName": "Product",
- "unitsOfMeasurement": "ks",
- "currency": {
- "symbol": "€",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "itemPrice": 100200000,
- "quantity": 2,
- "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standardní DPH"
}, - "taxValue": 2100,
- "totalAmount": 165619834,
- "totalAmountNet": 200400000,
- "totalAmountTax": 34780166,
- "glCode": "glGenericInvoice"
}
]
}
Publishes OCS Invoice created during Control Group Run for formatting.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
x-ocs-io-cg-ref-id required | string Ref ID of the Control Group |
x-ocs-io-cg-code required | string Code of the Control Group |
x-ocs-io-cg-run-ref-id required | string Ref ID of the Control Group Run |
x-ocs-io-bc-ref-id required | string Ref ID of the Bill Cycle |
x-ocs-io-bc-code required | string Code of the Bill Cycle |
x-ocs-io-bc-type required | string Type of the Bill Cycle (INITIAL, PERIODICAL, ADJUSTMENT, FINAL) |
x-ocs-io-account-ref-id required | string Ref ID of the Account for which Control OCS Invoice is created |
x-ocs-io-account-external-id | string External ID of the Account for which Control OCS Invoice is created |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
documentNo required | string [ 1 .. 80 ] characters Number of the Document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
recommendedPaymentDate | string <date-time> Recommended Payment Date. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
totalInvoiced | integer <int64> Invoiced Total Amount of the Document, after rounding. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence of the Payment Responsible Account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
Array of objects (TaxSummaryItemEx) Items of Tax Summary for the Document. | |
dueAmountType | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentCreatedDate required | string <date-time> Date/Time when Document was created. |
documentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created this Document. |
required | object (BillCycleEx) Billing Cycle including Billing Period start and end. |
object (ControlGroupEx) Control Group. Applicable only for generating of Control Group OCS Invoice. | |
Array of objects (InvoicePageIndexEntryEx) Index of Invoice Pages. | |
Array of objects (InvoicePageEx) All Invoice Pages. | |
Array of objects (ChargingEventEx) All events (if applicable.) | |
Array of objects (RelatedDocumentEx) Related AR Documents, list of AR / Liability documents matching defined criteria. | |
Array of objects (RelatedPaymentEx) Related AR Payments matching defined criteria. | |
extension | object Placeholder for Deployment specific extension. |
{- "refId": "0",
- "documentSource": {
- "refId": "nPlFTO1BIgMwgU",
- "code": "ocs",
- "name": "OCS"
}, - "documentType": {
- "refId": "nPOu0bqoPUIvXV",
- "code": "ocsInvoice",
- "name": "OCS Invoice"
}, - "documentNo": "ec5a40ee-090a-4eb0-9823-3380f98b5771",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "pdf",
- "documentName": "PDF",
- "documentIssuedDate": "2020-10-29T16:54:46.150+01:00",
- "documentTaxDate": "2020-10-29T16:54:46.150+01:00",
- "documentDueDate": "2020-10-29T16:54:46.150+01:00",
- "totalAmount": 333744627,
- "totalAmountNet": 403831000,
- "totalAmountTax": 70086373,
- "totalInvoiced": 403831000,
- "roundingCompensation": 0,
- "taxSummary": [
- {
- "currency": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standard VAT"
}, - "taxValue": 2100,
- "totalAmount": 333744627,
- "totalAmountNet": 403831000,
- "totalAmountTax": 70086373
}
], - "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-29T16:54:47.787+01:00",
- "documentCreatedBy": "usr01",
- "billCycle": {
- "refId": "nPgkU453oPIprE",
- "code": "mnt01",
- "name": "Monthly 1.",
- "billingPeriodStart": "2020-10-01T00:00:00.000+02:00",
- "billingPeriodEnd": "2020-11-01T00:00:00.000+01:00",
- "billCycleRunRefId": "nPouY3kOp1W3rC"
}, - "accounts": {
- "nPBjkidZsc2rUz": {
- "offerSubscriptionRefIds": [
- "nPeWhtJAVz6VwM",
- "nPEfQUJwoP9rgB"
], - "invoiceSectionsCount": 3,
- "invoiceSections": [
- {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "eventInvoicedPrice": 82644628,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "chargeableEvents": [
- {
- "refId": "nPQVzIn4AUKSwl",
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T11:36:35.157+02:00",
- "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "refId": "nPO1p1ViDvi9HK",
- "code": "oneTimeFees",
- "name": "One-Time Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:55:21.581+02:00",
- "eventEnd": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 2,
- "eventTotalPrice": 251099999,
- "eventTotalPriceNet": 303831000,
- "eventTotalPriceTax": 52731001,
- "eventInvoicedPrice": 125754545,
- "ratedTotalPrice": 251099999,
- "ratedTotalVolume": 2
}
], - "chargeableEvents": [
- {
- "refId": "nPUjsAQT6hW3PL",
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T11:55:21.581+02:00",
- "eventStart": "2020-10-22T11:55:21.581+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 125754545,
- "eventTotalPriceNet": 152163000,
- "eventTotalPriceTax": 26408455,
- "ratedTotalPrice": 125754545,
- "ratedTotalVolume": 1,
- "proRateRatio": 3074
}, - {
- "refId": "nPRz5roI5JSDyx",
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T12:42:56.988+02:00",
- "eventStart": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 125345454,
- "eventTotalPriceNet": 151668000,
- "eventTotalPriceTax": 26322546,
- "ratedTotalPrice": 125345454,
- "ratedTotalVolume": 1,
- "proRateRatio": 3064
}
], - "refId": "nPYdwnluvpeEVU",
- "code": "recFees",
- "name": "Recurrent Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "refId": "nPxXpL5JaoMV3J",
- "code": "disc",
- "name": "Discounts"
}
], - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "paymRsp",
- "name": "Payment Responsible"
}, - "customName": "Custom Name 1",
- "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}, - "subscribers": { },
- "offerSubscriptions": {
- "nPeWhtJAVz6VwM": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "entityName": "StateReason",
- "refId": "nPZL0AdmkaRhnl"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "refId": "nPeWhtJAVz6VwM"
}, - "nPEfQUJwoP9rgB": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "entityName": "StateReason",
- "refId": "nPZL0AdmkaRhnl"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "refId": "nPEfQUJwoP9rgB"
}
}, - "invoiceTotalSectionsCount": 3,
- "invoiceTotalSections": [
- {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "eventInvoicedPrice": 82644628,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "refId": "nPO1p1ViDvi9HK",
- "code": "oneTimeFees",
- "name": "One-Time Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:55:21.581+02:00",
- "eventEnd": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 2,
- "eventTotalPrice": 251099999,
- "eventTotalPriceNet": 303831000,
- "eventTotalPriceTax": 52731001,
- "eventInvoicedPrice": 125754545,
- "ratedTotalPrice": 251099999,
- "ratedTotalVolume": 2
}
], - "refId": "nPYdwnluvpeEVU",
- "code": "recFees",
- "name": "Recurrent Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "refId": "nPxXpL5JaoMV3J",
- "code": "disc",
- "name": "Discounts"
}
], - "_entities": {
- "Offer": {
- "nPN8AhYlHN02lc": {
- "refId": "nPN8AhYlHN02lc",
- "code": "fee100EUR",
- "name": "One-Time Fee 100 EUR"
}, - "nPUPxylUbRbmQq": {
- "refId": "nPUPxylUbRbmQq",
- "code": "TARIFF-60",
- "name": "Tariff 60 EUR Monthly"
}
}, - "StateReason": {
- "nPZL0AdmkaRhnl": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}
}, - "ProductService": {
- "nPWb0CjpGOqvJJ": {
- "refId": "nPWb0CjpGOqvJJ",
- "code": "recurrentFee",
- "name": "Recurrent Fee"
}, - "nPRcFV7DSqXkxP": {
- "refId": "nPRcFV7DSqXkxP",
- "code": "oneTimeFee",
- "name": "One-Time Fee"
}
}, - "Currency": {
- "nPOB8vqoP67JNH": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}
}, - "Tax": {
- "nPSFkkXsuvfIOy": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standard VAT"
}
}, - "AccountType": {
- "nPXbTfTqgLcThR": {
- "refId": "nPXbTfTqgLcThR",
- "code": "paymRsp",
- "name": "Payment Responsible"
}
}, - "ChargingClass": {
- "nPdfmf39yuNyn2": {
- "refId": "nPdfmf39yuNyn2",
- "code": "oneTimeFee",
- "name": "One Time Fee"
}, - "nPJa7Y2vBsjtGe": {
- "refId": "nPJa7Y2vBsjtGe",
- "code": "mntFeeTariff",
- "name": "Monthly Fee Tariff"
}
}
}
}
Publishes OCS Invoice created during regular Bill Run for formatting.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
x-ocs-io-bc-ref-id required | string Ref ID of the Bill Cycle |
x-ocs-io-bc-code required | string Code of the Bill Cycle |
x-ocs-io-bc-type required | string Type of the Bill Cycle (INITIAL, PERIODICAL, ADJUSTMENT, FINAL) |
x-ocs-io-bc-run-ref-id required | string Ref ID of the Bill Cycle Run |
x-ocs-io-account-ref-id required | string Ref ID of the Account for which Regular OCS Invoice is created |
x-ocs-io-account-external-id | string External ID of the Account for which Regular OCS Invoice is created |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
documentNo required | string [ 1 .. 80 ] characters Number of the Document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
recommendedPaymentDate | string <date-time> Recommended Payment Date. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
totalInvoiced | integer <int64> Invoiced Total Amount of the Document, after rounding. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence of the Payment Responsible Account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
Array of objects (TaxSummaryItemEx) Items of Tax Summary for the Document. | |
dueAmountType | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentCreatedDate required | string <date-time> Date/Time when Document was created. |
documentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created this Document. |
required | object (BillCycleEx) Billing Cycle including Billing Period start and end. |
object (ControlGroupEx) Control Group. Applicable only for generating of Control Group OCS Invoice. | |
Array of objects (InvoicePageIndexEntryEx) Index of Invoice Pages. | |
Array of objects (InvoicePageEx) All Invoice Pages. | |
Array of objects (ChargingEventEx) All events (if applicable.) | |
Array of objects (RelatedDocumentEx) Related AR Documents, list of AR / Liability documents matching defined criteria. | |
Array of objects (RelatedPaymentEx) Related AR Payments matching defined criteria. | |
extension | object Placeholder for Deployment specific extension. |
{- "refId": "0",
- "documentSource": {
- "refId": "nPlFTO1BIgMwgU",
- "code": "ocs",
- "name": "OCS"
}, - "documentType": {
- "refId": "nPOu0bqoPUIvXV",
- "code": "ocsInvoice",
- "name": "OCS Invoice"
}, - "documentNo": "ec5a40ee-090a-4eb0-9823-3380f98b5771",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "pdf",
- "documentName": "PDF",
- "documentIssuedDate": "2020-10-29T16:54:46.150+01:00",
- "documentTaxDate": "2020-10-29T16:54:46.150+01:00",
- "documentDueDate": "2020-10-29T16:54:46.150+01:00",
- "totalAmount": 333744627,
- "totalAmountNet": 403831000,
- "totalAmountTax": 70086373,
- "totalInvoiced": 403831000,
- "roundingCompensation": 0,
- "taxSummary": [
- {
- "currency": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standard VAT"
}, - "taxValue": 2100,
- "totalAmount": 333744627,
- "totalAmountNet": 403831000,
- "totalAmountTax": 70086373
}
], - "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-29T16:54:47.787+01:00",
- "documentCreatedBy": "usr01",
- "billCycle": {
- "refId": "nPgkU453oPIprE",
- "code": "mnt01",
- "name": "Monthly 1.",
- "billingPeriodStart": "2020-10-01T00:00:00.000+02:00",
- "billingPeriodEnd": "2020-11-01T00:00:00.000+01:00",
- "billCycleRunRefId": "nPouY3kOp1W3rC"
}, - "accounts": {
- "nPBjkidZsc2rUz": {
- "offerSubscriptionRefIds": [
- "nPeWhtJAVz6VwM",
- "nPEfQUJwoP9rgB"
], - "invoiceSectionsCount": 3,
- "invoiceSections": [
- {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "eventInvoicedPrice": 82644628,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "chargeableEvents": [
- {
- "refId": "nPQVzIn4AUKSwl",
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T11:36:35.157+02:00",
- "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "refId": "nPO1p1ViDvi9HK",
- "code": "oneTimeFees",
- "name": "One-Time Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:55:21.581+02:00",
- "eventEnd": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 2,
- "eventTotalPrice": 251099999,
- "eventTotalPriceNet": 303831000,
- "eventTotalPriceTax": 52731001,
- "eventInvoicedPrice": 125754545,
- "ratedTotalPrice": 251099999,
- "ratedTotalVolume": 2
}
], - "chargeableEvents": [
- {
- "refId": "nPUjsAQT6hW3PL",
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T11:55:21.581+02:00",
- "eventStart": "2020-10-22T11:55:21.581+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 125754545,
- "eventTotalPriceNet": 152163000,
- "eventTotalPriceTax": 26408455,
- "ratedTotalPrice": 125754545,
- "ratedTotalVolume": 1,
- "proRateRatio": 3074
}, - {
- "refId": "nPRz5roI5JSDyx",
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T12:42:56.988+02:00",
- "eventStart": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 125345454,
- "eventTotalPriceNet": 151668000,
- "eventTotalPriceTax": 26322546,
- "ratedTotalPrice": 125345454,
- "ratedTotalVolume": 1,
- "proRateRatio": 3064
}
], - "refId": "nPYdwnluvpeEVU",
- "code": "recFees",
- "name": "Recurrent Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "refId": "nPxXpL5JaoMV3J",
- "code": "disc",
- "name": "Discounts"
}
], - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "paymRsp",
- "name": "Payment Responsible"
}, - "customName": "Custom Name 1",
- "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}, - "subscribers": { },
- "offerSubscriptions": {
- "nPeWhtJAVz6VwM": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "entityName": "StateReason",
- "refId": "nPZL0AdmkaRhnl"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "refId": "nPeWhtJAVz6VwM"
}, - "nPEfQUJwoP9rgB": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "entityName": "StateReason",
- "refId": "nPZL0AdmkaRhnl"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "refId": "nPEfQUJwoP9rgB"
}
}, - "invoiceTotalSectionsCount": 3,
- "invoiceTotalSections": [
- {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "eventInvoicedPrice": 82644628,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "refId": "nPO1p1ViDvi9HK",
- "code": "oneTimeFees",
- "name": "One-Time Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:55:21.581+02:00",
- "eventEnd": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 2,
- "eventTotalPrice": 251099999,
- "eventTotalPriceNet": 303831000,
- "eventTotalPriceTax": 52731001,
- "eventInvoicedPrice": 125754545,
- "ratedTotalPrice": 251099999,
- "ratedTotalVolume": 2
}
], - "refId": "nPYdwnluvpeEVU",
- "code": "recFees",
- "name": "Recurrent Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "refId": "nPxXpL5JaoMV3J",
- "code": "disc",
- "name": "Discounts"
}
], - "_entities": {
- "Offer": {
- "nPN8AhYlHN02lc": {
- "refId": "nPN8AhYlHN02lc",
- "code": "fee100EUR",
- "name": "One-Time Fee 100 EUR"
}, - "nPUPxylUbRbmQq": {
- "refId": "nPUPxylUbRbmQq",
- "code": "TARIFF-60",
- "name": "Tariff 60 EUR Monthly"
}
}, - "StateReason": {
- "nPZL0AdmkaRhnl": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}
}, - "ProductService": {
- "nPWb0CjpGOqvJJ": {
- "refId": "nPWb0CjpGOqvJJ",
- "code": "recurrentFee",
- "name": "Recurrent Fee"
}, - "nPRcFV7DSqXkxP": {
- "refId": "nPRcFV7DSqXkxP",
- "code": "oneTimeFee",
- "name": "One-Time Fee"
}
}, - "Currency": {
- "nPOB8vqoP67JNH": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}
}, - "Tax": {
- "nPSFkkXsuvfIOy": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standard VAT"
}
}, - "AccountType": {
- "nPXbTfTqgLcThR": {
- "refId": "nPXbTfTqgLcThR",
- "code": "paymRsp",
- "name": "Payment Responsible"
}
}, - "ChargingClass": {
- "nPdfmf39yuNyn2": {
- "refId": "nPdfmf39yuNyn2",
- "code": "oneTimeFee",
- "name": "One Time Fee"
}, - "nPJa7Y2vBsjtGe": {
- "refId": "nPJa7Y2vBsjtGe",
- "code": "mntFeeTariff",
- "name": "Monthly Fee Tariff"
}
}
}
}
Publishes OCS Invoice created as result of On-Demand request for formatting.
x-ocs-io-message-code required | string Code of the Pub-Sub message |
x-ocs-io-message-payload required | string Name (JAVA's Simple Name) of the Message's Payload |
x-ocs-io-bc-ref-id required | string Ref ID of the Bill Cycle |
x-ocs-io-bc-code required | string Code of the Bill Cycle |
x-ocs-io-bc-type required | string Type of the Bill Cycle (INITIAL, PERIODICAL, ADJUSTMENT, FINAL) |
x-ocs-io-bc-run-ref-id required | string Ref ID of the Bill Cycle Run |
x-ocs-io-account-ref-id required | string Ref ID of the Account for which On-Demand OCS Invoice is created |
x-ocs-io-account-external-id | string External ID of the Account for which On-Demand OCS Invoice is created |
Payload of the request
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
documentNo required | string [ 1 .. 80 ] characters Number of the Document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. OCS or CRM). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 80 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
recommendedPaymentDate | string <date-time> Recommended Payment Date. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
totalInvoiced | integer <int64> Invoiced Total Amount of the Document, after rounding. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence of the Payment Responsible Account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
Array of objects (TaxSummaryItemEx) Items of Tax Summary for the Document. | |
dueAmountType | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentCreatedDate required | string <date-time> Date/Time when Document was created. |
documentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created this Document. |
required | object (BillCycleEx) Billing Cycle including Billing Period start and end. |
object (ControlGroupEx) Control Group. Applicable only for generating of Control Group OCS Invoice. | |
Array of objects (InvoicePageIndexEntryEx) Index of Invoice Pages. | |
Array of objects (InvoicePageEx) All Invoice Pages. | |
Array of objects (ChargingEventEx) All events (if applicable.) | |
Array of objects (RelatedDocumentEx) Related AR Documents, list of AR / Liability documents matching defined criteria. | |
Array of objects (RelatedPaymentEx) Related AR Payments matching defined criteria. | |
extension | object Placeholder for Deployment specific extension. |
{- "refId": "0",
- "documentSource": {
- "refId": "nPlFTO1BIgMwgU",
- "code": "ocs",
- "name": "OCS"
}, - "documentType": {
- "refId": "nPOu0bqoPUIvXV",
- "code": "ocsInvoice",
- "name": "OCS Invoice"
}, - "documentNo": "ec5a40ee-090a-4eb0-9823-3380f98b5771",
- "customer": {
- "refId": "nPzW5JqUpmjKWA",
- "externalId": "cust-test"
}, - "account": {
- "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}, - "currency": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "documentCode": "pdf",
- "documentName": "PDF",
- "documentIssuedDate": "2020-10-29T16:54:46.150+01:00",
- "documentTaxDate": "2020-10-29T16:54:46.150+01:00",
- "documentDueDate": "2020-10-29T16:54:46.150+01:00",
- "totalAmount": 333744627,
- "totalAmountNet": 403831000,
- "totalAmountTax": 70086373,
- "totalInvoiced": 403831000,
- "roundingCompensation": 0,
- "taxSummary": [
- {
- "currency": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}, - "tax": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standard VAT"
}, - "taxValue": 2100,
- "totalAmount": 333744627,
- "totalAmountNet": 403831000,
- "totalAmountTax": 70086373
}
], - "vatExemption": false,
- "paymentRef1": "ref1",
- "paymentRef2": "ref2",
- "paymentRef3": "ref3",
- "documentCreatedDate": "2020-10-29T16:54:47.787+01:00",
- "documentCreatedBy": "usr01",
- "billCycle": {
- "refId": "nPgkU453oPIprE",
- "code": "mnt01",
- "name": "Monthly 1.",
- "billingPeriodStart": "2020-10-01T00:00:00.000+02:00",
- "billingPeriodEnd": "2020-11-01T00:00:00.000+01:00",
- "billCycleRunRefId": "nPouY3kOp1W3rC"
}, - "accounts": {
- "nPBjkidZsc2rUz": {
- "offerSubscriptionRefIds": [
- "nPeWhtJAVz6VwM",
- "nPEfQUJwoP9rgB"
], - "invoiceSectionsCount": 3,
- "invoiceSections": [
- {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "eventInvoicedPrice": 82644628,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "chargeableEvents": [
- {
- "refId": "nPQVzIn4AUKSwl",
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T11:36:35.157+02:00",
- "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "refId": "nPO1p1ViDvi9HK",
- "code": "oneTimeFees",
- "name": "One-Time Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:55:21.581+02:00",
- "eventEnd": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 2,
- "eventTotalPrice": 251099999,
- "eventTotalPriceNet": 303831000,
- "eventTotalPriceTax": 52731001,
- "eventInvoicedPrice": 125754545,
- "ratedTotalPrice": 251099999,
- "ratedTotalVolume": 2
}
], - "chargeableEvents": [
- {
- "refId": "nPUjsAQT6hW3PL",
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T11:55:21.581+02:00",
- "eventStart": "2020-10-22T11:55:21.581+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 125754545,
- "eventTotalPriceNet": 152163000,
- "eventTotalPriceTax": 26408455,
- "ratedTotalPrice": 125754545,
- "ratedTotalVolume": 1,
- "proRateRatio": 3074
}, - {
- "refId": "nPRz5roI5JSDyx",
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventEntry": "2020-10-22T12:42:56.988+02:00",
- "eventStart": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 125345454,
- "eventTotalPriceNet": 151668000,
- "eventTotalPriceTax": 26322546,
- "ratedTotalPrice": 125345454,
- "ratedTotalVolume": 1,
- "proRateRatio": 3064
}
], - "refId": "nPYdwnluvpeEVU",
- "code": "recFees",
- "name": "Recurrent Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "refId": "nPxXpL5JaoMV3J",
- "code": "disc",
- "name": "Discounts"
}
], - "accountType": {
- "refId": "nPXbTfTqgLcThR",
- "code": "paymRsp",
- "name": "Payment Responsible"
}, - "customName": "Custom Name 1",
- "paymentResponsible": true,
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "refId": "nPBjkidZsc2rUz",
- "externalId": "acc-test"
}
}, - "subscribers": { },
- "offerSubscriptions": {
- "nPeWhtJAVz6VwM": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "entityName": "StateReason",
- "refId": "nPZL0AdmkaRhnl"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "refId": "nPeWhtJAVz6VwM"
}, - "nPEfQUJwoP9rgB": {
- "state": {
- "state": "ACTIVE",
- "stateReason": {
- "entityName": "StateReason",
- "refId": "nPZL0AdmkaRhnl"
}, - "stateValidFrom": "2023-03-01T00:00:00.000+01:00"
}, - "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "refId": "nPEfQUJwoP9rgB"
}
}, - "invoiceTotalSectionsCount": 3,
- "invoiceTotalSections": [
- {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPN8AhYlHN02lc"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPRcFV7DSqXkxP"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPdfmf39yuNyn2"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:36:35.157+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 1,
- "eventTotalPrice": 82644628,
- "eventTotalPriceNet": 100000000,
- "eventTotalPriceTax": 17355372,
- "eventInvoicedPrice": 82644628,
- "ratedTotalPrice": 82644628,
- "ratedTotalVolume": 1
}
], - "refId": "nPO1p1ViDvi9HK",
- "code": "oneTimeFees",
- "name": "One-Time Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "aggregatedEvents": [
- {
- "offer": {
- "entityName": "Offer",
- "refId": "nPUPxylUbRbmQq"
}, - "productService": {
- "entityName": "ProductService",
- "refId": "nPWb0CjpGOqvJJ"
}, - "chargingClass": {
- "entityName": "ChargingClass",
- "refId": "nPJa7Y2vBsjtGe"
}, - "tax": {
- "entityName": "Tax",
- "refId": "nPSFkkXsuvfIOy"
}, - "taxValue": 2100,
- "currency": {
- "entityName": "Currency",
- "refId": "nPOB8vqoP67JNH"
}, - "eventStart": "2020-10-22T11:55:21.581+02:00",
- "eventEnd": "2020-10-22T12:42:56.988+02:00",
- "chargeType": "DEBIT",
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 2,
- "eventTotalPrice": 251099999,
- "eventTotalPriceNet": 303831000,
- "eventTotalPriceTax": 52731001,
- "eventInvoicedPrice": 125754545,
- "ratedTotalPrice": 251099999,
- "ratedTotalVolume": 2
}
], - "refId": "nPYdwnluvpeEVU",
- "code": "recFees",
- "name": "Recurrent Fees"
}, - {
- "level": 1,
- "hasChild": false,
- "refId": "nPxXpL5JaoMV3J",
- "code": "disc",
- "name": "Discounts"
}
], - "_entities": {
- "Offer": {
- "nPN8AhYlHN02lc": {
- "refId": "nPN8AhYlHN02lc",
- "code": "fee100EUR",
- "name": "One-Time Fee 100 EUR"
}, - "nPUPxylUbRbmQq": {
- "refId": "nPUPxylUbRbmQq",
- "code": "TARIFF-60",
- "name": "Tariff 60 EUR Monthly"
}
}, - "StateReason": {
- "nPZL0AdmkaRhnl": {
- "refId": "nPZL0AdmkaRhnl",
- "code": "dfltActive",
- "name": "Default Active"
}
}, - "ProductService": {
- "nPWb0CjpGOqvJJ": {
- "refId": "nPWb0CjpGOqvJJ",
- "code": "recurrentFee",
- "name": "Recurrent Fee"
}, - "nPRcFV7DSqXkxP": {
- "refId": "nPRcFV7DSqXkxP",
- "code": "oneTimeFee",
- "name": "One-Time Fee"
}
}, - "Currency": {
- "nPOB8vqoP67JNH": {
- "symbol": "Eur",
- "refId": "nPOB8vqoP67JNH",
- "code": "EUR",
- "name": "EURO"
}
}, - "Tax": {
- "nPSFkkXsuvfIOy": {
- "refId": "nPSFkkXsuvfIOy",
- "code": "S_VAT",
- "name": "Standard VAT"
}
}, - "AccountType": {
- "nPXbTfTqgLcThR": {
- "refId": "nPXbTfTqgLcThR",
- "code": "paymRsp",
- "name": "Payment Responsible"
}
}, - "ChargingClass": {
- "nPdfmf39yuNyn2": {
- "refId": "nPdfmf39yuNyn2",
- "code": "oneTimeFee",
- "name": "One Time Fee"
}, - "nPJa7Y2vBsjtGe": {
- "refId": "nPJa7Y2vBsjtGe",
- "code": "mntFeeTariff",
- "name": "Monthly Fee Tariff"
}
}
}
}
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Customer name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
Array of objects (OfferSubscriptionEx) Offer Subscriptions assigned to Customer. | |
Array of objects (AccountEx) Accounts belonging to the Customer. |
{- "refId": "string",
- "externalId": "string",
- "customerSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offerSubscriptions": [
- {
- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
], - "accounts": [
- {
- "refId": "string",
- "externalId": "string",
- "accountType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "accountSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "billCycle": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billCycleValidFrom": "2019-08-24T14:15:22Z",
- "billCycleValidTo": "2019-08-24T14:15:22Z",
- "billCycleIndividual": true,
- "billingDay": 0,
- "billingMonth": 0,
- "billingYear": 0
}, - "billCycleChangeTo": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billCycleValidFrom": "2019-08-24T14:15:22Z",
- "billCycleValidTo": "2019-08-24T14:15:22Z",
- "billCycleIndividual": true,
- "billingDay": 0,
- "billingMonth": 0,
- "billingYear": 0
}, - "billCycleHistory": [
- {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billCycleValidFrom": "2019-08-24T14:15:22Z",
- "billCycleValidTo": "2019-08-24T14:15:22Z",
- "billCycleIndividual": true,
- "billingDay": 0,
- "billingMonth": 0,
- "billingYear": 0
}
], - "paymentResponsible": true,
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "parentId": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "hasSubOrdinate": true,
- "subOrdinates": [
- "string"
], - "paymentResponsibleId": {
- "refId": "string",
- "externalId": "string"
}, - "offerSubscriptions": [
- {
- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
], - "subscribers": [
- {
- "refId": "string",
- "externalId": "string",
- "subscriberSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "primaryResourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "primaryResourceValue": "string",
- "subscriberResources": [
- {
- "refId": "string",
- "externalId": "string",
- "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceValue": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "offerSubscriptions": [
- {
- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": null,
- "refId": null,
- "code": null,
- "name": null
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}
]
}
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Account name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
object (AccountBillCycleEx) Account's Current Billing Cycle. | |
object (AccountBillCycleEx) Account's Current Billing Cycle. | |
Array of objects (AccountBillCycleEx) History of the Account's Bill Cycles. | |
paymentResponsible | boolean Indicates whether Account is Payment Responsible. |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
hasSubOrdinate | boolean Indicates whether Account has Sub-Ordinate Account(s.) |
subOrdinates | Array of strings List of Sub-Ordinate Account's Ref IDs. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
Array of objects (OfferSubscriptionEx) Offer Subscriptions assigned to Account. | |
Array of objects (SubscriberEx) Subscribers belonging to the Account. |
{- "refId": "string",
- "externalId": "string",
- "accountType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "accountSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "billCycle": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billCycleValidFrom": "2019-08-24T14:15:22Z",
- "billCycleValidTo": "2019-08-24T14:15:22Z",
- "billCycleIndividual": true,
- "billingDay": 0,
- "billingMonth": 0,
- "billingYear": 0
}, - "billCycleChangeTo": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billCycleValidFrom": "2019-08-24T14:15:22Z",
- "billCycleValidTo": "2019-08-24T14:15:22Z",
- "billCycleIndividual": true,
- "billingDay": 0,
- "billingMonth": 0,
- "billingYear": 0
}, - "billCycleHistory": [
- {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billCycleValidFrom": "2019-08-24T14:15:22Z",
- "billCycleValidTo": "2019-08-24T14:15:22Z",
- "billCycleIndividual": true,
- "billingDay": 0,
- "billingMonth": 0,
- "billingYear": 0
}
], - "paymentResponsible": true,
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "parentId": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "hasSubOrdinate": true,
- "subOrdinates": [
- "string"
], - "paymentResponsibleId": {
- "refId": "string",
- "externalId": "string"
}, - "offerSubscriptions": [
- {
- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
], - "subscribers": [
- {
- "refId": "string",
- "externalId": "string",
- "subscriberSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "primaryResourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "primaryResourceValue": "string",
- "subscriberResources": [
- {
- "refId": "string",
- "externalId": "string",
- "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceValue": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "offerSubscriptions": [
- {
- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Account name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
paymentResponsible | boolean Indicates whether Account is Payment Responsible. |
totalAmount | integer <int64> Total Amount calculated on the Account level. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount calculated on the Account level including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount calculated on the Account level. Not present for Customers with VAT Exemption. |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryInvEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
subOrdinateAccountRefIds | Array of strings List of Account's Sub-Ordinates Ref IDs. |
subscriberRefIds | Array of strings List of Account's Subscribers Ref IDs. |
offerSubscriptionRefIds | Array of strings List of Account's Offer Subscription Ref IDs. |
invoiceSectionsCount | integer <int64> Count of Invoice Sections. |
Array of objects (InvoiceSectionEx) Invoice Sections (if applicable.) |
{- "refId": "string",
- "externalId": "string",
- "accountType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "accountSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "paymentResponsible": true,
- "totalAmount": 0,
- "totalAmountNet": 0,
- "totalAmountTax": 0,
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true,
- "stateValidTo": "2019-08-24T14:15:22Z",
- "charged": true,
- "proRateRatio": 0
}
], - "parentId": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "subOrdinateAccountRefIds": [
- "string"
], - "subscriberRefIds": [
- "string"
], - "offerSubscriptionRefIds": [
- "string"
], - "invoiceSectionsCount": 0,
- "invoiceSections": [
- {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "parent": "string",
- "level": 0,
- "hasChild": true,
- "childSections": [
- "string"
], - "aggregatedEventsCount": 0,
- "aggregatedEvents": [
- {
- "refId": "string",
- "offerSubscription": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "account": {
- "refId": "string",
- "externalId": "string"
}, - "subscriber": {
- "refId": "string",
- "externalId": "string"
}, - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "product": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "service": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productService": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "offerValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "usageType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resource": "string",
- "chargeType": "CREDIT",
- "chargingTaxIncluded": true,
- "taxValue": 0,
- "proRateRatio": 0,
- "proRateMode": "SECOND",
- "chargingClass": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCode": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "tax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "taxValueDef": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCodeTax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "eventEntry": "2019-08-24T14:15:22Z",
- "eventStart": "2019-08-24T14:15:22Z",
- "eventEnd": "2019-08-24T14:15:22Z",
- "eventCount": 0,
- "volume": 0,
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 0,
- "eventTotalPrice": 0,
- "eventTotalPriceNet": 0,
- "eventTotalPriceTax": 0,
- "eventCataloguePrice": 0,
- "eventCataloguePriceNet": 0,
- "eventCataloguePricePerUnit": 0,
- "eventCataloguePricePerUnitUoM": "EVENT",
- "ratedTotalVolume": 0,
- "ratedTotalPrice": 0,
- "overrideUnitPrice": 0,
- "overrideUnitPriceNet": 0,
- "reservationId": "string",
- "request": { },
- "ratingResult": { }
}
], - "chargeableEventsCount": 0,
- "chargeableEvents": [
- {
- "refId": "string",
- "offerSubscription": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "account": {
- "refId": "string",
- "externalId": "string"
}, - "subscriber": {
- "refId": "string",
- "externalId": "string"
}, - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "product": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "service": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productService": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "offerValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "usageType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resource": "string",
- "chargeType": "CREDIT",
- "chargingTaxIncluded": true,
- "taxValue": 0,
- "proRateRatio": 0,
- "proRateMode": "SECOND",
- "chargingClass": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCode": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "tax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "taxValueDef": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCodeTax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "eventEntry": "2019-08-24T14:15:22Z",
- "eventStart": "2019-08-24T14:15:22Z",
- "eventEnd": "2019-08-24T14:15:22Z",
- "eventCount": 0,
- "volume": 0,
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 0,
- "eventTotalPrice": 0,
- "eventTotalPriceNet": 0,
- "eventTotalPriceTax": 0,
- "eventCataloguePrice": 0,
- "eventCataloguePriceNet": 0,
- "eventCataloguePricePerUnit": 0,
- "eventCataloguePricePerUnitUoM": "EVENT",
- "ratedTotalVolume": 0,
- "ratedTotalPrice": 0,
- "overrideUnitPrice": 0,
- "overrideUnitPriceNet": 0,
- "reservationId": "string",
- "request": { },
- "ratingResult": { }
}
]
}
]
}
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Subscriber name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
primaryResourceValue required | string [ 1 .. 255 ] characters Primary Resource Value. |
Array of objects (SubscriberResourceEx) Resources assigned to Subscriber. | |
Array of objects (OfferSubscriptionEx) Offer Subscriptions assigned to Subscriber. |
{- "refId": "string",
- "externalId": "string",
- "subscriberSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "primaryResourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "primaryResourceValue": "string",
- "subscriberResources": [
- {
- "refId": "string",
- "externalId": "string",
- "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceValue": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "offerSubscriptions": [
- {
- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
customName | string <= 255 characters Custom Subscriber name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
totalAmount | integer <int64> Total Amount calculated on the Subscriber level. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount calculated on the Subscriber level including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount calculated on the Subscriber level. Not present for Customers with VAT Exemption. |
required | object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes |
Array of objects (StateHistoryInvEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
primaryResourceValue required | string [ 1 .. 255 ] characters Primary Resource Value. |
Array of objects (SubscriberResourceEx) Resources assigned to Subscriber. | |
offerSubscriptionRefIds | Array of strings[ items [ 1 .. 40 ] characters ] List of Account's Offer Subscription Ref IDs. |
invoiceSectionsCount | integer <int64> Count of Invoice Sections. |
Array of objects (InvoiceSectionEx) Invoice Sections (if applicable.) |
{- "refId": "string",
- "externalId": "string",
- "subscriberSegment": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "totalAmount": 0,
- "totalAmountNet": 0,
- "totalAmountTax": 0,
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true,
- "stateValidTo": "2019-08-24T14:15:22Z",
- "charged": true,
- "proRateRatio": 0
}
], - "account": {
- "refId": "string",
- "externalId": "string"
}, - "primaryResourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "primaryResourceValue": "string",
- "subscriberResources": [
- {
- "refId": "string",
- "externalId": "string",
- "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceValue": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "offerSubscriptionRefIds": [
- "string"
], - "invoiceSectionsCount": 0,
- "invoiceSections": [
- {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "parent": "string",
- "level": 0,
- "hasChild": true,
- "childSections": [
- "string"
], - "aggregatedEventsCount": 0,
- "aggregatedEvents": [
- {
- "refId": "string",
- "offerSubscription": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "account": {
- "refId": "string",
- "externalId": "string"
}, - "subscriber": {
- "refId": "string",
- "externalId": "string"
}, - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "product": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "service": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productService": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "offerValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "usageType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resource": "string",
- "chargeType": "CREDIT",
- "chargingTaxIncluded": true,
- "taxValue": 0,
- "proRateRatio": 0,
- "proRateMode": "SECOND",
- "chargingClass": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCode": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "tax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "taxValueDef": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCodeTax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "eventEntry": "2019-08-24T14:15:22Z",
- "eventStart": "2019-08-24T14:15:22Z",
- "eventEnd": "2019-08-24T14:15:22Z",
- "eventCount": 0,
- "volume": 0,
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 0,
- "eventTotalPrice": 0,
- "eventTotalPriceNet": 0,
- "eventTotalPriceTax": 0,
- "eventCataloguePrice": 0,
- "eventCataloguePriceNet": 0,
- "eventCataloguePricePerUnit": 0,
- "eventCataloguePricePerUnitUoM": "EVENT",
- "ratedTotalVolume": 0,
- "ratedTotalPrice": 0,
- "overrideUnitPrice": 0,
- "overrideUnitPriceNet": 0,
- "reservationId": "string",
- "request": { },
- "ratingResult": { }
}
], - "chargeableEventsCount": 0,
- "chargeableEvents": [
- {
- "refId": "string",
- "offerSubscription": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "account": {
- "refId": "string",
- "externalId": "string"
}, - "subscriber": {
- "refId": "string",
- "externalId": "string"
}, - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "product": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "service": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productService": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "offerValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "usageType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resource": "string",
- "chargeType": "CREDIT",
- "chargingTaxIncluded": true,
- "taxValue": 0,
- "proRateRatio": 0,
- "proRateMode": "SECOND",
- "chargingClass": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCode": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "tax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "taxValueDef": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCodeTax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "eventEntry": "2019-08-24T14:15:22Z",
- "eventStart": "2019-08-24T14:15:22Z",
- "eventEnd": "2019-08-24T14:15:22Z",
- "eventCount": 0,
- "volume": 0,
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 0,
- "eventTotalPrice": 0,
- "eventTotalPriceNet": 0,
- "eventTotalPriceTax": 0,
- "eventCataloguePrice": 0,
- "eventCataloguePriceNet": 0,
- "eventCataloguePricePerUnit": 0,
- "eventCataloguePricePerUnitUoM": "EVENT",
- "ratedTotalVolume": 0,
- "ratedTotalPrice": 0,
- "overrideUnitPrice": 0,
- "overrideUnitPriceNet": 0,
- "reservationId": "string",
- "request": { },
- "ratingResult": { }
}
]
}
]
}
refId required | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
resourceValue required | string [ 1 .. 255 ] characters Value of the Resource. |
validFrom required | string <date-time> From when Resource is Valid. |
validTo | string <date-time> Till when Resource is valid. |
{- "refId": "string",
- "externalId": "string",
- "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceValue": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
refId | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes | |
Array of objects (StateHistoryEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
isTransient | boolean Indicates whether Subscription is transient. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map |
{- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}
}
refId | string [ 1 .. 40 ] characters Ref ID. |
externalId | string <= 255 characters External ID. |
object (StateInfoEx) Extension of the StateInfo entity which shall be used for Extraction purposes | |
Array of objects (StateHistoryInvEx) History (array) of State changes per entity (Account, Subscriber, OfferSubscription) which shall be used for Extraction purposes. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
isTransient | boolean Indicates whether Subscription is transient. |
customName | string <= 255 characters Custom Subscription name. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
hideOnInvoce | boolean Indicates whether Offer Subscription is hidden on the Invoice (not printed.). |
{- "refId": "string",
- "externalId": "string",
- "state": {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true
}, - "stateHistory": [
- {
- "state": "INACTIVE",
- "stateReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "stateValidFrom": "2019-08-24T14:15:22Z",
- "pending": true,
- "stateValidTo": "2019-08-24T14:15:22Z",
- "charged": true,
- "proRateRatio": 0
}
], - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "isTransient": true,
- "customName": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "hideOnInvoce": true
}
refId required | string [ 1 .. 40 ] characters Ref ID of the Monetary Transaction. |
sourceEntityRefIf | string [ 1 .. 40 ] characters Source Entity (From) Ref ID. |
targetEntityRefId | string [ 1 .. 40 ] characters Target Entity (To) Ref ID. |
transactionAmount required | integer <int64> Amount of the Transaction. |
required | object (CurrencyEx) Definition of the Currency. |
transactionCreatedDate required | string <date-time> Date/Time when Transaction was created. |
transactionCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created the Transaction. |
transactionCancelled | boolean Indicates whether Transaction is cancelled. |
transactionCancelledDate | string <date-time> Date/Time when Transaction was cancelled. |
transactionCancelledBy | string [ 1 .. 80 ] characters Identification of the user who cancelled the Transaction. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
{- "refId": "string",
- "sourceEntityRefIf": "string",
- "targetEntityRefId": "string",
- "transactionAmount": 0,
- "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "str",
- "name": "string",
- "symbol": "str"
}, - "transactionCreatedDate": "2019-08-24T14:15:22Z",
- "transactionCreatedBy": "string",
- "transactionCancelled": true,
- "transactionCancelledDate": "2019-08-24T14:15:22Z",
- "transactionCancelledBy": "string",
- "cancellationReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}
}
refId required | string [ 1 .. 40 ] characters Ref ID of the Document. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
documentNo required | string [ 1 .. 80 ] characters Number of the Document (generated by RM module). |
externalDocumentNo | string <= 80 characters External number of the Document (generated by external system, e.g. CRM). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (CurrencyEx) Definition of the Currency. |
documentCode required | string [ 1 .. 60 ] characters Code of the Document as configured in external Product Catalogue. |
documentName required | string [ 1 .. 60 ] characters Name of the Document as configured in external Product Catalogue. |
documentIssuedDate | string <date-time> Date when Document was issued. |
documentTaxDate required | string <date-time> Tax performance date of the Document. |
documentDueDate required | string <date-time> Due date of the Document. |
recommendedPaymentDate | string <date-time> Recommended Payment Date. |
totalAmount required | integer <int64> Total Amount of the Document. Excluding Tax. |
totalAmountNet | integer <int64> Net Total Amount of the Document including Tax. Not present for Customers with VAT Exemption. |
totalAmountTax | integer <int64> Tax part of the Total Amount of the Document. Not present for Customers with VAT Exemption. |
totalInvoiced | integer <int64> Invoiced Amount of the Document, after rounding. This amount may consider other due documents / over-payments. This is the amount which is expected to be paid by Payer in order to settle all debts. |
roundingCompensation | integer <int64> Rounding Compensation, difference between Total Amount Net and Total Invoiced. |
taxExemptionType | string (TaxExemptionTypeEnum) Enum: "NONE" "ACCOUNT" "OFFER_TAX" "OTHER" Tax Exemption Types:
|
taxResidence | string <= 255 characters Tax Residence of the Payment Responsible Account. |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Document. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Document. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
paymentInfo | string (PaymentInfo) Enum: "BANK_TRANSFER" "DIRECT_DEBIT" "POSTPONED" "DO_NOT_PAY" Payment Info values:
|
documentCreatedDate required | string <date-time> Date/Time when Document was created. |
documentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who created this Document. |
dueAmount required | integer <int64> Due amount of the account receivable or liability including Tax. |
dueAmountType required | string (DueAmountTYpe) Enum: "AR" "LIABILITY" Due Amount Types:
|
documentPaidDate | string <date-time> Date/Time when Document was paid (criteria when Document is considered as paid have been met). |
object (BillCycleEx) Billing Cycle including Billing Period start and end. | |
correctiveTaxDocumentReason | string <= 255 characters Reason of corrective. Valid only for Corrective Tax document. |
object (CustomAttributes) Custom attributes, Key - Value (String) Map | |
parentDocumentRefId | string <= 40 characters Foreign Key to ParentDocument. Valid only for Corrective Tax document. |
documentCancelledDate | string <date-time> Date/Time when Document was cancelled. |
documentCancelledBy | string <= 80 characters Identification of the user who cancelled this Document. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
cancellationAmount | integer <int64> Cancellation amount of the account receivable or liability including Tax (= Due Amount at the time of Cancel). |
{- "refId": "string",
- "documentSource": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "documentType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "documentNo": "string",
- "externalDocumentNo": "string",
- "customer": {
- "refId": "string",
- "externalId": "string"
}, - "account": {
- "refId": "string",
- "externalId": "string"
}, - "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "str",
- "name": "string",
- "symbol": "str"
}, - "documentCode": "string",
- "documentName": "string",
- "documentIssuedDate": "2019-08-24T14:15:22Z",
- "documentTaxDate": "2019-08-24T14:15:22Z",
- "documentDueDate": "2019-08-24T14:15:22Z",
- "recommendedPaymentDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0,
- "totalAmountNet": 0,
- "totalAmountTax": 0,
- "totalInvoiced": 0,
- "roundingCompensation": 0,
- "taxExemptionType": "NONE",
- "taxResidence": "string",
- "paymentRef1": "string",
- "paymentRef2": "string",
- "paymentRef3": "string",
- "paymentMethod": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "deliveryMethod": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "paymentInfo": "BANK_TRANSFER",
- "documentCreatedDate": "2019-08-24T14:15:22Z",
- "documentCreatedBy": "string",
- "dueAmount": 0,
- "dueAmountType": "AR",
- "documentPaidDate": "2019-08-24T14:15:22Z",
- "billCycle": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string",
- "billCycleType": "PERIODICAL",
- "duration": 0,
- "billingPeriod": "string",
- "billingDay": 0,
- "billingPeriodStart": "2019-08-24T14:15:22Z",
- "billingPeriodEnd": "2019-08-24T14:15:22Z"
}, - "correctiveTaxDocumentReason": "string",
- "customAttributes": {
- "property1": "string",
- "property2": "string"
}, - "parentDocumentRefId": "string",
- "documentCancelledDate": "2019-08-24T14:15:22Z",
- "documentCancelledBy": "string",
- "cancellationReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "cancellationAmount": 0
}
refId required | string [ 1 .. 40 ] characters Ref ID of the Payment. |
paymentNo required | string [ 1 .. 80 ] characters Number of the Payment (generated by RM module). |
externalPaymentNo | string <= 80 characters External number of the Payment (generated by external system, e.g. Bank or Payment Gateway). |
paymentType required | string (PaymentType) Enum: "IN" "OUT" "PROMISE_TO_PAY" "PAYMENT_OUT_REQ" Payment Types:
|
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
paymentAmount required | integer <int64> Amount of the Payment. |
required | object (CurrencyEx) Definition of the Currency. |
paymentDateReceived | string <date-time> Date/Time when Payment was received on provider's bank account. Valid only for incoming payments. |
paymentDateSent | string <date-time> Date/Time when Payment was sent from payer's bank account (Incoming) from provider's bank account (Outgoing).") |
paymentRef1 | string <= 30 characters Payment Reference No.1 associated with the Payment. |
paymentRef2 | string <= 30 characters Payment Reference No.2 associated with the Payment. |
paymentRef3 | string <= 30 characters Payment Reference No.3 associated with the Payment. |
bankAccountNumber | string <= 30 characters Payer's (Billing Account) bank account number, including prefix, without bank number code. |
bankNumberCode | string <= 10 characters Payer's (Billing Account) bank number code. |
channelType | string <= 60 characters Type of channel (e.g. card, bank transfer, etc.). |
iban | string <= 50 characters Payer's (Billing Account) bank account number in international format. |
bic | string <= 30 characters Payer's (Billing Account) BIC code of the bank. |
bankAccountName | string <= 50 characters Payer's (Billing Account) bank account name. |
object (MoneyOrder) Person and Address details for Payment of type Money Order | |
recipientNote | string <= 255 characters Recipient's note/description of the Payment. Valid only for incoming payments. |
payerNote | string <= 255 characters Payer's note/description of the Payment. |
bankAccountNumberProvider | string <= 30 characters Provider's bank account number, including prefix, without bank number code. |
bankNumberCodeProvider | string <= 10 characters Provider's bank number code. |
ibanProvider | string <= 50 characters Provider's bank account number in international format. |
bicProvider | string <= 30 characters Provider's BIC code of the bank. |
bankAccountNameProvider | string <= 50 characters Provider's bank account name. |
paymentCreatedDate required | string <date-time> Date/Time when Payment was created. |
paymentCreatedBy required | string [ 1 .. 80 ] characters Identification of the user who creates the Payment. |
paymentIdentifiedDate | string <date-time> Date/Time when Payment was lastly identified. Valid only for incoming payments. |
paymentIdentifiedBy | string <= 80 characters Identification of the user who lastly idenfifed the Payment. Valid only for incoming payments. |
paymentAssignedDate | string <date-time> Date/Time when Payment was lastly assigned. |
paymentAssignedBy | string <= 80 characters Identification of the user who lastly assigned the Payment. |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
usedAmount | integer <int64> Amount used in case of amount transactions. |
remainingAmount | integer <int64> Remaining amount of payment after using some amount in case of amount transactions. |
paymentCancelledDate | string <date-time> Date/Time when Payment was cancelled. |
paymentCancelledBy | string <= 80 characters Identification of the user who cancelled the Payment. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
cancellationAmount | integer <int64> Cancellation amount (= Remaining Amount at the time of Cancel). |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
promisedPaymentRefId | string <= 40 characters Ref ID of the Promised Payment done via OnLine channels. Populated only for PaymentType='PROMISE_TO_PAY'. |
promisedPaymentDueDate | string <date-time> Date/Time Due of the Promised Payment. Populated only for PaymentType='PROMISE_TO_PAY'. |
{- "refId": "string",
- "paymentNo": "string",
- "externalPaymentNo": "string",
- "paymentType": "IN",
- "paymentMethod": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "paymentAmount": 0,
- "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "str",
- "name": "string",
- "symbol": "str"
}, - "paymentDateReceived": "2019-08-24T14:15:22Z",
- "paymentDateSent": "2019-08-24T14:15:22Z",
- "paymentRef1": "string",
- "paymentRef2": "string",
- "paymentRef3": "string",
- "bankAccountNumber": "string",
- "bankNumberCode": "string",
- "channelType": "string",
- "iban": "string",
- "bic": "string",
- "bankAccountName": "string",
- "moneyOrder": {
- "salutation": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "maidenName": "string",
- "namePrefix": "string",
- "nameSuffix": "string",
- "streetName": "string",
- "streetNr": "string",
- "streetNrSuffix": "string",
- "city": "string",
- "locality": "string",
- "postCode": "string",
- "country": "string",
- "stateOrProvince": "string"
}, - "recipientNote": "string",
- "payerNote": "string",
- "bankAccountNumberProvider": "string",
- "bankNumberCodeProvider": "string",
- "ibanProvider": "string",
- "bicProvider": "string",
- "bankAccountNameProvider": "string",
- "paymentCreatedDate": "2019-08-24T14:15:22Z",
- "paymentCreatedBy": "string",
- "paymentIdentifiedDate": "2019-08-24T14:15:22Z",
- "paymentIdentifiedBy": "string",
- "paymentAssignedDate": "2019-08-24T14:15:22Z",
- "paymentAssignedBy": "string",
- "account": {
- "refId": "string",
- "externalId": "string"
}, - "usedAmount": 0,
- "remainingAmount": 0,
- "paymentCancelledDate": "2019-08-24T14:15:22Z",
- "paymentCancelledBy": "string",
- "cancellationReason": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "cancellationAmount": 0,
- "edrFileLoader": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "edrFileExtractor": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "edrFile": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "promisedPaymentRefId": "string",
- "promisedPaymentDueDate": "2019-08-24T14:15:22Z"
}
refId required | string [ 1 .. 40 ] characters RefId of the Event. |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
required | object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). |
object (IdType) ID of the Entity. In the Request either refId or externalId is allowed to be populated. In the Response, both values are populated (in case External ID was provided). | |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
required | object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
resource | string <= 255 characters Resource made the Event. |
chargeType | string (ChargeTypeEnum) Enum: "CREDIT" "DEBIT" "DISCOUNT" "ADJUSTMENT" "REFUND" "STORNO" Charge Types:
|
chargingTaxIncluded | boolean Indicates whether Charging was performed with Tax Included charges. |
taxValue | integer <int64> Tax Value applied. |
proRateRatio | integer <int64> In case of Pro-Rating, Ratio which was used. In 0.01% |
proRateMode | string (ProRateModeEnum) Enum: "SECOND" "DAY" "NOON" "CUSTOMER_FRIENDLY" "PROVIDER_FRIENDLY" Pro-Rate Modes:
|
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
object (EntityType) ID of the Entity. RefId populated always, name only in case of EntityModel, internalCode (aka code) only in case of EntityCodeModel. | |
eventEntry required | string <date-time> Timestamp when event was entered. |
eventStart required | string <date-time> Start Timestamp of the event. |
eventEnd | string <date-time> End Timestamp of the event. |
eventCount required | integer <int64> Events count. |
volume required | integer <int64> Volume of the event as in the Charging Request. |
unitsOfMeasurement required | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
eventTotalVolume required | integer <int64> Total Volume of the event after Charging completed. |
eventTotalPrice | integer <int64> Total Price of the event after Charging completed, incl. all discounts, promos, free units, etc. Rounded to Currency precision and Rounding Level definition. Excluding Tax. |
eventTotalPriceNet | integer <int64> Sum of Total Price and Total Price Tax. Rounded to Currency precision and Rounding Level definition. |
eventTotalPriceTax | integer <int64> Tax part of the Total Price. Rounded to Currency precision and Rounding Level definition. |
eventCataloguePrice | integer <int64> Catalogue Price per Units and UoM. Excluding Tax. |
eventCataloguePriceNet | integer <int64> Catalogue Price per Units and UoM. Including Tax. |
eventCataloguePricePerUnit | integer <int64> Catalogue Price per Unit. |
eventCataloguePricePerUnitUoM | string (UnitsOfMeasurementEnum) Enum: "EVENT" "SECOND" "MINUTE" "HOUR" "DAY" "WEEK" "MONTH" "YEAR" "BYTE" "KILOBYTE" "MEGABYTE" "GIGABYTE" "TERABYTE" "MONEY" "PERCENT" "PERMILLE" "PCS" "UNIT" "WATT" "KILOWATT" "MEGAWATT" "GIGAWATT" "TERAWATT" Units Of Measurement values:
|
ratedTotalVolume | integer <int64> Total Volume after Rating. |
ratedTotalPrice | integer <int64> Total Price after Rating. Excluding Tax. |
overrideUnitPrice | integer <int64> Price passed to Charging Request which overrides Offer Price. Excluding Tax. |
overrideUnitPriceNet | integer <int64> Net Price passed to Charging Request which overrides Offer Price. Including Tax. |
reservationId | string ID of the Reservation in case ECUR or SCUR charging. |
request | object Request. |
ratingResult | object Rating Result. |
{- "refId": "string",
- "offerSubscription": {
- "refId": "string",
- "externalId": "string"
}, - "customer": {
- "refId": "string",
- "externalId": "string"
}, - "account": {
- "refId": "string",
- "externalId": "string"
}, - "subscriber": {
- "refId": "string",
- "externalId": "string"
}, - "offer": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "product": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "service": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productService": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "offerValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "productValue": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "usageType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resourceType": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "resource": "string",
- "chargeType": "CREDIT",
- "chargingTaxIncluded": true,
- "taxValue": 0,
- "proRateRatio": 0,
- "proRateMode": "SECOND",
- "chargingClass": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCode": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "tax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "taxValueDef": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "glCodeTax": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "currency": {
- "entityName": "string",
- "refId": "string",
- "code": "string",
- "name": "string"
}, - "eventEntry": "2019-08-24T14:15:22Z",
- "eventStart": "2019-08-24T14:15:22Z",
- "eventEnd": "2019-08-24T14:15:22Z",
- "eventCount": 0,
- "volume": 0,
- "unitsOfMeasurement": "EVENT",
- "eventTotalVolume": 0,
- "eventTotalPrice": 0,
- "eventTotalPriceNet": 0,
- "eventTotalPriceTax": 0,
- "eventCataloguePrice": 0,
- "eventCataloguePriceNet": 0,
- "eventCataloguePricePerUnit": 0,
- "eventCataloguePricePerUnitUoM": "EVENT",
- "ratedTotalVolume": 0,
- "ratedTotalPrice": 0,
- "overrideUnitPrice": 0,
- "overrideUnitPriceNet": 0,
- "reservationId": "string",
- "request": { },
- "ratingResult": { }
}