> For the complete documentation index, see [llms.txt](https://apidocs.arionbanki.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.arionbanki.is/b2b-2013-schema/b2b-services/b2b-foreign-payments/functions.md).

# Functions

The Foreign Payment Service enables users to record one or more foreign payment requests and to obtain an overview of payment requests. It is also possible to obtain receipts for a unique transaction number, payment batches or periods.

## Enter individual payments <a href="#toc413068265" id="toc413068265"></a>

The function *EnterForeignPayment* allows you to enter individual foreign payments.

## Enter multiple payments <a href="#toc413068266" id="toc413068266"></a>

The function *EnterForeignPayments* allows you to enter many foreign payments at once.

## Get receipt for period <a href="#toc413068267" id="toc413068267"></a>

The function *GetReceipts* allows you to obtain receipts for multiple foreign payments over a specific period.

## Get receipt for unique transaction number <a href="#toc413068268" id="toc413068268"></a>

The function *GetReceipt* allows you to get a receipt relating to a unique transaction number.

## Get receipt for unique batch number <a href="#toc413068269" id="toc413068269"></a>

The function *GetReceiptByStackId* allows you to get a receipt relating to a unique batch number.

## Get active batches <a href="#toc413068270" id="toc413068270"></a>

The function GetBatches retrieves information on all active batches of the logged on user. It gets the name of the batches, the date of entry and the number of active payment requests in the batch.

## Get payment requests by unique batch number <a href="#toc413068271" id="toc413068271"></a>

The function GetPaymentsByBatchId gets payment requests for a specific batch. It is possible both to get active payment requests and payment requests which have already been paid and deleted. It depends on the input variable Status whether all payment requests are retrieved or just active, paid, deleted or those which have been paid out by cheque.
