(GET) External Payees
The below REST API is used to check whether the external payee exists or not.
Endpoint:
{SupplierSiteIdentifier} represents the Supplier Site Id
{PayeePartyIdentifier} represents the Supplier Party Id
{PayeePartyIdentifier} represents the Supplier Party Id
(GET) External Bank
Account Details
The below REST API is used to check whether the external bank account exists for the supplier or not.
Endpoint:
1.To fetch all bank accounts of the supplier
https://ERPCloudInstance/fscmRestApi/resources/latest/externalBankAccounts?q=VendorId={VendorId}&finder=SearchExternalBankAccount;Intent=Supplier
2. To check for particular bank account using the attributes bank name , branch name, account number
https://ERPCloudInstance/fscmRestApi/resources/latest/externalBankAccounts?finder=SearchExternalBankAccount;BankName={BankName},BankBranchName={BankBranchName},BankAccountNumber={BankAccountNumber},Intent=Supplier
For security reasons the bank number is kept masked , So querying the supplier bank account details w.r.t to bank account number is not possible.
(POST) Create External
Bank Account and Bank Account Owners
The below REST API is used to create external bank account for the supplier.
Endpoint:
Sample Request Payload:
"BankAccountNumber": "123456676765",
"CountryCode": "US",
"BankName": "DUMMY",
"BankNumber": null,
"BankBranchName": "DUMMY_0999",
"BankBranchNumber": null,
"CurrencyCode": "USD",
"AccountType": "SAVINGS",
"AllowInternationalPaymentIndicator": "N",
"Intent": "Supplier",
"PartyId": 23231231132,
"BankAccountName": "DDP_011",
"accountOwners": [
{
"AccountOwnerPartyIdentifier": 23231231132,
"Intent": "Supplier"
}
]}
(GET) Instrument Assignment
Rest API to get instrument assignments.
Endpoint:
(POST) Create Instrument
Assignment
The below REST API is used to create instrument assignment to the created bank account.
In order to create Instrument Assignment, we need to setup our user as active worker.
Endpoint:
Request Payload :
"PaymentPartyId": 333333,
"PaymentFlow": "DISBURSEMENTS",
"PaymentInstrumentId":122222223,
"PaymentInstrumentType": "BANKACCOUNT",
"Intent": "Supplier"
}
{PaymentPartyId} - represents external payee id from the REST call GET External Payees (which was derived from corresponding level (supplier/site) the bank is attached to the supplier )
{PaymentInstrumentId} – is the {BankAccountId} from the REST call GET External Bank Accounts.