gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

More information for fees via PAIA #59

Closed olli-gold closed 7 years ago

olli-gold commented 8 years ago

In our opinion PAIA should supply more information about fees, that have been caused by loan transactions (for example fees for late returns). Currently there are no fields specified for that.

We would like to see:

This information could improve transparency of the fees origin.

So we suggest adding two fields to the specification:

Another maybe useful information could be the loandate, but this would be rather optional.

nichtich commented 8 years ago

The field document.duedate is deprected, there is document.starttime and document.endtime (but connected to a given document.status), for this reason I would not use the field name duedate. In general, a fee connected to a specific item could be caused by any action:

and also by any change of a service status

and last but not least by expiration of endtime without change of the service status. The whole issue seems more complex than just adding two fields without further explanation when to use these fields.


How about adding the following optional field:

There is already

A fee for regular loan or a renewal fee or a fee because expiration of duedate all look the same:

"item": "...",
"servicestatus": 3,
"date": "..."

The client already knows from the items request whether the item has been returned or not.

A fee for cancelling order or reservation would have "servicestatus"=0.

nichtich commented 7 years ago

I've added am example of fees at http://gbv.github.io/paia/paia.html#fees The need of additional fields does not convince me. More information could also be included in the field "about". Can I close this issue?

olli-gold commented 7 years ago

We have discussed that again and now we agree, that the additional fields are not necessary for our use case. Perhaps we will ask to integrate the information into the fee.about field in the VZG PAIA, but as this does not need a specification change, you can close this ticket.

nichtich commented 7 years ago

Thanks - getting closer to PAIA 1.4.0 :smiley: