{"v":1,"capabilities":[{"cap":"invoices:read","class":"read","level":1,"constraints":["scope"],"description":"List a customer's supplier invoices: id, supplier, total, currency, status, comments"},{"cap":"invoices:comment","class":"write","level":1,"constraints":["scope"],"description":"Add a comment to an invoice"},{"cap":"invoices:approve","class":"write-hard","level":2,"constraints":["scope","amount"],"description":"Approve an invoice for payment. Send the invoice's own total and currency"},{"cap":"invoices:pay","class":"irreversible","level":3,"constraints":["scope","amount"],"description":"Release the payment of an invoice (bank transfer). Send the invoice's own total and currency"},{"cap":"expenses:submit","class":"write","level":1,"constraints":["scope","amount"],"description":"Submit an expense claim"},{"cap":"aby:link","class":"write","level":1,"constraints":["scope"],"description":"Link the person's AllowedBy identity to their account here (send the code the signed-in account page shows)"}],"templates":{"invoices:read":{"summary":{"en":"Read invoices {scope}"},"lines":{"en":"Read invoices {scope}"}},"invoices:comment":{"summary":{"en":"Comment on {scope}"},"lines":{"en":"Comment on {scope}"}},"invoices:approve":{"summary":{"en":"Approve {scope} for {amount.max} {amount.currency}"},"lines":{"en":"Approve {scope}, up to {amount.max} {amount.currency} per {amount.per}"}},"invoices:pay":{"summary":{"en":"Pay {scope}: {amount.max} {amount.currency}"},"lines":{"en":"Release payment for {scope}, up to {amount.max} {amount.currency}"}},"expenses:submit":{"summary":{"en":"Submit expenses up to {amount.max} {amount.currency} per {amount.per}"},"lines":{"en":"Submit expenses up to {amount.max} {amount.currency} per {amount.per}"}},"aby:link":{"summary":{"en":"Link your approvals to your account at globex.demo.upto.tech"},"lines":{"en":"Link your approvals to your account (globex.demo.upto.tech)"}}},"keys":[{"kty":"OKP","crv":"Ed25519","x":"bw3zfoHZZDY69OS0qILuHCbwPzmirAeJX_Lnd7v9DaI","kid":"ZsLv-i-Mse81oxtqVLSzRkXtOVX10k_r2Kts4d9hl1k"}],"org":"eyJhbGciOiJFZERTQSIsImtpZCI6IlpzTHYtaS1Nc2U4MW94dHFWTFN6UmtYdE9WWDEwa19yMkt0czRkOWhsMWsiLCJ0eXAiOiJhYnktb3JnK2p3dCJ9.eyJjb3VudHJ5IjoiRlIiLCJkcG8iOiJtYWlsdG86ZHBvQGdsb2JleC5leGFtcGxlIiwiZXhwIjoxODI1Njg2NzE0LCJpYXQiOjE3OTQxNTA3MTQsImlkcyI6eyJsZWkiOiI5Njk1MDBHTE9CRVgwMDAwREVNTyIsInZhdCI6IkZSMDA1NTIxMDA1NTQifSwibGVnYWxfbmFtZSI6Ikdsb2JleCBTQSIsIm9yZyI6Imh0dHBzOi8vZ2xvYmV4LmRlbW8udXB0by50ZWNoIiwicHJpdmFjeV9wb2xpY3kiOiJodHRwczovL2dsb2JleC5kZW1vLnVwdG8udGVjaC9wcml2YWN5IiwicHJvb2YiOnsiYnkiOiJkZW1vLnVwdG8udGVjaCIsInR5cGUiOiJ2b3VjaCJ9LCJ2IjoxfQ.Ylrm1Yt-vHNaAnkjQ4xNwUhCC3O2VHI_MgRmMMTE4Std3DItMBU_ApmXRSZ9F_s1BYyc7x2By2J5VkMtbGUnAQ","openapi":"https://globex.demo.upto.tech/openapi.json","link":"https://globex.demo.upto.tech/allowedby/link","disclosure":{"legal_name":{"purpose":{"en":"Name of the person who released the payment, kept for the audit trail"},"retention_days":3650},"email":{"purpose":{"en":"Send you the payment receipt"},"retention_days":365}},"disclosure_key":{"kty":"EC","crv":"P-256","kid":"d1","use":"enc","x":"TR0-EkUOwVrElOE4zGHFvJXrC3zzdsf1nE47N0bvsyc","y":"EexY2pfSByaSAKUxcCAyMPnrVwSdGDUGMLkxojkTh5Y"}}