ScalepointDeveloper Portal

Submit expense

POST
/{version}/expense/submit

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

version*"v2"

API version

Default"v2"

Value in

  • "v2"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/expense/submit" \  -H "Content-Type: application/json" \  -d '{    "meta": {      "timestamp": "string"    },    "data": {      "claim": {        "id": "string",        "tenant": "string"      },      "expense": {        "number": "string",        "date": "string",        "expenseType": "string",        "invoiceType": "string",        "isDraft": true,        "issuer": {          "companyTaxId": "string"        },        "subtotal": 0,        "vat": 0,        "total": 0      }    }  }'
{  "meta": {    "timestamp": "string"  },  "data": {    "expense": {      "url": "string",      "status": "string"    }  }}