> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ImportPaymentTransactionCommandResponse

> Delivers one transaction of an external payment account, for example from a payment service the ERP has no connection for. A transaction with the same 'transactionId' in the account is updated (its note and whether it is ignored stay); this is how a pending transaction is completed later. Import filters, workflows and the import cutoff date of the account apply as for a fetch; 'outcome' tells what happened. When automatic assignment is switched on in the settings, it runs for the delivered transaction afterwards. Errors: PAYMENT_ACCOUNT_NOT_FOUND (the payment account was not found); PAYMENT_ACCOUNT_HIDDEN (the payment account is hidden; show it with 'ShowPaymentAccount' first); PAYMENT_ACCOUNT_NOT_EXTERNAL (the account is not an external account; its transactions come from the bank or the payment provider); PAYMENT_TRANSACTION_ASSIGNED (the transaction is assigned or refunded, and the change would alter its amount or its currency, switch its kind to or from Fee, or end it as cancelled, failed or expired); CURRENCY_ISO_CODE_INVALID (the currency is not a three-letter ISO 4217 code). - Response



**Kind**: `object`

## Fields

**`paymentTransactionId`**: `ID`

The ID of the transaction. Empty when the transaction was discarded.

---

**`outcome`**: `PaymentTransactionImportOutcome!`

What the import did.

