saps4hana.itcm.accountreceivable
Module saps4hana.itcm.accountreceivable
API
Definitions
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_saps4hana.itcm.accountreceivable_1.1.0.png)
ballerinax/saps4hana.itcm.accountreceivable Ballerina library
Overview
This is a generated connector for SAPS4HANA Intelligent Trade Claims Management API v1.0.0 OpenAPI specification. A user in SAP Intelligent Trade Claims Management can create and update existing accounts receivable open items within SAP Intelligent Trade Claims Management. Accounts receivable open items contribute to baseline information for claims to be built.
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create and configure an OAuth2 client credentials by following this guide.
Clients![](/images/permalink.svg)
saps4hana.itcm.accountreceivable: Client![](/images/permalink.svg)
This is a generated connector for SAP Intelligent Trade Claims Management API v1.0.0 OpenAPI specification. A user in SAP Intelligent Trade Claims Management can create and update existing accounts receivable open items within SAP Intelligent Trade Claims Management. Accounts receivable open items contribute to baseline information for claims to be built.
Constructor![](/images/permalink.svg)
Gets invoked to initialize the connector
.
The connector initialization requires setting the API credentials.
Create and configure an OAuth2 client credentials by following this guide.
init (ClientConfig clientConfig, string serviceUrl)
- clientConfig ClientConfig - The configurations to be used when initializing the
connector
- serviceUrl string - URL of the target service
createAROpenItem![](/images/permalink.svg)
function createAROpenItem(ReceivedParamDTO payload) returns ResponseAROpenItemsMessage|error
Create a new AR Open Item
Parameters
- payload ReceivedParamDTO - Request payload to create AR Open Item
Return Type
- ResponseAROpenItemsMessage|error - Success Created.
getAROpenItemById![](/images/permalink.svg)
function getAROpenItemById(int id) returns ResidualAccountingDocumentItem4ApiDTO|error
Get the detail of an AR Open Item by id
Parameters
- id int - id
Return Type
batchCreateReasonCode![](/images/permalink.svg)
function batchCreateReasonCode(ReasonCodeMockDTO payload) returns ResponseReasonCodesMessage|error
Create a Reason Code
Parameters
- payload ReasonCodeMockDTO - Request payload to create reason code
Return Type
- ResponseReasonCodesMessage|error - Success Created.
getReasonCodeList![](/images/permalink.svg)
function getReasonCodeList(string code) returns ReasonCodeDTO|error
Get the detail of a Reason Code by code
Parameters
- code string - code
Return Type
- ReasonCodeDTO|error - OK.
Records![](/images/permalink.svg)
saps4hana.itcm.accountreceivable: ClientConfig![](/images/permalink.svg)
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig - Configurations related to client authentication
- httpVersion string(default "1.1") - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded
/x-forwarded
header
- followRedirects FollowRedirects?(default ()) - Configurations associated with Redirection
- poolConfig PoolConfiguration?(default ()) - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding
) header
- circuitBreaker CircuitBreakerConfig?(default ()) - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig RetryConfig?(default ()) - Configurations associated with retrying
- cookieConfig CookieConfig?(default ()) - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket ClientSecureSocket?(default ()) - SSL/TLS-related options
saps4hana.itcm.accountreceivable: OAuth2ClientCredentialsGrantConfig![](/images/permalink.svg)
OAuth2 Client Credintials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string
- clientId string
- clientSecret string
- scopes string[]
- defaultTokenExpTime decimal
- clockSkew decimal
- optionalParams map<string>
- credentialBearer CredentialBearer
- clientConfig ClientConfiguration
- tokenUrl string(default "https://colgate-dev1.authentication.us30.hana.ondemand.com/oauth/token") - Token URL
saps4hana.itcm.accountreceivable: ReasonCodeDescriptionDto![](/images/permalink.svg)
Fields
- Language string? -
- PaymentDifferenceReason string? -
- PaymentDifferenceReasonDesc string? -
- PaymentDifferenceReasonName string? -
saps4hana.itcm.accountreceivable: ReasonCodeDTO![](/images/permalink.svg)
Fields
- code string? -
- description string? -
- id int? -
- reasonCodeTradeType string? -
saps4hana.itcm.accountreceivable: ReasonCodeMockDTO![](/images/permalink.svg)
Fields
- CompanyCode string? -
- IsDisputed boolean? -
- PaymentDifferenceReason string? -
- PaytDiffIsChargedToSprtGLAcct boolean? -
- to_Text ReasonCodeDescriptionDto[]? -
saps4hana.itcm.accountreceivable: ReceivedParamDTO![](/images/permalink.svg)
Fields
- arOpenItemList ResidualAccountingDocumentItemDTO[]? -
- invoiceReference string? -
- salesArea SalesAreaDTO? -
saps4hana.itcm.accountreceivable: ResidualAccountingDocumentItem4ApiDTO![](/images/permalink.svg)
Fields
- accountingDocument string? -
- accountingDocumentItem string? -
- accountingDocumentItemText string? -
- amountInTransactionCurrency decimal? -
- assignmentReference string? -
- clearedAccountingDocument string? -
- clearedAccountingDocumentItem string? -
- clearedDate string? -
- clearedFiscalYear string? -
- clearingAccountingDocument string? -
- clearingDocFiscalYear string? -
- companyCode string? -
- creationDate string? -
- creationTime string? -
- customer string? -
- customerName string? -
- fiscalYear string? -
- invoiceItemReference string? -
- invoiceReference string? -
- isOpen boolean? -
- itemText string? -
- lastChangedDate string? -
- paymentDifferenceReason string? -
- tradeType string? -
- transactionCurrency string? -
saps4hana.itcm.accountreceivable: ResidualAccountingDocumentItemDTO![](/images/permalink.svg)
Fields
- ACCOUNTINGDOCUMENT string? -
- ACCOUNTINGDOCUMENTITEM string? -
- AMOUNTINTRANSACTIONCURRENCY decimal? -
- ASSIGNMENTREFERENCE string? -
- BILLINGDOCUMENT string? -
- CHANGEDOCUMENTCREATIONDATE int? -
- CHANGEDOCUMENTCREATIONTIME int? -
- CLEAREDACCOUNTINGDOCUMENT string? -
- CLEAREDACCOUNTINGDOCUMENTITEM string? -
- CLEAREDFISCALYEAR string? -
- CLEARINGACCOUNTINGDOCUMENT string? -
- CLEARINGCREATIONDATE int? -
- CLEARINGDATE int? -
- CLEARINGDOCFISCALYEAR string? -
- COMPANYCODE string? -
- CREATIONDATE int? -
- CREATIONTIME int? -
- CUSTOMER string? -
- DEBITCREDITCODE string? -
- FISCALYEAR string? -
- INVOICEITEMREFERENCE string? -
- INVOICEREFERENCE string? -
- INVOICEREFERENCEFISCALYEAR string? -
- ITEMTTEXT string? -
- LASTCHANGEDATE int? -
- OPENITEMCREATIONDATE int? -
- OPENITEMCREATIONTIME int? -
- PAYMENTDIFFERENCEREASON string? -
- TRANSACTIONCURRENCY string? -
- amountInCompanyCodeCurrency int? -
- lastChangeDateTime string? -
- recordScenario string? -
- salesArea SalesAreaDTO? -
- sortedTime string? -
saps4hana.itcm.accountreceivable: ResponseAROpenItemsMessage![](/images/permalink.svg)
Fields
- invoiceReference string? -
- message string? -
- timestamp string? -
saps4hana.itcm.accountreceivable: ResponseForbiddenMessage![](/images/permalink.svg)
Fields
- message string? -
- timestamp string? -
- uri string? -
saps4hana.itcm.accountreceivable: ResponseMessage![](/images/permalink.svg)
Fields
- _error string? -
- message string? -
- timestamp string? -
- uri string? -
saps4hana.itcm.accountreceivable: ResponseReasonCodesMessage![](/images/permalink.svg)
Fields
- invoiceReference string? -
- message string? -
- timestamp string? -
saps4hana.itcm.accountreceivable: SalesAreaDTO![](/images/permalink.svg)
Fields
- distributionChannelCode string? -
- salesDivision string? -
- salesOrganizationID string? -
Import
import ballerinax/saps4hana.itcm.accountreceivable;
Metadata
Released date: over 2 years ago
Version: 1.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: slbeta6
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
Business Management/ERP
Cost/Paid
Contributors
Dependencies