Headers
- 
    
  ID of organization, for which the operation must be performed 
- 
    
  API token (can be retrieved from account settings) 
        POST
    /api-v1/expenses/batch
  
  curl \
 --request POST 'https://wyzio.app/api-v1/expenses/batch' \
 --header "Content-Type: application/json" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string" \
 --data '[{"chartOfAccountsId":42,"companyCurrencyTotalAmount":"string","currencyId":42,"currencyNetAmount":"string","currencyTotalAmount":"string","currencyVatAmount":"string","date":"string","departmentId":42,"description":"string","id":42,"merchant":"string","officeId":42,"orderClientId":42,"orderId":42,"paymentType":"OWN_RESOURCES","reBill":true,"receiptDocumentFileId":42,"status":"UNSUBMITTED","vatRateId":42}]'
        Request examples
  
  # Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
[
  {
    "chartOfAccountsId": 42,
    "companyCurrencyTotalAmount": "string",
    "currencyId": 42,
    "currencyNetAmount": "string",
    "currencyTotalAmount": "string",
    "currencyVatAmount": "string",
    "date": "string",
    "departmentId": 42,
    "description": "string",
    "id": 42,
    "merchant": "string",
    "officeId": 42,
    "orderClientId": 42,
    "orderId": 42,
    "paymentType": "OWN_RESOURCES",
    "reBill": true,
    "receiptDocumentFileId": 42,
    "status": "UNSUBMITTED",
    "vatRateId": 42
  }
]
        Response examples (200)
  
  {
  "items": [
    {
      "error": true,
      "errorCode": {
        "errorCode": "NO_ERROR",
        "errorDetailValues": [
          {
            "data": "string",
            "errorCode": "string",
            "fieldName": "string",
            "isSevere": true
          }
        ]
      },
      "freshData": {},
      "freshRow": {},
      "possibleWorkflows": [
        {
          "id": 42,
          "name": "string"
        }
      ],
      "severeError": true
    }
  ]
}