PATCH
/
v4
/
FLEET
/
{id}

Path Parameters

id
string
required

The account id for given account

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

Updating set values

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. Full address object is expected to be set when updating.

additionalValues
object[]
customerId
string

Customer id for account owner

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!

reason
string

Reason for contract status change

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
closureReason
enum<string>

Field enables to define entity's closure reason. This field will be exported but no logic is applied to this in Enfuce API

Available options:
CLOSED1,
CLOSED2,
CLOSED3,
CLOSED4,
CLOSED5
usageLimits
object[]
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 top account of the account hierarchy. Consult Enfuce before using this field.

status
enum<string>
Available options:
ACCOUNT_BLOCKED,
ACCOUNT_OK,
ACCOUNT_TO_CLOSE
additionalInvoiceDaysOfMonth
integer[]

Additional days in a month when an invoice will be created.

creditLimit
number

Credit limit of the account

eInvoice
object
externalCustomerReference
string

To be printed on invoice in order for customer to handle invoice properly

invoiceDeliveryMethod
enum<string>
Available options:
REGULAR_MAIL,
EMAIL,
E_INVOICE,
CUSTOM_1,
CUSTOM_2,
CUSTOM_3,
CUSTOM_4,
CUSTOM_5
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.

minimumToPay
object
paymentTerms
integer

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

The valid values for the parameter are integers between 1 and 31 (inclusive) and the specific value 45

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
accountsCardStatuses
enum<string>

Indicates the current value for card statuses. Should not be used, use accountCardBlocks value instead. Will be deprecated

Available options:
OK,
SOFT_BLOCK,
HARD_BLOCK
accountCardBlocks
object

Indicates which blocks are set for the account cards. Current values are SoftBlock and HardBlock true / false. In case either of the softblock or hardblock is true the account card usage is blocked, so to enable card usage both of the blocks must be set to false. To block the accounts card usage setting either value (sofblock or hardblock to true) is enough to block account card usage.

Response

200 - 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