Update a a list of purchase details
Update the purchase detail(s). Any field present in the body will be updated
Query Parameters
The audit user to log the request
Body
Purchase amount of given purchase detail.
Issuer defined code for purchase detail. Code can e.g. represent a product category like “newspapers”. Code is utilised if item is processed through repricing.
Issuer defined description of purchase detail. The description is set when creating purchase details and is available when fetching purchase details via API and in the invoicing file.
Issuer defined external id. Issuer can store an external id to each purchase detail as a common key between Enfuce and issuer systems.
Attributes that enable Enfuce to link purchase detail to a financial transaction. The most suitable matching attributes are agreed with issuer during implementation.
Prompted data linked to the purchase detail
The quantity purchased. This can be a number or in combination with unit define e.g. how many liters or kilograms have been purchased.
Id of the financial transaction the purchase detail is linked to. The transactionId is updated by Enfuce after a match is found between financial transaction and purchase detail.
The type of item
FUEL
, OTHER
Price per unit
The applicable value-add tax of the purchase detail.
Unit of measurement of quantity. Obsolete in cases where the purchase detail represents one item or a number of the same items.
KG
, KWH
, LITRE
, GALLON
Unique id that represents this purchase detail
Response
Short description of the result of the action
Ids of the purchase details that has been created or updated.