Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Adding sematics to business contracts

mikorizal
September 17, 2021

Adding sematics to business contracts

by Jesper Kiehn

mikorizal

September 17, 2021
Tweet

More Decks by mikorizal

Other Decks in Technology

Transcript

  1. Short bio •Worked with ERP since graduating as Computer science

    Engineer •5 years as training ERP programming •2 years at PWC with implementation and computer auditing •10 years Microsoft – wrote a book about REA implementations •8 years with different dealers doing standard add-ons for expense management and advanced manufacturing
  2. Composable REA Contracts •Idea is from Modelling Financial contracts by

    Simon Peyton-Jones •REA Contracts are a subset of the possible financial contracts •REA contracts are normally about money for goods but can also be for services 1
  3. 2

  4. 3

  5. 4

  6. 5

  7. 6

  8. 7

  9. 8

  10. 9

  11. 10

  12. 11

  13. 12

  14. 13

  15. 14

  16. REA example contracts • Prepayments: • At ”1 Jan 2017”

    receive ”Iphone 7” and (before ”12 December 2016” pay 125 US$ or before ”1 Jan 2017” pay 140 US$) • Interests for late payments • Pay x or pay x*(100 + rate)/100 *(Date-duedate)/365 • Cash Discount • At deliverydate Pay x*(100-y)/100 at delivery or after deliverrydate pay x • Installments • At date receive z and pay 5 times 100 US$ for 5 months • We can now easily combine these options (and determine which combinations makes sense) 15
  17. 16