opencost-de / opencost

openCost data formats, documentation and examples
GNU General Public License v3.0
4 stars 0 forks source link

Why is "type" field not multiple? #19

Closed bschweighofer closed 1 year ago

bschweighofer commented 1 year ago

As we need to be able to divide the costs into APC, page charges et al. Then of course only the first field should be required (the others optional) - or in combination with "amount_paid" (also only once required).

ReportBy: email

cbroschinski commented 1 year ago

type may in fact occur more than once. In our currenct XML implementation type (together with currency) is a mandatory attribute to the amount_paid element, which itself can have mutiple occurences (Here's an example). This was somewhat misleading in previous versions of the schema description, we have now tried to make it more clear.