POST
/
v4
/
CREDIT
/
customer
/
{customerId}

Path Parameters

customerId
string
required

The customer id of which customer you want to create the account on

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
address
object

Address connected to an account that will override the address set on customer level. This is for example used when sending out statements

additionalValues
object[]
name
string

Human readable name of an account

number
string

Unique account number for given account. Must be numeric if paymentRefence.type defined as MOD10 or FINNISH_7_3_1!

segment
enum<string>

Field enables to group an entity into a segment. This field will be exported but no logic is applied to this in Enfuce API

Available options:
SEGMENT_A,
SEGMENT_B,
SEGMENT_C,
SEGMENT_D,
SEGMENT_E,
SEGMENT_F
paymentReference
object

Number connected to account that will be used to map incoming payments to

parentId
string

This field is used when the institution is setting up an account liability hierarchy. The parentId is used to determine the parent of this account. Consult Enfuce before using this field.

creditLimit
number
required

Credit limit of the account

paymentTerms
integer

Number of days to allow for invoice to be paid before it goes overdue.

Use of this field as well as the values of the field, is dependent on institution setup and should be aligned with Enfuce before taking into use.

eInvoice
object
invoiceDayOfMonth
integer

This will set the last day of the billing period. An invoice will be created and sent on the next day. If the day of the month day is exceeding the number of days in a given month then it will be the end of the month.

invoiceDeliveryMethod
enum<string>
Available options:
REGULAR_MAIL,
EMAIL,
E_INVOICE,
CUSTOM_1,
CUSTOM_2,
CUSTOM_3,
CUSTOM_4,
CUSTOM_5
minimumToPay
object
productCode
string

This field is used when the institution has multiple account products setup. The productCode is used to determine the specific account product. Use of this field as well as the values of the field, is dependent on institution setup and should be aligned with Enfuce prior to use.

invoicePaymentMethod
enum<string>

Use of this field as well as the values of the field, is dependent on institution setup and should be aligned with Enfuce prior to use. Also, it is only a value, there is no functionality behind it.

Available options:
DIRECT_DEBIT,
PLUS_GIROT,
BANK_GIROT

Response

201 - application/json
description
string

Short description of the result of the action

id
string

Will contain the ID of the resource that has been created or updated