changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "anyOf": [
+ {
+ "required": [
+ "wallet",
+ "period",
+ "payment_count",
+ "outgoing_transfer_count",
+ "complete",
+ "gaps",
+ "total_usd",
+ "total_eur",
+ "payees",
+ "payments",
+ "truncated",
+ "vat_assessment",
+ "sources",
+ "generated_at",
+ "disclaimer",
+ "receipt",
+ "extensions"
+ ]
+ },
+ {
+ "required": [
+ "format",
+ "media_type",
+ "csv",
+ "wallet",
+ "days",
+ "classification",
+ "note",
+ "receipt",
+ "extensions"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+ ],
+ "description": "Structured result contract for agent_spend_statement. A success satisfies the documented success branch. A domain or tool error includes error and is not a successful settlement; unpaid x402 requirements are carried by the transport wrapper.",
+ "properties": {
+ "accepted": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "charged": {
+ "description": "When present on an error, false means the failed result is uncharged.",
+ "type": "boolean"
+ },
+ "classification": {
+ "type": "string"
+ },
+ "complete": {
+ "type": "boolean"
+ },
+ "csv": {
+ "type": "string"
+ },
+ "days": {
+ "type": "integer"
+ },
+ "did_you_mean": {
+ "additionalProperties": true,
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "error": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "message": {
+ "type": "string"
+ },
+ "param": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "error_code": {
+ "type": "string"
+ },
+ "extensions": {
+ "additionalProperties": true,
+ "properties": {
+ "delivery-receipt": {
+ "additionalProperties": true,
+ "properties": {
+ "how_to_verify": {
+ "type": "string"
+ },
+ "issued_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "issuer_key": {
+ "type": "string"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "result_hash": {
+ "type": "string"
+ },
+ "service": {
+ "type": "string"
+ },
+ "signature": {
+ "type": "string"
+ },
+ "signed_message": {
+ "type": "string"
+ },
+ "standard": {
+ "const": "eucompliance-receipt/2",
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "valid_until": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "verify_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "standard",
+ "service",
+ "subject",
+ "result_hash",
+ "issued_at",
+ "valid_until",
+ "issuer",
+ "issuer_key",
+ "key_id",
+ "verify_url",
+ "how_to_verify",
+ "signature",
+ "signed_message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "delivery-receipt"
+ ],
+ "type": "object"
+ },
+ "format": {
+ "type": "string"
+ },
+ "gaps": {
+ "items": {},
+ "type": "array"
+ },
+ "generated_at": {
+ "type": "string"
+ },
+ "media_type": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "missing": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "missing_checks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "outgoing_transfer_count": {
+ "type": "integer"
+ },
+ "partial_evidence": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "payees": {
+ "items": {},
+ "type": "array"
+ },
+ "payment_count": {
+ "type": "integer"
+ },
+ "payments": {
+ "items": {},
+ "type": "array"
+ },
+ "period": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "receipt": {
+ "additionalProperties": true,
+ "properties": {
+ "how_to_verify": {
+ "type": "string"
+ },
+ "issued_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "issuer_key": {
+ "type": "string"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "result_hash": {
+ "type": "string"
+ },
+ "service": {
+ "type": "string"
+ },
+ "signature": {
+ "type": "string"
+ },
+ "signed_message": {
+ "type": "string"
+ },
+ "standard": {
+ "const": "eucompliance-receipt/2",
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "valid_until": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "verify_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "standard",
+ "service",
+ "subject",
+ "result_hash",
+ "issued_at",
+ "valid_until",
+ "issuer",
+ "issuer_key",
+ "key_id",
+ "verify_url",
+ "how_to_verify",
+ "signature",
+ "signed_message"
+ ],
+ "type": "object"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "settled": {
+ "description": "When present on an error, false means no settlement occurred.",
+ "type": "boolean"
+ },
+ "sources": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "status_code": {
+ "type": "integer"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "total_eur": {
+ "type": "number"
+ },
+ "total_usd": {
+ "type": "number"
+ },
+ "transaction_semantics": {
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "unknown": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "vat_assessment": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "wallet": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}