pixiCreateBanklineMatch

Match a bank line to an order.

Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes: Using MaxMatchDelta parameter:

     - When the value for **MaxMatchDelta** parameter is defined, the API call checks if the difference between bank line amount and order total is **smaller or equal** the value provided for parameter MaxMatchDelta. 
     - Only when this is true, a new bank line match will be added.
    
    Using **AutoReleaseOrder** parameter:
    
     - When **AutoReleaseOrder** parameter is set to **1** the API call will **release** the order **from status hold** automatically after a successful bank line match will be added and the amount paid by the customer equals the amount of the order total. 
     - If the difference of the order total and amount paid by the customer is not 0 or smaller than defined with parameter MaxMatchDelta. The  bank match will not be created and order will not be released.

Request

POST https://apigateway.descartes.com/tms/pixi/pixiCreateBanklineMatch

Request body

Name Type Required Description
OrderNr integer false

Order which will be matched. Use either OrderNr or OrderNrExternal parameter

Type: int

Default value:

Example: 123

Available from: LOU Official - Update 46 (6.9.46.27927)

BanklineKey integer false

Match order to this bank line ID

Type: int

Default value:

Example: 123

Available from: LOU Official - Update 46 (6.9.46.27927)

MaxMatchDelta number false

Maximum allowed delta between order total and bank line amount

Type: money

Default value:

Example: 9.99

Available from: AVA 17.12 (8.4.36.32642)

OrderNrExternal string false

Order which will be matched. Use either OrderNr or OrderNrExternal parameter

Type: varchar(50)

Default value:

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

AutoReleaseOrder boolean false

Automatically release order from HOLD after the bank match is created

Type: bit

Default value:

Example: 0 or 1

Available from: AVA 17.12 (8.4.36.32642)


Response

1. Bank match status

Name Type Description
Status string

Bank match status

Type: varchar (5)

Available from: / (25.7.0.59144)

Message string

Bank match error message

Type: varchar (500)

Available from: / (25.7.0.59144)

BankAmount number

Bank line amount

Type: money

Available from: / (25.7.0.59144)

UsedAmount number

Bank line used amount

Type: money

Available from: / (25.7.0.59144)

BankLineKey integer

Bank line ID

Type: int

Available from: / (25.7.0.59144)