Post payment to given invoice
Creates a payment transaction that is allocated to the specified invoice.
Transaction type is derived:
- CPT if invoice is in collection
- PT otherwise
Note: The additionalInfo.paymentReference field is prohibited in this request.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Invoice id to allocate the payment to
Query Parameters
The audit user to log the request
Body
The fields that you want to apply to your newly created invoice payment transaction, these values will override the predefined template values. Note: Transaction type is derived by the backend and must not be provided.
Transaction amount. It is possible to post only amount which is equal or more than minimal currency unit (For example, for EUR, SEK, NOK minimal unit is 0,01)
A valid ISO 4217 currency code
[A-Z]{3}"EUR"
Free input text
255Merchant name
255The date when transaction was posted at Enfuce in ISO-8601 date format (YYYY-MM-DD). Only one of date or postingDate can be used at a time. This field will always post a transaction even if this date is not valid.
The date when transaction was posted at Enfuce in ISO-8601 date format (YYYY-MM-DD). Only one of date or postingDate can be used at a time. When using this field an exception will be thrown if posting date is not valid. For a postingDate to be valid, it must be no later than the due date of the account's contract.
The local date when the transaction was made in ISO-8601 date format (YYYY-MM-DD).

