Tipalti.SOAP.Payer (tipalti_client v1.0.0)

Copy Markdown View Source

Legacy SOAP API — Payer Functions (PayerFunctions.asmx).

Every operation here signs the request per Tipalti.SOAP.Signature and goes through Tipalti.SOAP.Client.call/5. Each function documents the operation's EAT (Encryption Additional Terms) parameter, if it has one.

Every function has a raising ! counterpart.

Summary

Functions

Applies a vendor credit to one or more bills.

Requests an extended bulk payee-status CSV export to SFTP. EAT: saveToFile.

Creates or updates custom field definitions.

Creates or updates one or more G/L accounts.

Creates or updates one or more goods-received notices (GRNs).

Creates or updates one or more invoices.

Creates or updates one or more purchase orders.

Requests a bulk payee-status CSV export to SFTP. EAT: saveToFile.

Requests a payment-orders report export to SFTP.

Returns account balances by provider and currency.

Retrieves custom field definitions.

Generates a signing key/token for embedding a Tipalti iFrame for the given payee.

Generates a signing key/token for embedding a Tipalti iFrame for a sub-payer.

Retrieves invoice details by reference code.

Returns fees charged in a date range.

Polls the status of an async processing request. EAT: requestId.

Lists the payer's provider accounts.

Returns reference codes of payment orders updated since a Unix timestamp.

Logs an integration error from a connected ERP/accounting system.

Submits a pre-loaded multi-currency SFTP payment file for processing. EAT: fileName.

Submits a pre-loaded SFTP payment file for processing. EAT: totalAmount.

Processes up to 250 payments in a single call. EAT: paymentGroupTitle (pass via opts).

Dry-runs process_payments/3 — validates without moving money.

Functions

apply_vendor_credit(config, attrs)

@spec apply_vendor_credit(Tipalti.Config.t(), map()) ::
  {:ok, map()} | {:error, Exception.t()}

Applies a vendor credit to one or more bills.

apply_vendor_credit!(config, attrs)

create_extended_payee_status_file(config, file_name)

@spec create_extended_payee_status_file(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Requests an extended bulk payee-status CSV export to SFTP. EAT: saveToFile.

create_extended_payee_status_file!(config, file_name)

create_or_update_custom_fields(config, custom_fields)

@spec create_or_update_custom_fields(Tipalti.Config.t(), [map()]) ::
  {:ok, map()} | {:error, Exception.t()}

Creates or updates custom field definitions.

create_or_update_custom_fields!(config, custom_fields)

create_or_update_gl_accounts(config, gl_accounts)

@spec create_or_update_gl_accounts(Tipalti.Config.t(), [map()]) ::
  {:ok, map()} | {:error, Exception.t()}

Creates or updates one or more G/L accounts.

create_or_update_gl_accounts!(config, gl_accounts)

create_or_update_grns(config, grns)

@spec create_or_update_grns(Tipalti.Config.t(), [map()]) ::
  {:ok, map()} | {:error, Exception.t()}

Creates or updates one or more goods-received notices (GRNs).

create_or_update_grns!(config, grns)

create_or_update_invoices(config, invoices)

@spec create_or_update_invoices(Tipalti.Config.t(), [map()]) ::
  {:ok, map()} | {:error, Exception.t()}

Creates or updates one or more invoices.

create_or_update_invoices!(config, invoices)

create_or_update_purchase_orders(config, purchase_orders)

@spec create_or_update_purchase_orders(Tipalti.Config.t(), [map()]) ::
  {:ok, map()} | {:error, Exception.t()}

Creates or updates one or more purchase orders.

create_or_update_purchase_orders!(config, purchase_orders)

create_payee_status_file(config, file_name)

@spec create_payee_status_file(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Requests a bulk payee-status CSV export to SFTP. EAT: saveToFile.

create_payee_status_file!(config, file_name)

create_payment_orders_report(config, from_date, to_date)

@spec create_payment_orders_report(Tipalti.Config.t(), String.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Requests a payment-orders report export to SFTP.

create_payment_orders_report!(config, from_date, to_date)

get_balances(config)

@spec get_balances(Tipalti.Config.t()) :: {:ok, map()} | {:error, Exception.t()}

Returns account balances by provider and currency.

get_balances!(config)

get_custom_fields(config)

@spec get_custom_fields(Tipalti.Config.t()) :: {:ok, map()} | {:error, Exception.t()}

Retrieves custom field definitions.

get_custom_fields!(config)

get_dynamic_key(config, idap)

@spec get_dynamic_key(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Generates a signing key/token for embedding a Tipalti iFrame for the given payee.

get_dynamic_key!(config, idap)

get_dynamic_key_of_sub_payer(config, idap, sub_payer_name)

@spec get_dynamic_key_of_sub_payer(Tipalti.Config.t(), String.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Generates a signing key/token for embedding a Tipalti iFrame for a sub-payer.

get_dynamic_key_of_sub_payer!(config, idap, sub_payer_name)

get_payee_invoices_list_details(config, invoice_ref_codes)

@spec get_payee_invoices_list_details(Tipalti.Config.t(), [String.t()]) ::
  {:ok, map()} | {:error, Exception.t()}

Retrieves invoice details by reference code.

get_payee_invoices_list_details!(config, invoice_ref_codes)

get_payer_fees(config, from_date, to_date)

@spec get_payer_fees(Tipalti.Config.t(), String.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Returns fees charged in a date range.

get_payer_fees!(config, from_date, to_date)

get_processing_request_status(config, request_id)

@spec get_processing_request_status(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Polls the status of an async processing request. EAT: requestId.

get_processing_request_status!(config, request_id)

get_provider_accounts(config)

@spec get_provider_accounts(Tipalti.Config.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Lists the payer's provider accounts.

get_provider_accounts!(config)

get_updated_payments(config, since_timestamp)

@spec get_updated_payments(Tipalti.Config.t(), integer()) ::
  {:ok, map()} | {:error, Exception.t()}

Returns reference codes of payment orders updated since a Unix timestamp.

get_updated_payments!(config, since_timestamp)

log_integration_error(config, error_message)

@spec log_integration_error(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Logs an integration error from a connected ERP/accounting system.

log_integration_error!(config, error_message)

process_multi_currency_payment_file(config, file_name)

@spec process_multi_currency_payment_file(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Submits a pre-loaded multi-currency SFTP payment file for processing. EAT: fileName.

process_multi_currency_payment_file!(config, file_name)

process_payment_file(config, file_name, total_amount)

@spec process_payment_file(Tipalti.Config.t(), String.t(), number()) ::
  {:ok, map()} | {:error, Exception.t()}

Submits a pre-loaded SFTP payment file for processing. EAT: totalAmount.

process_payment_file!(config, file_name, total_amount)

process_payments(config, payments, opts \\ [])

@spec process_payments(Tipalti.Config.t(), [map()], keyword()) ::
  {:ok, map()} | {:error, Exception.t()}

Processes up to 250 payments in a single call. EAT: paymentGroupTitle (pass via opts).

Tipalti.SOAP.Payer.process_payments(config, [
  %{idap: "vendor-123", amount: 100.00, currency: "USD", refCode: "pay-1"}
], payment_group_title: "Weekly payout")

process_payments!(config, payments, opts \\ [])

test_multi_currency_payment_file(config, file_name)

@spec test_multi_currency_payment_file(Tipalti.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}

Dry-runs process_multi_currency_payment_file/2.

test_multi_currency_payment_file!(config, file_name)

test_payment_file(config, file_name, total_amount)

@spec test_payment_file(Tipalti.Config.t(), String.t(), number()) ::
  {:ok, map()} | {:error, Exception.t()}

Dry-runs process_payment_file/3.

test_payment_file!(config, file_name, total_amount)

test_payments(config, payments, opts \\ [])

@spec test_payments(Tipalti.Config.t(), [map()], keyword()) ::
  {:ok, map()} | {:error, Exception.t()}

Dry-runs process_payments/3 — validates without moving money.

test_payments!(config, payments, opts \\ [])