{"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.allowedby.com"},"lines":{"en":"Link your approvals to your account (globex.demo.allowedby.com)"}}},"keys":[{"kty":"OKP","crv":"Ed25519","x":"3L5eHH5AnEvIVVppAlb8S6P9Fh2CGtr8IsEAZa6Q9AE","kid":"d7rtdUi8GzZcit4hp8DzmnjKkEqRr1bzKmu0DFSSE14"}],"org":"eyJhbGciOiJFZERTQSIsImtpZCI6ImQ3cnRkVWk4R3paY2l0NGhwOER6bW5qS2tFcVJyMWJ6S211MERGU1NFMTQiLCJ0eXAiOiJhYnktb3JnK2p3dCJ9.eyJjb3VudHJ5IjoiRlIiLCJkcG8iOiJtYWlsdG86ZHBvQGdsb2JleC5leGFtcGxlIiwiZXhwIjoxODI3MjI2MTIzLCJpYXQiOjE3OTU2OTAxMjMsImlkcyI6eyJsZWkiOiI5Njk1MDBHTE9CRVgwMDAwREVNTyIsInZhdCI6IkZSMDA1NTIxMDA1NTQifSwibGVnYWxfbmFtZSI6Ikdsb2JleCBTQSIsIm9yZyI6Imh0dHBzOi8vZ2xvYmV4LmRlbW8uYWxsb3dlZGJ5LmNvbSIsInByaXZhY3lfcG9saWN5IjoiaHR0cHM6Ly9nbG9iZXguZGVtby5hbGxvd2VkYnkuY29tL3ByaXZhY3kiLCJwcm9vZiI6eyJieSI6ImRlbW8uYWxsb3dlZGJ5LmNvbSIsInR5cGUiOiJ2b3VjaCJ9LCJ2IjoxfQ.HU8IN0PbEDEod5F3mKhIEsV1HLFKN0Zemq5ZSB6qUanrq--2YunDjag7deTrCRY_udsA4t2hln3co122l7bhDg","openapi":"https://globex.demo.allowedby.com/openapi.json","link":"https://globex.demo.allowedby.com/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":"l6K3P3Sw88tOxmtmhwaag564-IqcHop0jx4vbscimxI","y":"OZUKP72lnXpA8H3lrU1WqJPn4CtCXwSRl6msRFa9CZA"}}