{"openapi":"3.1.0","info":{"title":"Capway API","version":"0.1.0"},"paths":{"/v1/Customers":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomers","parameters":[{"name":"$filter","in":"query","schema":{"type":"string"},"description":"Filter conditions specified in a simplified OData format."},{"name":"$skip","in":"query","schema":{"type":"integer","format":"int32","default":0},"description":"List offset when paginating (default 0)."},{"name":"$top","in":"query","schema":{"type":"integer","format":"int32","default":25,"maximum":100},"description":"Maximum size of result (default 25, max 100)."},{"name":"$orderby","in":"query","schema":{"type":"string"},"description":"Sorting conditions. E.g. fullname desc."}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customers"},"example":{"count":0,"skip":0,"total":0,"value":[{"customerGuid":"string","customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","deceasedDate":"2019-08-24T14:15:22Z","fullName":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Customers"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customers using filters","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"put":{"tags":["Customers"],"operationId":"Customers_CreateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutCustomer"},"example":{"customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","deceasedDate":"2019-08-24T14:15:22Z","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","gender":0,"cultureCode":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","domicile":"string","municipalCode":"string","companyType":"string","glnNumber":"string","telefax":"string","preferredChannel":"string","underAged":true,"invoiceChannel":"string","maritalStatus":0,"passportNumber":"string","driversLicenseNumber":"string","clientReference":"string","parentCustomer":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","customerGuid":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/PutCustomer"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PutCustomer"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PutCustomer"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PutCustomer"}},"text/plain":{"schema":{"$ref":"#/components/schemas/PutCustomer"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCustomer"},"example":{"customerGuid":"string","customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","deceasedDate":"2019-08-24T14:15:22Z","fullName":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","gender":0,"cultureCode":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","domicile":"string","municipalCode":"string","companyType":"string","glnNumber":"string","telefax":"string","preferredChannel":"string","underAged":true,"invoiceChannel":"string","maritalStatus":0,"passportNumber":"string","driversLicenseNumber":"string","regDate":"2019-08-24T14:15:22Z","contactPerson":"string","addresses":[{"typeCode":"string","fullName":"string","careOf":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","stateCode":"string","zipCode":"string","fullAddress":"string","countryCode":"string","defaultAddress":true,"updateExisting":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","addressNotValid":"2019-08-24T14:15:22Z","addressNotValidOverride":true}],"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/GetCustomer"}}},"description":"HTTP 201 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Creates a new customer","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{guid}":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomer","parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCustomer"},"example":{"customerGuid":"string","customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","deceasedDate":"2019-08-24T14:15:22Z","fullName":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","gender":0,"cultureCode":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","domicile":"string","municipalCode":"string","companyType":"string","glnNumber":"string","telefax":"string","preferredChannel":"string","underAged":true,"invoiceChannel":"string","maritalStatus":0,"passportNumber":"string","driversLicenseNumber":"string","regDate":"2019-08-24T14:15:22Z","contactPerson":"string","addresses":[{"typeCode":"string","fullName":"string","careOf":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","stateCode":"string","zipCode":"string","fullAddress":"string","countryCode":"string","defaultAddress":true,"updateExisting":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","addressNotValid":"2019-08-24T14:15:22Z","addressNotValidOverride":true}],"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/GetCustomer"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer details.","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{customerGuid}":{"patch":{"tags":["Customers"],"operationId":"Customers_UpdateCustomer","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchCustomer"},"example":{"customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","deceasedDate":"2019-08-24T14:15:22Z","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","gender":0,"cultureCode":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","domicile":"string","municipalCode":"string","companyType":"string","glnNumber":"string","telefax":"string","preferredChannel":"string","underAged":true,"invoiceChannel":"string","maritalStatus":0,"passportNumber":"string","driversLicenseNumber":"string","parentCustomer":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/PatchCustomer"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PatchCustomer"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchCustomer"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchCustomer"}},"text/plain":{"schema":{"$ref":"#/components/schemas/PatchCustomer"}}}},"responses":{"204":{"description":"HTTP 204 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Updates a customer","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"delete":{"tags":["Customers"],"operationId":"Customers_DeleteCustomer","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"HTTP 204 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"405":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 405 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Deletes a customer","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{guid}/LedgerSummary":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerLedgerSummary","parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLedgerSummary"},"example":{"totalBalance":0.1,"accountBalance":0.1,"currencyCode":"string","unsettledPaymentBalance":0.1,"purchases":[{"reservationId":0,"claimantReference":"string","claimantName":"string","invoiceNo":"string","creditorReference":"string","description":"string","currencyCode":"string","purchaseAmount":0.1,"activatedAmount":0.1,"remainingAmount":0.1,"campaignCode":"string","campaignDescription":"string","customerAccountNumber":"string","originalCampaignAmount":0.1,"remainingCampaignAmount":0.1,"campaignFee":0.1,"totalNumberOfPayments":0,"remainingNumberOfPayments":0,"nextPeriodDate":"2019-08-24T14:15:22Z","nextPeriodAmount":0.1,"lastPaymentDate":"2019-08-24T14:15:22Z","extraFields":[{"name":"string","data":"string"}]}],"invoices":[{"invoiceDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","description":"string","invoiceNumber":"string","invoiceGroupingReference":"string","paymentReferenceNumber":"string","paymentBankAccountNumber":"string","currencyCode":"string","invoiceAmount":0.1,"minimumToPay":0.1,"minimumToPayIncludingCampaign":0.1,"customerAccountInvoice":true,"invoiceStatus":0,"reservationId":0}],"accounts":[{"accountNumber":"string","uniqueId":"string","description":"string","currencyCode":"string","balance":0.1}],"guarantees":[{"guaranteeGuid":"string","pledgeType":0,"referenceNumber":"string","guaranteeDate":"2019-08-24T14:15:22Z","originalGuaranteeAmount":0.1,"guaranteeAmount":0.1,"description":"string","note":"string","validUntil":"2019-08-24T14:15:22Z","guaranteeType":0}],"collaterals":[{"collateralGuid":"string","pledgeType":0,"referenceNumber":"string","pledgeDate":"2019-08-24T14:15:22Z","pledgeAmount":0.1,"description":"string","note":"string","insurer":"string","insuranceNumber":"string","insuredAmount":0.1,"insuranceExpiryDate":"2019-08-24T14:15:22Z","realized":true}],"myGuarantors":[{"customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","fullName":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","guarantorGuid":"string","companyType":"string","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}],"guaranteeFor":[{"customerGuid":"string","customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","fullName":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","companyType":"string","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}],"allRelatedCustomers":[{"customerGuid":"string","customerReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","fullName":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string","customerRoleCode":"string","companyType":"string","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/CustomerLedgerSummary"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer ledger summary.","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{customerGuid}/Addresses":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerAddresses","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","schema":{"type":"string"},"description":"Filter conditions specified in a simplified OData format."},{"name":"$skip","in":"query","schema":{"type":"integer","format":"int32"},"description":"List offset when paginating (default 0)."},{"name":"$top","in":"query","schema":{"type":"integer","format":"int32"},"description":"Maximum size of result (default 25, max 100)."},{"name":"$orderby","in":"query","schema":{"type":"string"},"description":"Sorting conditions. E.g. fullname desc."}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAddresses"},"example":{"count":0,"skip":0,"total":0,"value":[{"addressGuid":"string","addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","validatedAt":"2019-08-24T14:15:22Z","validOverride":true,"lastUpdatedAt":"2019-08-24T14:15:22Z"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/GetAddresses"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer addresses using filters","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"put":{"tags":["Customers"],"operationId":"Customers_CreateCustomerAddress","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutAddress"},"example":{"addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","addressNotValidReason":"string","reasonForChange":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"text/plain":{"schema":{"$ref":"#/components/schemas/PutAddress"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAddress"},"example":{"addressGuid":"string","addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","validatedAt":"2019-08-24T14:15:22Z","validOverride":true,"lastUpdatedAt":"2019-08-24T14:15:22Z"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/GetAddress"}}},"description":"HTTP 201 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Creates a new customer address","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{customerGuid}/Addresses/{addressGuid}":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerAddress","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"addressGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAddress"},"example":{"addressGuid":"string","addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","validatedAt":"2019-08-24T14:15:22Z","validOverride":true,"lastUpdatedAt":"2019-08-24T14:15:22Z"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/GetAddress"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer address details based on the unique GUID","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"patch":{"tags":["Customers"],"operationId":"Customers_UpdateCustomerAddress","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"addressGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutAddress"},"example":{"addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","addressNotValidReason":"string","reasonForChange":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PutAddress"}},"text/plain":{"schema":{"$ref":"#/components/schemas/PutAddress"}}}},"responses":{"204":{"description":"HTTP 204 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Updates a customer address","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"delete":{"tags":["Customers"],"operationId":"Customers_DeleteCustomerAddress","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"addressGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"HTTP 204 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Deletes a customer address","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{customerGuid}/ExtraFields":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerExtraFields","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","schema":{"type":"string"},"description":"Filter conditions specified in a simplified OData format."},{"name":"$skip","in":"query","schema":{"type":"integer","format":"int32"},"description":"List offset when paginating (default 0)."},{"name":"$top","in":"query","schema":{"type":"integer","format":"int32"},"description":"Maximum size of result (default 25, max 100)."},{"name":"$orderby","in":"query","schema":{"type":"string"},"description":"Sorting conditions. E.g. fullname desc."}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetExtraFields"},"example":{"count":0,"skip":0,"total":0,"value":[{"name":"string","value":["string"]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/GetExtraFields"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer extra fields using filters","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"put":{"tags":["Customers"],"operationId":"Customers_CreateCustomerExtraField","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}}},"description":"HTTP 201 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Creates a new customer extra field","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{customerGuid}/ExtraFields/{name}":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerExtraField","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValue"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer extra field details based on the unique GUID and extra field name","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"patch":{"tags":["Customers"],"operationId":"Customers_UpdateCustomerExtraField","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValues"},"example":{"value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValues"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ExtraFieldValues"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ExtraFieldValues"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ExtraFieldValues"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ExtraFieldValues"}}}},"responses":{"204":{"description":"HTTP 204 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Updates a customer extra field","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"},"delete":{"tags":["Customers"],"operationId":"Customers_DeleteCustomerExtraField","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"HTTP 204 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Deletes a customer extra field","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/{customerGuid}/DirectDebitMandates/{directDebitGuid}":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerDirectDebitMandate","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"directDebitGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectDebitMandate"},"example":{"mandateGuid":"string","directDebitMandateType":0,"referenceNo":"string","bankAccountNo":"string","requestedAt":"2019-08-24T14:15:22Z","approvedAt":"2019-08-24T14:15:22Z","signedDate":"2019-08-24T14:15:22Z","validfrom":"2019-08-24T14:15:22Z","validuntil":"2019-08-24T14:15:22Z","closedAt":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/DirectDebitMandate"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 404 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Get customer direct debit mandate based on the unique GUID","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Customers/Ping":{"get":{"tags":["Customers"],"operationId":"Customers_Ping","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PingResponse"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/PingResponse"}}},"description":"HTTP 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"}},"summary":"Make a ping request to see that the service is up and running.","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}},"/v1/Invoices":{"get":{"tags":["Invoices"],"summary":"Get invoices using filters","operationId":"Invoices_GetInvoices","parameters":[{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Invoices"},"example":{"count":0,"skip":0,"total":0,"value":[{"invoiceGuid":"string","ledgerType":0,"clientReferenceNumber":"string","clientName":"string","invoiceNumber":"string","customerName":"string","customerNumber":"string","invoiceDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","daysDue":0,"invoiceType":"string","registrationDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"paidSum":0.1,"remainingSum":0.1,"service":"string","status":0,"financeStatus":"string","purchasable":true,"purchased":true}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_Invoices"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"put":{"tags":["Invoices"],"summary":"Creates a new invoice","operationId":"Invoices_CreateInvoices","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutInvoice"}},"example":[{"creditorReference":"string","referenceNumber":"string","deliverySystemCode":"string","paymentReference":"string","service":"string","tryComplementExisting":true,"claimantName":"string","loanFlag":true,"loanPercent":0.1,"purchasable":0,"purchaseFee":"string","invoiceDate":"2019-08-24T14:15:22Z","paymentCode":"string","printCode":"string","formCode":"string","receiverReference":"string","aconto":true,"denyConversion":true,"accountingFactor":0.1,"preferredChannel":"string","externalReferenceCode":"string","paymentProductCode":"string","marketplaceReferenceCode":"string","customer":{"customerReference":"string","idNumber":"string","juridicalType":0,"customerRole":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","gender":0,"cultureCode":"string","title":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","careOf":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","stateCode":"string","zipCode":"string","addressNotValidOverride":true,"countryCode":"string","domicile":"string","municipalCode":"string","vatNumber":"string","companyType":"string","glnNumber":"string","naceCode":"string","eInvoiceReceiverId":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","telefax":"string","email":"string","languageCode":"string","currencyCode":"string","preferredchannel":"string","underAged":true,"externPaymentTypeCode":"string","eInvoiceBankCode":"string","invoiceChannel":"string","directDebitReferenceNo":"string","directDebitBankaccount":"string","updateExisting":true,"address":[{"addressType":"string","addressNotValid":"2019-08-24T14:15:22Z","fullName":"string","careOf":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","stateCode":"string","zipCode":"string","addressNotValidOverride":true,"countryCode":"string","defaultAddress":true,"updateExisting":true}],"extraFields":[{"name":"string","value":["string"]}],"directDebitMandate":{"mandateGuid":"string","directDebitMandateType":0,"referenceNo":"string","bankAccountNo":"string","requestedAt":"2019-08-24T14:15:22Z","approvedAt":"2019-08-24T14:15:22Z","signedDate":"2019-08-24T14:15:22Z","validfrom":"2019-08-24T14:15:22Z","validuntil":"2019-08-24T14:15:22Z","closedAt":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]},"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","customerGuid":"string"},"debts":[{"debtPrincipalType":0,"description":"string","invoiceNumber":"string","originalReferenceNumber":"string","paymentReference":"string","ledgerReference":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"paidInterest":0.1,"originalVat":0.1,"remainingVat":0.1,"rounding":0.1,"systemrounding":0.1,"currencyCode":"string","exchangeRate":0.1,"orderDate":"2019-08-24T14:15:22Z","invoiceDate":"2019-08-24T14:15:22Z","documentDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","ourOrder":"string","yourOrder":"string","seller":"string","goodsMark":"string","deliveryMethod":"string","deliveryCondition":"string","deliveryDate":"2019-08-24T14:15:22Z","deliveryNoteId":"string","creditCardTransactionId":"string","message":"string","paymentCondition":0,"interestCondition":0,"store":"string","receiptNumber":"string","cashRegisterNumber":"string","interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","ourReference":"string","yourReference":"string","periodoflimitation":0,"limitationDate":"2019-08-24T14:15:22Z","receiverFullName":"string","receiverStreet":"string","receiverHouseNo":"string","receiverHouseNoExtension":"string","receiverCity":"string","receiverStateCode":"string","receiverZipCode":"string","receiverCountryCode":"string","receiverFullAddress":"string","deliveryFullName":"string","deliveryStreet":"string","deliveryHouseNo":"string","deliveryHouseNoExtension":"string","deliveryCity":"string","deliveryStateCode":"string","deliveryZipCode":"string","deliveryCountryCode":"string","deliveryFullAddress":"string","vendorReferenceCode":"string","debtRows":[{"summaryOnly":true,"textOnly":true,"rowReference":"string","itemReference":"string","debtFeeCode":"string","description":"string","callNumber":"string","callLength":0,"eanCode":"string","orderCount":0,"itemCount":0.1,"remainingCount":0,"unitTypeId":0,"itemNetAmount":0.1,"itemSystemNetAmount":0.1,"discount":0.1,"rowPrincipalAmount":0.1,"systemRowPrincipalAmount":0.1,"includingVAT":true,"vatAmount":0.1,"systemVatAmount":0.1,"vatCode":"string","accountChartCode":"string","vatAccountChartCode":"string","accountDim1":"string","accountDim2":"string","accountDim3":"string","accountDim4":"string","accountDim5":"string","accountDim6":"string","accountDim7":"string","accountDim8":"string","extraFields":[{"name":"string","value":["string"]}]}],"extraFields":[{"name":"string","value":["string"]}],"debtGroup":"string","interestSpecificCalculationType":"string"}],"fees":[{"name":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","principalAmount":0.1,"vatAmount":0.1,"interestAmount":0.1,"paidInterest":0.1,"exchangeRate":0.1,"currencyCode":"string","interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","importedFee":true}],"extraFields":[{"name":"string","unique":true,"value":["string"]}],"note":[{"noteText":"string","loggedAt":"2019-08-24T14:15:22Z","systemCode":"string","userCode":"string","important":true,"histOwnerTypeId":"string","histNoteTypeId":"string"}],"document":[{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","searchValue":"string","externalLink":"string","important":true,"fileDataBase64":"string"}]}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutInvoice"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutInvoice"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutInvoice"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutInvoice"}}},"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutInvoice"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutInvoiceResult"},"example":{"invoiceGuids":["string"],"impStockId":0}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_PutInvoiceResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{guid}":{"get":{"tags":["Invoices"],"summary":"Get invoice details.","operationId":"Invoices_GetInvoice","parameters":[{"name":"guid","in":"path","description":"The GUID representing the invoice.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_GetInvoice"},"example":{"creditorReference":"string","invoiceNumber":"string","deliverySystemCode":"string","paymentReference":"string","service":"string","claimantName":"string","invoiceDat":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","purchased":true,"paymentCode":"string","printCode":"string","formCode":"string","receiverReference":"string","preferredChannel":"string","externalReferenceCode":"string","paymentProductCode":"string","marketplaceReferenceCode":"string","financeStatus":0,"customer":{"customerReference":"string","idNumber":"string","juridicalType":0,"customerRole":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","gender":0,"cultureCode":"string","title":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","careOf":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","stateCode":"string","zipCode":"string","fullAddress":"string","addressNotValidOverride":true,"countryCode":"string","country":"string","domicile":"string","municipalCode":"string","vatNumber":"string","companyType":"string","glnNumber":"string","naceCode":"string","eInvoiceReceiverId":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","telefax":"string","email":"string","languageCode":"string","currencyCode":"string","preferredchannel":"string","underAged":true,"externPaymentTypeCode":"string","eInvoiceBankCode":"string","invoiceChannel":"string","directDebitReferenceNo":"string","directDebitBankaccount":"string","address":[{"addressType":"string","addressNotValid":"2019-08-24T14:15:22Z","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","stateCode":"string","zipCode":"string","fullAddress":"string","addressNotValidOverride":true,"countryCode":"string","country":"string","defaultAddress":true}],"extraFields":[{"name":"string","value":["string"]}],"directDebitMandate":{"mandateGuid":"string","directDebitMandateType":0,"referenceNo":"string","bankAccountNo":"string","requestedAt":"2019-08-24T14:15:22Z","approvedAt":"2019-08-24T14:15:22Z","signedDate":"2019-08-24T14:15:22Z","validfrom":"2019-08-24T14:15:22Z","validuntil":"2019-08-24T14:15:22Z","closedAt":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]},"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z"},"debts":[{"debtPrincipalType":0,"description":"string","invoiceNumber":"string","originalReferenceNumber":"string","paymentReference":"string","ledgerReference":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"paidInterest":0.1,"originalVat":0.1,"remainingVat":0.1,"rounding":0.1,"systemrounding":0.1,"currencyCode":"string","exchangeRate":0.1,"orderDate":"2019-08-24T14:15:22Z","invoiceDate":"2019-08-24T14:15:22Z","documentDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","ourOrder":"string","yourOrder":"string","seller":"string","goodsMark":"string","deliveryMethod":"string","deliveryCondition":"string","deliveryDate":"2019-08-24T14:15:22Z","deliveryNoteId":"string","creditCardTransactionId":"string","message":"string","paymentCondition":0,"interestCondition":0,"store":"string","receiptNumber":"string","cashRegisterNumber":"string","interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","ourReference":"string","yourReference":"string","periodoflimitation":0,"limitationDate":"2019-08-24T14:15:22Z","receiverFullName":"string","receiverStreet":"string","receiverHouseNo":"string","receiverHouseNoExtension":"string","receiverCity":"string","receiverStateCode":"string","receiverZipCode":"string","receiverCountryCode":"string","receiverFullAddress":"string","deliveryFullName":"string","deliveryStreet":"string","deliveryHouseNo":"string","deliveryHouseNoExtension":"string","deliveryCity":"string","deliveryStateCode":"string","deliveryZipCode":"string","deliveryCountryCode":"string","deliveryFullAddress":"string","vendorReferenceCode":"string","debtRows":[{"summaryOnly":true,"textOnly":true,"rowReference":"string","itemReference":"string","debtFeeCode":"string","description":"string","callNumber":"string","callLength":0,"eanCode":"string","orderCount":0,"itemCount":0.1,"remainingCount":0,"unitTypeId":0,"itemNetAmount":0.1,"itemSystemNetAmount":0.1,"discount":0.1,"rowPrincipalAmount":0.1,"systemRowPrincipalAmount":0.1,"includingVAT":true,"vatAmount":0.1,"systemVatAmount":0.1,"vatCode":"string","accountChartCode":"string","vatAccountChartCode":"string","accountDim1":"string","accountDim2":"string","accountDim3":"string","accountDim4":"string","accountDim5":"string","accountDim6":"string","accountDim7":"string","accountDim8":"string","extraFields":[{"name":"string","value":["string"]}]}],"extraFields":[{"name":"string","value":["string"]}],"debtGroup":"string","interestSpecificCalculationType":"string"}],"fees":[{"name":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","principalAmount":0.1,"vatAmount":0.1,"interestAmount":0.1,"paidInterest":0.1,"exchangeRate":0.1,"currencyCode":"string","interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","importedFee":true}],"registrationDate":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_GetInvoice"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/FinancialDetails":{"get":{"tags":["Invoices"],"summary":"Get invoice financial details.","operationId":"Invoices_GetFinancialDetails","parameters":[{"name":"invoiceGuid","in":"path","description":"The GUID representing the invoice.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_GetFinancialDetails"},"example":{"financialInterestInformation":{"financeStatus":"string","financeStatusDescription":"string","calculateFrom":"string","calculateFromDescription":"string","calculateTo":"string","calculateToDescription":"string","feeInsertTrigger":"string","feeInsertTriggerDescription":"string","interestRate":0.1,"interestCode":"string","interestCodeDescription":"string"},"purchaseInformation":{"purchaseAmount":0.1,"advanceAmount":0.1,"blockedAmount":0.1,"depositAmount":0.1,"recoursedAmount":0.1,"recourseDate":"2019-08-24T14:15:22Z","recoursedDate":"2019-08-24T14:15:22Z"},"creditorFeeInformation":[{"typeCode":"string","description":"string","amount":0.1,"text":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_GetFinancialDetails"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}":{"patch":{"tags":["Invoices"],"summary":"Updates an invoice","operationId":"Invoices_UpdateInvoice","parameters":[{"name":"invoiceGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PatchInvoice"},"example":{"dueDate":"2019-08-24","paymentCondition":"string","paymentReference":"string","receiverReference":"string","ourOrder":"string","yourOrder":"string","ourReference":"string","yourReference":"string","seller":"string","handlingCode":"string","goodsMark":"string","preferredChannelId":0,"denyConversion":true,"paymentCode":"string","printCode":"string","formCode":"string","interestCapitalizationInterval":0,"priceList":"string","debtGroup":"string","receiverHomePhone":"string","receiverWorkPhone":"string","receiverCellularPhone":"string","receiverTelefax":"string","receiverEmail":"string","reminderDate":"2019-08-24","collectionDate":"2019-08-24"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PatchInvoice"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PatchInvoice"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PatchInvoice"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PatchInvoice"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PatchInvoice"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/ExtraFields":{"get":{"tags":["Invoices"],"summary":"Get invoice extra fields using filters","operationId":"Invoices_GetInvoiceExtraFields","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_GetExtraFields"},"example":{"count":0,"skip":0,"total":0,"value":[{"name":"string","value":["string"]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_GetExtraFields"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"put":{"tags":["Invoices"],"summary":"Creates a new invoice extra field","operationId":"Invoices_CreateInvoiceExtraField","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Extra field value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/ExtraFields/{name}":{"get":{"tags":["Invoices"],"summary":"Get invoice extra field details based on the unique GUID and extra field name","operationId":"Invoices_GetCustomerExtraField","parameters":[{"name":"invoiceGuid","in":"path","description":"The unique GUID of the invoice","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"The name of the extra field","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"patch":{"tags":["Invoices"],"summary":"Updates an invoiceextra field","operationId":"Invoices_UpdateCustomerExtraField","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"Extrafield name","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Extrafield value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValues"},"example":{"value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValues"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValues"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValues"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValues"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_ExtraFieldValues"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"delete":{"tags":["Invoices"],"summary":"Deletes an invoice extra field","operationId":"Invoices_DeleteInvoiceExtraField","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"Extrafield name","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/CreditInsurances":{"get":{"tags":["Invoices"],"summary":"Get invoice credit insurances using filters","operationId":"Invoices_GetCreditInsurances","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_GetCreditInsurances"},"example":{"count":0,"skip":0,"total":0,"value":[{"insuranceGuid":"string","insuranceDate":"2019-08-24T14:15:22Z","insuranceCompanyName":"string","insuranceCompanyNumber":"string","insuranceCompanyCustomerNumber":"string","note":"string","endDate":"2019-08-24T14:15:22Z","currencyCode":"string","amount":0.1,"extraLimitAmount":0.1,"extraLimitEndDate":"2019-08-24T14:15:22Z","paymentTerm":0,"graceDays":0,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_GetCreditInsurances"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"put":{"tags":["Invoices"],"summary":"Creates a new credit insurance for the invoice","operationId":"Invoices_CreateInvoiceCreditInsurance","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Credit insurance information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutCreditInsurance"},"example":{"insuranceCompanyReferenceCode":"string","insuranceCompanyNumber":"string","insuranceCompanyCustomerNumber":"string","note":"string","endDate":"2019-08-24T14:15:22Z","currencyCode":"string","amount":0.1,"extraLimitAmount":0.1,"extraLimitEndDate":"2019-08-24T14:15:22Z","paymentTerm":0,"graceDays":0}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutCreditInsurance"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PutCreditInsurance"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PutCreditInsurance"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PutCreditInsurance"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PutCreditInsurance"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CreditInsurance"},"example":{"insuranceGuid":"string","insuranceDate":"2019-08-24T14:15:22Z","insuranceCompanyName":"string","insuranceCompanyNumber":"string","insuranceCompanyCustomerNumber":"string","note":"string","endDate":"2019-08-24T14:15:22Z","currencyCode":"string","amount":0.1,"extraLimitAmount":0.1,"extraLimitEndDate":"2019-08-24T14:15:22Z","paymentTerm":0,"graceDays":0,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CreditInsurance"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/CreditInsurances/{insuranceGuid}":{"get":{"tags":["Invoices"],"summary":"Get invoice credit insurance details based on the unique GUID for invoice and credit insurance","operationId":"Invoices_GetCreditInsurance","parameters":[{"name":"invoiceGuid","in":"path","description":"The unique GUID of the invoice","required":true,"schema":{"type":"string"}},{"name":"insuranceGuid","in":"path","description":"The unique GUID of the credit insurance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CreditInsurance"},"example":{"insuranceGuid":"string","insuranceDate":"2019-08-24T14:15:22Z","insuranceCompanyName":"string","insuranceCompanyNumber":"string","insuranceCompanyCustomerNumber":"string","note":"string","endDate":"2019-08-24T14:15:22Z","currencyCode":"string","amount":0.1,"extraLimitAmount":0.1,"extraLimitEndDate":"2019-08-24T14:15:22Z","paymentTerm":0,"graceDays":0,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CreditInsurance"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"patch":{"tags":["Invoices"],"summary":"Updates an invoice credit insurance","operationId":"Invoices_UpdateInvoiceCreditInsurance","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"insuranceGuid","in":"path","description":"Credit insurance GUID","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"New credit insurance information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PatchCreditInsurance"},"example":{"insuranceCompanyNumber":"string","insuranceCompanyCustomerNumber":"string","note":"string","endDate":"2019-08-24T14:15:22Z","currencyCode":"string","amount":0.1,"extraLimitAmount":0.1,"extraLimitEndDate":"2019-08-24T14:15:22Z","paymentTerm":0,"graceDays":0}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PatchCreditInsurance"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PatchCreditInsurance"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PatchCreditInsurance"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PatchCreditInsurance"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PatchCreditInsurance"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"delete":{"tags":["Invoices"],"summary":"Deletes an invoice credit insurance","operationId":"Invoices_DeleteInvoiceCreditInsurance","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"insuranceGuid","in":"path","description":"Credit insurance GUID","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Documents":{"get":{"tags":["Invoices"],"summary":"Get invoice documents using filters","operationId":"Invoices_GetDocuments","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_GetDocuments"},"example":{"count":0,"skip":0,"total":0,"value":[{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","important":true,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_GetDocuments"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"put":{"tags":["Invoices"],"summary":"Adds a document to the invoice","operationId":"Invoices_CreateInvoiceDocument","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Document information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutDocument"},"example":{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","searchValue":"string","externalLink":"string","important":true,"fileDataBase64":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutDocument"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PutDocument"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PutDocument"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PutDocument"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PutDocument"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_DocumentFile"},"example":{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","important":true,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_DocumentFile"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Documents/{documentGuid}":{"get":{"tags":["Invoices"],"summary":"Get invoice document details based on the unique GUID for invoice and document","operationId":"Invoices_GetDocument","parameters":[{"name":"invoiceGuid","in":"path","description":"The unique GUID of the invoice","required":true,"schema":{"type":"string"}},{"name":"documentGuid","in":"path","description":"The unique GUID of the document","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_DocumentFile"},"example":{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","important":true,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_DocumentFile"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Transactions":{"get":{"tags":["Invoices"],"summary":"Get invoice transactions using filters","operationId":"Invoices_GetTransactions","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Transactions"},"example":{"count":0,"skip":0,"total":0,"summary":{"sum_Principal":0.1,"sum_Interest":0.1,"sum_Fee":0.1,"credit":0.1},"values":[{"loggedAt":"2019-08-24T14:15:22Z","description":"string","userCode":"string","credit":0.1,"archived":true,"sum_Principal":0.1,"sum_Interest":0.1,"sum_Fee":0.1,"sum_Total":0.1,"type":"string","id":0}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_Transactions"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"put":{"tags":["Invoices"],"summary":"Creates a new invoice transaction","operationId":"Invoices_PutTransactions","parameters":[{"name":"invoiceGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutTransaction"}},"example":[{"transactions":[{"transDate":"2019-08-24T14:15:22Z","amount":0.1,"currencyCode":"string","exchangeDate":"2019-08-24T14:15:22Z","exchangeRate":0.1,"transType":0,"transSpecType":0,"status":0,"paymentSource":"string","externalReference":"string","note":"string","externallyAccountedFor":true}]}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutTransaction"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutTransaction"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutTransaction"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutTransaction"}}},"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_PutTransaction"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutTransactionResult"},"example":{"import_Date":"2019-08-24T14:15:22Z","sum_Amount":0.1,"number_Of_Transactions":0}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_PutTransactionResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"delete":{"tags":["Invoices"],"summary":"Reverse an invoice transaction","operationId":"Invoices_DeleteTransactions","parameters":[{"name":"invoiceGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_DeleteTransaction"}},"example":[{"transactions":[{"transLogId":0}]}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_DeleteTransaction"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_DeleteTransaction"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_DeleteTransaction"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_DeleteTransaction"}}},"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invoices_DeleteTransaction"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_DeleteTransactionResult"},"example":{"revertedDate":"2019-08-24T14:15:22Z","transactionsReverted":0}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_DeleteTransactionResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Payments":{"put":{"tags":["Invoices"],"summary":"Register a direct payment on the invoice","operationId":"Invoices_PutPayment","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Payment information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutPaymentOnInvoice"},"example":{"paymentReference":"string","paymentDate":"2019-08-24T14:15:22Z","accountingDate":"2019-08-24T14:15:22Z","paymentAmount":0.1,"currencyCode":"string","receivedAmount":0.1,"exchangeDate":"2019-08-24T14:15:22Z","source":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PutPaymentOnInvoice"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PutPaymentOnInvoice"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PutPaymentOnInvoice"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PutPaymentOnInvoice"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PutPaymentOnInvoice"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_InvoicePayment"},"example":{"paymentGuid":"string","paymentReference":"string","paymentDate":"2019-08-24T14:15:22Z","accountingDate":"2019-08-24T14:15:22Z","paymentAmount":0.1,"currencyCode":"string","receivedAmount":0.1,"exchangeDate":"2019-08-24T14:15:22Z","source":"string"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_InvoicePayment"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Dispute":{"post":{"tags":["Invoices"],"summary":"Disputes an invoice","operationId":"Invoices_DisputeInvoice","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Dispute information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Dispute"},"example":{"reason":"string","disputedAt":"2019-08-24T14:15:22Z","isDisputed":true}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_Dispute"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_Dispute"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_Dispute"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_Dispute"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_Dispute"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Deprecate":{"post":{"tags":["Invoices"],"summary":"Deprecate an invoice","operationId":"Invoices_DeprecateInvoice","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Deprecate information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Deprecate"},"example":{"deprecationLevel":"Reservation","deprecatedAt":"2019-08-24T14:15:22Z","note":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_Deprecate"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_Deprecate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_Deprecate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_Deprecate"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_Deprecate"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Close":{"post":{"tags":["Invoices"],"summary":"Close an invoice","operationId":"Invoices_CloseInvoice","parameters":[{"name":"invoiceGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Closure information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Closure"},"example":{"closureCode":"string","note":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_Closure"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_Closure"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_Closure"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_Closure"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_Closure"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/OnHold":{"get":{"tags":["Invoices"],"summary":"Get invoice on-hold status","operationId":"Invoices_GetInvoiceOnHold","parameters":[{"name":"initialValues","in":"query","description":"Initial values","schema":{"type":"boolean"}},{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"},"example":{"values":{"stopCollection":0,"stopCollectionExpire":"2019-08-24T14:15:22Z","stopCollectionReason":"string","interestInvoiceStop":0,"interestInvoiceStopExpire":"2019-08-24T14:15:22Z","interestInvoiceStopReason":"string"},"options":{}}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"patch":{"tags":["Invoices"],"summary":"Set invoice on-hold status","operationId":"Invoices_PostInvoiceOnHold","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"On-hold status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"},"example":{"values":{"stopCollection":0,"stopCollectionExpire":"2019-08-24T14:15:22Z","stopCollectionReason":"string","interestInvoiceStop":0,"interestInvoiceStopExpire":"2019-08-24T14:15:22Z","interestInvoiceStopReason":"string"},"options":{}}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_OnHold"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/PostponeDueDate":{"post":{"tags":["Invoices"],"summary":"Postpone invoice due date","operationId":"Invoices_PostPoneDueDate","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"New due date","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostponeDueDate"},"example":{"newDueDate":"2019-08-24T14:15:22Z"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostponeDueDate"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PostponeDueDate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PostponeDueDate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PostponeDueDate"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PostponeDueDate"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Purchase":{"get":{"tags":["Invoices"],"summary":"Get invoice purchase status","operationId":"Invoices_GetPurchaseInvoice","parameters":[{"name":"initialValues","in":"query","description":"Initial values","schema":{"type":"boolean"}},{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Purchase"},"example":{"values":{"purchaseFeeAmount":0.1,"purchaseFeeCurrency":"string","purchaseFeePercentage":0.1,"invoiceItemId":0,"approved":true,"recourseDays":0,"depositAmount":0.1,"note":"string","currencycode":"string","remainingprincipal":0.1,"remainingfee":0.1,"remainingtotalamount":0.1,"registrationdate":"2019-08-24T14:15:22Z","applications":0,"applicationsum":0.1,"sumgovernmentcases":0.1,"sumprivatecases":0.1,"creditlimit":0.1,"assessedsalary":0.1,"mortgagesumcompany":0.1,"mortgagesumbankrupt":0.1,"usernote":"string"},"options":{}}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_Purchase"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"post":{"tags":["Invoices"],"summary":"Purchases an invoice","operationId":"Invoices_PostPurchaseInvoice","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Purchase information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostPurchase"},"example":{"purchaseFeeAmount":0.1,"purchaseFeeCurrency":"string","purchaseFeePercentage":0.1,"invoiceItemId":0,"approved":true,"recourseDays":0,"depositAmount":0.1,"note":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostPurchase"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PostPurchase"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PostPurchase"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PostPurchase"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PostPurchase"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/Recourse":{"get":{"tags":["Invoices"],"summary":"Get invoice recourse","operationId":"Invoices_GetRecourseInvoice","parameters":[{"name":"initialValues","in":"query","description":"Initial values","schema":{"type":"boolean"}},{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_Recourse"},"example":{"values":{"reason":"string","recourseFee":0.1,"recourseFeeCurrency":"string","virt_reimburseamount":0.1,"virt_reimburseamountcurrency":"string","virt_recoursedate":"2019-08-24T14:15:22Z"},"options":{}}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_Recourse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"},"post":{"tags":["Invoices"],"summary":"Recourses a purchased invoice","operationId":"Invoices_PostRecourseInvoice","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Recourse information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostRecourse"},"example":{"reason":"string","recourseFee":0.1,"recourseFeeCurrency":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostRecourse"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PostRecourse"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PostRecourse"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PostRecourse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PostRecourse"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/ApplyCreditInvoice":{"post":{"tags":["Invoices"],"summary":"Applies a credit invoice","operationId":"Invoices_PostApplyCreditInvoice","parameters":[{"name":"invoiceGuid","in":"path","description":"Credit invoice guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Information about how credit invoice should be applied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostApplyCreditInvoice"},"example":{"creditInvoiceGuid":"string","deductionOrder":"string","placements":[{"invoiceGuid":"string","amount":0.1}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Invoices_PostApplyCreditInvoice"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Invoices_PostApplyCreditInvoice"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoices_PostApplyCreditInvoice"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoices_PostApplyCreditInvoice"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Invoices_PostApplyCreditInvoice"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/Summary/Charts/{serviceDefinition}":{"get":{"tags":["Invoices"],"summary":"Get chart based on a service definition.","operationId":"Invoices_GetSummaryChart","parameters":[{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"Guid","in":"query","description":"A guid that is served to a service definition","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_SummaryChart"},"example":{"systemCurrency":"string","totalAmount":0.1,"lastUpdatedAt":"2019-08-24T14:15:22Z","charts":[{"name":"string","chartType":"string","showLegend":true,"showTooltip":true,"showTitle":true,"horizontalAlignment":true,"tooltipTemplate":"string","legendPosition":0,"titlePosition":0,"barChartSeries":[{"data":[0.1],"category":"string"}],"pieChartSeries":[{"value":0.1,"category":"string"}],"lineChartSeries":[{"data":[{"value":0.1,"category":"string"}],"category":"string"}],"donutChartSeries":[{"value":0.1,"category":"string","count":0}]}],"distributions":[{"type":"string","groups":[{"groupName":"string","currencyCode":"string","distributions":[{"category":"string","value":0.1,"currencyCode":"string","lastUpdatedAt":"2019-08-24T14:15:22Z"}]}]}],"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_SummaryChart"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/{invoiceGuid}/CustomAction/{serviceDefinition}":{"post":{"tags":["Invoices"],"summary":"Invokes a custom action based on a service definition.","description":"Execute custom service definition in CLVR with possibility to pass in JSON into definition.","operationId":"Invoices_InvoiceCustomAction","parameters":[{"name":"invoiceGuid","in":"path","description":"Invoice unique id","required":true,"schema":{"type":"string"}},{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"async","in":"query","description":"Specify if custom action should be performed asynchronously","schema":{"type":"boolean"}}],"requestBody":{"description":"JSON body","content":{"application/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/*+json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"multipart/form-data":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/x-www-form-urlencoded":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/plain":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/CustomAction/{serviceDefinition}":{"post":{"tags":["Invoices"],"summary":"Invokes a custom action based on a service definition.","description":"Execute custom service definition in CLVR with possibility to pass in JSON into definition.","operationId":"Invoices_CustomAction","parameters":[{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"async","in":"query","description":"Specify if custom action should be performed asynchronously","schema":{"type":"boolean"}}],"requestBody":{"description":"JSON body","content":{"application/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/*+json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"multipart/form-data":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/x-www-form-urlencoded":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/plain":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_CustomJson"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Invoices/Ping":{"get":{"tags":["Invoices"],"summary":"Make a ping request to see that the service is up and running.","description":"This operation enables to check if service is available. The service will\r\nreturn code 200 and an empty json object.","operationId":"Invoices_Ping","responses":{"200":{"description":"Ping performed OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_PingResponse"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_PingResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Invoices_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/invoices/index.html"}},"/v1/Cases":{"get":{"tags":["Cases"],"summary":"Get cases using filters","operationId":"Cases_GetCases","parameters":[{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_Cases"},"example":{"count":0,"skip":0,"total":0,"value":[{"caseGuid":"string","caseNumber":"string","clientReferenceNumber":"string","clientName":"string","registrationDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"originalFee":0.1,"originalInterest":0.1,"originalSum":0.1,"paidPrincipal":0.1,"paidFee":0.1,"paidInterest":0.1,"paidToThirdParty":0.1,"paidSum":0.1,"remainingPrincipal":0.1,"remainingFee":0.1,"remainingInterest":0.1,"remainingSum":0.1,"service":"string","status":"string","subStatus":"string","closureCode":"string","closureDate":"2019-08-24T14:15:22Z","mainDebtorName":"string","juridicalType":0,"placeOfBirth":"string","birthDate":"2019-08-24T14:15:22Z","naceCode":"string","workPhone":"string","cellularPhone":"string","email":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_Cases"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"put":{"tags":["Cases"],"summary":"Creates new cases","operationId":"Cases_CreateCase","parameters":[{"name":"async","in":"query","description":"Specify if the import should be performed asynchronously, default is true","schema":{"type":"boolean"}}],"requestBody":{"description":"Array of one or more cases","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_PutCase"}},"example":[{"caseNumber":"string","clientReferenceNumber":"string","clientGuid":"string","currencyCode":"string","receivedFrom":"string","referenceNumber":"string","deliverySystemCode":"string","description":"string","paymentReferenceNumber":"string","originalClaimantName":"string","service":"string","claimType":"string","legalClaimType":"string","protected":true,"stopPayments":true,"prohibitTrustAccounting":true,"reportPaidInterest":true,"reportPaidInterestFrom":"2019-08-24T14:15:22Z","feeBasePrincipalAmount":0.1,"highCostCredit":true,"highCostCreditAmount":0.1,"highCostCreditUsedAmount":0.1,"creditRegistryStatus":0,"creditRegistrySubmissionDate":"2019-08-24T14:15:22Z","debtors":[{"idNumber":"string","juridicalType":0,"debtorRole":"string","placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","underAged":true,"protected":true,"cultureCode":"string","companyname":"string","firstname":"string","middlename":"string","lastname":"string","initials":"string","nameSuffix":"string","careOf":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","domicile":"string","municipalCode":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","telefax":"string","emails":["string"],"languageCode":"string","currencyCode":"string","creditorDebtorRef":"string","companyType":"string","digitalMailbox":true,"allowCalls":true,"allowSms":true,"allowEmail":true,"extraFields":[{"name":"string","value":["string"]}]}],"debts":[{"description":"string","referenceNumber":"string","ledgerRef":"string","debtGroup":"string","ourReference":"string","yourReference":"string","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"originalVAT":0.1,"remainingVAT":0.1,"exchRate":0.1,"exchDate":"2019-08-24T14:15:22Z","billDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","paymentCondition":0,"interestCondition":0,"interestRate":0.1,"interestCode":"string","interestSpecificCalculationType":"string","interestSpecificCalculationCutoffDate":"2019-08-24T14:15:22Z","fixedInterestTermStart":"2019-08-24T14:15:22Z","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","accountRefType":"string","oneTimeServiceFees":0.1,"loanPurpose":"string","loanTypeCode":"string","agreementDate":"2019-08-24T14:15:22Z","agreementDueDate":"2019-08-24T14:15:22Z","agreementEndDate":"2019-08-24T14:15:22Z","enforceableDebtType":"string","goodsRelatedCredit":true,"effectiveYear":0,"debtPrincipalType":"string","grantedCreditAmount":0.1,"usedCreditAmount":0.1,"originalEir":0.1,"lenderName":"string","periodOfLimitation":"string","limitationDate":"2019-08-24T14:15:22Z","extraFields":[{"name":"string","value":["string"]}],"interestRateCeilingCode":"string","agreedInterestCode":"string","agreedInterestRate":0.1}],"fees":[{"name":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z"}],"claimant":{"referenceCode":"string","idNumber":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","countryCode":"string"},"energyDebt":{"installationId":"string","netOwnerReferenceCode":"string","hasMoved":true,"facilityStreet":"string","facilityHouseNo":"string","facilityHouseNoExtension":"string","facilityCity":"string","facilityZipCode":"string","servedAt":"2019-08-24T14:15:22Z","disconnect":true,"disconnected":true,"disconnectAt":true,"disconnectionWeek":0,"disconnectionYear":0},"relations":[{"partyGuid":"string"}],"actionDates":[{"actionType":"string","actionGroup":"string","actionDate":"2019-08-24T14:15:22Z"}],"extraFields":[{"name":"string","value":["string"]}]}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_PutCase"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_PutCase"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_PutCase"}}},"application/x-www-form-urlencoded":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_PutCase"}}},"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_PutCase"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseResult"},"example":{"caseGuids":["string"],"impStockId":0}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{guid}":{"get":{"tags":["Cases"],"summary":"Get case details.","operationId":"Cases_GetCase","parameters":[{"name":"guid","in":"path","description":"The GUID representing the case.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_GetCase"},"example":{"caseNumber":"string","clientName":"string","clientReferenceNumber":"string","closureCode":"string","closureDate":"2019-08-24T14:15:22Z","currencyCode":"string","description":"string","originalFee":0.1,"originalInterest":0.1,"originalPrincipal":0.1,"originalSum":0.1,"paidFee":0.1,"paidInterest":0.1,"paidPrincipal":0.1,"paidSum":0.1,"paidToThirdParty":0.1,"paymentReferenceNumber":"string","remainingFee":0.1,"remainingInterest":0.1,"remainingPrincipal":0.1,"remainingSum":0.1,"service":"string","status":"string","subStatus":"string","registrationDate":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_GetCase"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}":{"patch":{"tags":["Cases"],"summary":"Updates a case","operationId":"Cases_UpdateCase","parameters":[{"name":"caseGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCase"},"example":{"description":"string","paymentReferenceNumber":"string","protected":true,"prohibitTrustAccounting":true,"stopPayments":true,"service":"string","status":"string","subStatus":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCase"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCase"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PatchCase"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PatchCase"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PatchCase"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"delete":{"tags":["Cases"],"summary":"Deletes a case","operationId":"Cases_DeleteCase","parameters":[{"name":"caseGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"405":{"description":"Method Not Allowed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Debts":{"get":{"tags":["Cases"],"summary":"Get case debts using filters","operationId":"Cases_GetCaseDebts","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CaseDebts"},"example":{"count":0,"skip":0,"total":0,"value":[{"debtGuid":"string","description":"string","referenceNumber":"string","billDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","debtPrincipalType":"string","currencyCode":"string","originalPrincipal":0.1,"originalVAT":0.1,"originalInterest":0.1,"originalSum":0.1,"paidPrincipal":0.1,"paidVAT":0.1,"paidInterest":0.1,"paidSum":0.1,"remainingPrincipal":0.1,"remainingVAT":0.1,"remainingInterest":0.1,"remainingSum":0.1,"ledgerPrincipal":0.1,"ledgerVAT":0.1,"ledgerInterest":0.1,"ledgerSum":0.1,"interestRateCeilingCode":"string","agreedInterestCode":"string","agreedInterestRate":0.1,"interestSpecificCalculationType":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CaseDebts"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"put":{"tags":["Cases"],"summary":"Adds a new debt to the case","operationId":"Cases_CreateCaseDebt","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Debt object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"},"example":{"description":"string","referenceNumber":"string","ledgerRef":"string","debtGroup":"string","ourReference":"string","yourReference":"string","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"originalVAT":0.1,"remainingVAT":0.1,"exchRate":0.1,"exchDate":"2019-08-24T14:15:22Z","billDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","paymentCondition":0,"interestCondition":0,"interestRate":0.1,"interestCode":"string","interestSpecificCalculationType":"string","interestSpecificCalculationCutoffDate":"2019-08-24T14:15:22Z","fixedInterestTermStart":"2019-08-24T14:15:22Z","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","accountRefType":"string","oneTimeServiceFees":0.1,"loanPurpose":"string","loanTypeCode":"string","agreementDate":"2019-08-24T14:15:22Z","agreementDueDate":"2019-08-24T14:15:22Z","agreementEndDate":"2019-08-24T14:15:22Z","enforceableDebtType":"string","goodsRelatedCredit":true,"effectiveYear":0,"debtPrincipalType":"string","grantedCreditAmount":0.1,"usedCreditAmount":0.1,"originalEir":0.1,"lenderName":"string","periodOfLimitation":"string","limitationDate":"2019-08-24T14:15:22Z","extraFields":[{"name":"string","value":["string"]}],"interestRateCeilingCode":"string","agreedInterestCode":"string","agreedInterestRate":0.1}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"},"example":{"description":"string","referenceNumber":"string","ledgerRef":"string","debtGroup":"string","ourReference":"string","yourReference":"string","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"originalVAT":0.1,"remainingVAT":0.1,"exchRate":0.1,"exchDate":"2019-08-24T14:15:22Z","billDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","paymentCondition":0,"interestCondition":0,"interestRate":0.1,"interestCode":"string","interestSpecificCalculationType":"string","interestSpecificCalculationCutoffDate":"2019-08-24T14:15:22Z","fixedInterestTermStart":"2019-08-24T14:15:22Z","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","accountRefType":"string","oneTimeServiceFees":0.1,"loanPurpose":"string","loanTypeCode":"string","agreementDate":"2019-08-24T14:15:22Z","agreementDueDate":"2019-08-24T14:15:22Z","agreementEndDate":"2019-08-24T14:15:22Z","enforceableDebtType":"string","goodsRelatedCredit":true,"effectiveYear":0,"debtPrincipalType":"string","grantedCreditAmount":0.1,"usedCreditAmount":0.1,"originalEir":0.1,"lenderName":"string","periodOfLimitation":"string","limitationDate":"2019-08-24T14:15:22Z","extraFields":[{"name":"string","value":["string"]}],"interestRateCeilingCode":"string","agreedInterestCode":"string","agreedInterestRate":0.1}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseDebt"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Debts/{debtGuid}":{"get":{"tags":["Cases"],"summary":"Get case debt details based on the case Guid and the debt Guid","operationId":"Cases_GetCaseDebt","parameters":[{"name":"caseGuid","in":"path","description":"The unique GUID of the case","required":true,"schema":{"type":"string"}},{"name":"debtGuid","in":"path","description":"The unique GUID of the debt","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_GetCaseDebt"},"example":{"debtGuid":"string","registrationDate":"2019-08-24T14:15:22Z","debtGroup":"string","debtPrincipalType":"string","description":"string","accountRef":"string","oldAccountRef":"string","ledgerRef":"string","objectRef":"string","originalPaymentReference":"string","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"originalVAT":0.1,"remainingVAT":0.1,"exchRate":0.1,"exchDate":"2019-08-24T14:15:22Z","vatRate":0.1,"vatCode":"string","interestRate":0.1,"interestCode":"string","calcRate":0.1,"interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z","fixedInterestTermStart":"2019-08-24T14:15:22Z","interestStop":"2019-08-24T14:15:22Z","interestSpecificCalculationType":"string","interestSpecificCalculationCutoffDate":"2019-08-24T14:15:22Z","accountRefType":"string","agreementDate":"2019-08-24T14:15:22Z","agreementDueDate":"2019-08-24T14:15:22Z","agreementEndDate":"2019-08-24T14:15:22Z","originalEir":0.1,"interestRateCeilingCode":"string","head":{"referenceNumber":"string","orderDate":"2019-08-24T14:15:22Z","billDate":"2019-08-24T14:15:22Z","documentDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","accountingDate":"2019-08-24T14:15:22Z","paymentCondition":0,"disputed":true,"disputeDate":"2019-08-24T14:15:22Z","disputeReason":"string","disputeRebutted":true,"ourOrder":"string","yourOrder":"string","ourReference":"string","yourReference":"string","handlingCode":"string","originalDebtRef":"string","invoiceType":"string","goodsMark":"string","deliveryMethod":"string","deliveryCondition":"string","deliveryDate":"2019-08-24T14:15:22Z","deliveryNote":"string","creditCardTransactionId":"string","seller":"string","receiptNumber":"string","cashRegisterNumber":"string","originalDueDate":"2019-08-24T14:15:22Z","accountRefType":"string","oneTimeServiceFees":0.1,"loanPurpose":"string","loanTypeCode":"string","enforceableDebtType":"string","goodsRelatedCredit":true,"effectiveYear":0,"grantedCreditAmount":0.1,"usedCreditAmount":0.1,"lenderName":"string","receiver":{"fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string"},"delivery":{"fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string"},"agreedInterestCode":"string","agreedInterestRate":0.1},"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_GetCaseDebt"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"patch":{"tags":["Cases"],"summary":"Updates a debt","operationId":"Cases_UpdateCaseDebt","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"debtGuid","in":"path","description":"Debt guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Updated debt fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseDebt"},"example":{"description":"string","referenceNumber":"string","debtGroup":"string","ourReference":"string","yourReference":"string","dueDate":"2019-08-24T14:15:22Z","paymentCondition":0,"accountRefType":"string","accountRef":"string","oneTimeServiceFees":0.1,"loanPurpose":"string","loanTypeCode":"string","agreementDate":"2019-08-24T14:15:22Z","agreementDueDate":"2019-08-24T14:15:22Z","agreementEndDate":"2019-08-24T14:15:22Z","enforceableDebtType":"string","goodsRelatedCredit":true,"effectiveYear":0,"debtPrincipalType":"string","grantedCreditAmount":0.1,"usedCreditAmount":0.1,"originalEir":0.1,"lenderName":"string","interestRateCeilingCode":"string","agreedInterestCode":"string","agreedInterestRate":0.1,"interestSpecificCalculationType":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseDebt"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseDebt"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseDebt"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseDebt"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseDebt"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"delete":{"tags":["Cases"],"summary":"Deletes a debt from the case","operationId":"Cases_DeleteCaseDebt","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"debtGuid","in":"path","description":"Debt guid","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Fees":{"get":{"tags":["Cases"],"summary":"Get case fees using filters","operationId":"Cases_GetCaseFees","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CaseFees"},"example":{"count":0,"skip":0,"total":0,"value":[{"feeGuid":"string","name":"string","feeType":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"originalVAT":0.1,"originalInterest":0.1,"originalSum":0.1,"paidPrincipal":0.1,"paidVAT":0.1,"paidInterest":0.1,"paidSum":0.1,"remainingPrincipal":0.1,"remainingVAT":0.1,"remainingInterest":0.1,"remainingSum":0.1,"ledgerPrincipal":0.1,"ledgerVAT":0.1,"ledgerInterest":0.1,"ledgerSum":0.1}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CaseFees"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"put":{"tags":["Cases"],"summary":"Adds a new fee to the case","operationId":"Cases_CreateCaseFee","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Fee object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"},"example":{"name":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"},"example":{"name":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_PutCaseFee"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Fees/{feeGuid}":{"get":{"tags":["Cases"],"summary":"Get case fee details based on the case Guid and the fee Guid","operationId":"Cases_GetCaseFee","parameters":[{"name":"caseGuid","in":"path","description":"The unique GUID of the case","required":true,"schema":{"type":"string"}},{"name":"feeGuid","in":"path","description":"The unique GUID of the fee","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_GetCaseFee"},"example":{"name":"string","description":"string","feeDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"remainingPrincipal":0.1,"originalInterest":0.1,"remainingInterest":0.1,"originalVAT":0.1,"remainingVAT":0.1,"interestRate":0.1,"interestCode":"string","interestFrom":"2019-08-24T14:15:22Z","interestTo":"2019-08-24T14:15:22Z"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_GetCaseFee"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"patch":{"tags":["Cases"],"summary":"Updates a debt","operationId":"Cases_UpdateCaseFee","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"feeGuid","in":"path","description":"Fee guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Updated fee fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseFee"},"example":{"description":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseFee"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseFee"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseFee"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseFee"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PatchCaseFee"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"delete":{"tags":["Cases"],"summary":"Deletes a fee from the case","operationId":"Cases_DeleteCaseFee","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"feeGuid","in":"path","description":"Fee guid","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Payments":{"put":{"tags":["Cases"],"summary":"Register a direct payment on the case","operationId":"Cases_PutPayment","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Payment information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutPaymentOnCase"},"example":{"paymentReference":"string","paymentDate":"2019-08-24T14:15:22Z","accountingDate":"2019-08-24T14:15:22Z","paymentAmount":0.1,"currencyCode":"string","receivedAmount":0.1,"exchangeDate":"2019-08-24T14:15:22Z","source":"string","specification":[{"invoiceReference":"string","principalAmount":0.1,"interestAmount":0.1}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PutPaymentOnCase"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PutPaymentOnCase"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PutPaymentOnCase"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PutPaymentOnCase"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PutPaymentOnCase"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CasePayment"},"example":{"paymentGuid":"string","paymentReference":"string","paymentDate":"2019-08-24T14:15:22Z","accountingDate":"2019-08-24T14:15:22Z","paymentAmount":0.1,"currencyCode":"string","receivedAmount":0.1,"exchangeDate":"2019-08-24T14:15:22Z","source":"string"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CasePayment"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Close":{"post":{"tags":["Cases"],"summary":"Close a case using the specified closure code.","operationId":"Cases_CloseCase","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Case closure information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PostCaseClosure"},"example":{"closureCode":"string","note":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PostCaseClosure"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PostCaseClosure"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PostCaseClosure"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PostCaseClosure"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PostCaseClosure"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/ExtraFields":{"get":{"tags":["Cases"],"summary":"Get case extra fields using filters","operationId":"Cases_GetCaseExtraFields","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_GetExtraFields"},"example":{"count":0,"skip":0,"total":0,"value":[{"name":"string","value":["string"]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_GetExtraFields"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"put":{"tags":["Cases"],"summary":"Creates a new case extra field","operationId":"Cases_CreateCaseExtraField","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Extra field value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/ExtraFields/{name}":{"get":{"tags":["Cases"],"summary":"Get case extra field details based on the unique GUID and extra field name","operationId":"Cases_GetCaseExtraField","parameters":[{"name":"caseGuid","in":"path","description":"The unique GUID of the case","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"The name of the extra field","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"patch":{"tags":["Cases"],"summary":"Updates a case extra field","operationId":"Cases_UpdateCaseExtraField","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"Extrafield name","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Extrafield value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"delete":{"tags":["Cases"],"summary":"Deletes a case extra field","operationId":"Cases_DeleteCaseExtraField","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"Extrafield name","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Documents":{"get":{"tags":["Cases"],"summary":"Get case documents using filters","operationId":"Cases_GetDocuments","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_GetDocuments"},"example":{"count":0,"skip":0,"total":0,"value":[{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","important":true,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_GetDocuments"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"},"put":{"tags":["Cases"],"summary":"Adds a document to the case","operationId":"Cases_CreateInvoiceDocument","parameters":[{"name":"caseGuid","in":"path","description":"Case guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Document information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PutDocument"},"example":{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","searchValue":"string","externalLink":"string","important":true,"fileDataBase64":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cases_PutDocument"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cases_PutDocument"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Cases_PutDocument"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Cases_PutDocument"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Cases_PutDocument"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_DocumentFile"},"example":{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","important":true,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_DocumentFile"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/Documents/{documentGuid}":{"get":{"tags":["Cases"],"summary":"Get case document details based on the unique GUID for case and document","operationId":"Cases_GetDocument","parameters":[{"name":"caseGuid","in":"path","description":"The unique GUID of the case","required":true,"schema":{"type":"string"}},{"name":"documentGuid","in":"path","description":"The unique GUID of the document","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_DocumentFile"},"example":{"note":"string","documentType":"string","loggedAt":"2019-08-24T14:15:22Z","originalFileName":"string","important":true,"links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_DocumentFile"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{guid}/DebtorSummary":{"get":{"tags":["Cases"],"summary":"Get case debtor summary.","operationId":"Cases_GetDebtorSummary","parameters":[{"name":"guid","in":"path","description":"The GUID representing the case.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_DebtorSummary"}},"example":[{"debtorRole":"string","fullName":"string","idNumber":"string","debtorGuid":"string","paymentReference":"string","bankAccountNo":"string","remainingPrincipal":0.1,"remainingInterest":0.1,"remainingFee":0.1,"remainingSum":0.1,"activeCases":0,"cases":[{"caseGuid":"string","caseNumber":"string","clientReferenceNumber":"string","clientName":"string","clientGuid":"string","debtorRole":"string","regDate":"2019-08-24T14:15:22Z","currencyCode":"string","remainingSum":0.1,"service":"string","status":"string","subStatus":"string"}]}]},"application/vnd.error+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cases_DebtorSummary"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/{caseGuid}/CustomAction/{serviceDefinition}":{"post":{"tags":["Cases"],"summary":"Invokes a custom action based on a service definition.","description":"Execute custom service definition in CLVR with possibility to pass in JSON into definition.","operationId":"Cases_CaseCustomAction","parameters":[{"name":"caseGuid","in":"path","description":"Case unique id","required":true,"schema":{"type":"string"}},{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"async","in":"query","description":"Specify if custom action should be performed asynchronously","schema":{"type":"boolean"}}],"requestBody":{"description":"JSON body","content":{"application/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/*+json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"multipart/form-data":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/x-www-form-urlencoded":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/plain":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/CustomAction/{serviceDefinition}":{"post":{"tags":["Cases"],"summary":"Invokes a custom action based on a service definition.","description":"Execute custom service definition in CLVR with possibility to pass in JSON into definition.","operationId":"Cases_CustomAction","parameters":[{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"async","in":"query","description":"Specify if custom action should be performed asynchronously","schema":{"type":"boolean"}}],"requestBody":{"description":"JSON body","content":{"application/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/*+json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"multipart/form-data":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/x-www-form-urlencoded":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/plain":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_CustomJson"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Cases/Ping":{"get":{"tags":["Cases"],"summary":"Make a ping request to see that the service is up and running.","description":"This operation enables to check if service is available. The service will\r\nreturn code 200 and an empty json object.","operationId":"Cases_Ping","responses":{"200":{"description":"Ping performed OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_PingResponse"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_PingResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Cases_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/cases/index.html"}},"/v1/Invoices/CustomAction/importcontract":{"put":{"tags":["Contracts"],"operationId":"Contracts_CreateContract","summary":"Create contract (draft)","description":"Endpoint and method supplied by Capway. Request schema is inferred from the example; field descriptions, requiredness, nullability and validation remain unconfirmed.","x-capway-review-status":"draft","requestBody":{"description":"Draft JSON structure inferred from the supplied example.","content":{"application/json":{"schema":{"type":"object","description":"Draft field description. Draft interpretation; confirm with Capway.","properties":{"contracts":{"type":"array","description":"Contracts included in this import request. Draft interpretation; confirm with Capway.","items":{"type":"object","description":"Contracts included in this import request. Draft interpretation; confirm with Capway.","properties":{"contract":{"type":"object","description":"Contract details for one imported record. Draft interpretation; confirm with Capway.","properties":{"creditorreferencecode":{"type":"string","description":"Creditor reference code. Use a code assigned to your integration. Draft interpretation; confirm with Capway."},"customerguid":{"type":"string","description":"Identifier of the customer associated with the contract. Draft interpretation; confirm with Capway."},"active":{"type":"boolean","description":"Indicates whether the contract is active. Draft interpretation; confirm with Capway."},"contractrefno":{"type":"string","description":"Contract reference number in the sending system. Draft interpretation; confirm with Capway."},"description":{"type":"string","description":"Description of the contract or invoice item. Draft interpretation; confirm with Capway."},"note":{"type":"string","description":"Additional note for the contract. Draft interpretation; confirm with Capway."},"contractdate":{"type":"string","description":"Date of the contract. Draft interpretation; confirm with Capway."},"startdate":{"type":"string","description":"Start date of the contract. Draft interpretation; confirm with Capway."},"nextinvoicedate":{"type":"string","description":"Next planned invoice date. Draft interpretation; confirm with Capway."},"enddate":{"type":"string","description":"End date of the contract. Draft interpretation; confirm with Capway."},"intervaldays":{"type":"integer","description":"Number of days used for the invoicing interval. Interaction with intervaltype is TBD. Draft interpretation; confirm with Capway."},"intervaltype":{"type":"string","description":"Interval calculation type. The supplied example uses physicaldays; other accepted values are TBD. Draft interpretation; confirm with Capway."},"paymentcondition":{"type":"integer","description":"Payment condition value. Whether this is a code or a number of days is TBD. Draft interpretation; confirm with Capway."},"invoiceitem":{"type":"array","description":"Invoice items included in the contract. Draft interpretation; confirm with Capway.","items":{"type":"object","description":"Invoice items included in the contract. Draft interpretation; confirm with Capway.","properties":{"permanentitem":{"type":"integer","description":"Integer flag for the item. Meaning of 0 and 1 and recurrence behavior are TBD. Draft interpretation; confirm with Capway."},"itemnumber":{"type":"string","description":"Item reference or number. Draft interpretation; confirm with Capway."},"unittype":{"type":"string","description":"Unit type for the item. The supplied example uses pcs; accepted values are TBD. Draft interpretation; confirm with Capway."},"description":{"type":"string","description":"Description of the contract or invoice item. Draft interpretation; confirm with Capway."},"amount":{"type":"number","description":"Amount for the item. Tax treatment and relationship to itemprincipal are TBD. Draft interpretation; confirm with Capway."},"vatcode":{"type":"string","description":"VAT code for the item. The supplied example uses SE25; accepted codes are TBD. Draft interpretation; confirm with Capway."},"remainingcount":{"type":"integer","description":"Remaining count for the item. Meaning of zero and counting rules are TBD. Draft interpretation; confirm with Capway."},"itemcount":{"type":"integer","description":"Quantity or count for the item. Calculation rules are TBD. Draft interpretation; confirm with Capway."},"itemprincipal":{"type":"number","description":"Principal amount for the item. Relationship to amount and quantity is TBD. Draft interpretation; confirm with Capway."},"interval":{"type":"integer","description":"Item interval value. Unit and interaction with the contract interval are TBD. Draft interpretation; confirm with Capway."}}}},"continuousagreement":{"type":"integer","description":"Integer agreement flag. Meaning of 0 and 1 is TBD. Draft interpretation; confirm with Capway."},"maxnumunpaidinvoices":{"type":"integer","description":"Maximum number of unpaid invoices. Behavior when the limit is reached is TBD. Draft interpretation; confirm with Capway."},"agreement":{"type":"object","description":"Agreement settings for the contract. Draft interpretation; confirm with Capway.","properties":{"numberofpayments":{"type":"integer","description":"Number of payments in the agreement. Draft interpretation; confirm with Capway."},"purchasable":{"type":"boolean","description":"Indicates whether the agreement is eligible for purchase. Eligibility rules are TBD. Draft interpretation; confirm with Capway."},"currency":{"type":"string","description":"Currency code for the agreement; the supplied example uses SEK. Draft interpretation; confirm with Capway."}}}}}}}}}},"example":{"contracts":[{"contract":{"creditorreferencecode":"DEMO-CREDITOR-001","customerguid":"00000000-0000-4000-8000-000000000001","active":true,"contractrefno":"DEMO-CONTRACT-001","description":"Demo recurring service contract","note":"Demo data only","contractdate":"2026-02-14","startdate":"2026-02-14","nextinvoicedate":"2026-06-07","enddate":"2027-02-14","intervaldays":30,"intervaltype":"physicaldays","paymentcondition":23,"invoiceitem":[{"permanentitem":1,"itemnumber":"DEMO-001","unittype":"pcs","description":"Demo setup fee","amount":100.0,"vatcode":"SE25","remainingcount":0,"itemcount":1,"itemprincipal":100.0,"interval":1},{"permanentitem":0,"itemnumber":"DEMO-002","unittype":"pcs","description":"Demo invoice fee","amount":10.0,"vatcode":"SE25","remainingcount":1,"itemcount":1,"itemprincipal":10.0,"interval":1}],"continuousagreement":1,"maxnumunpaidinvoices":3,"agreement":{"numberofpayments":12,"purchasable":true,"currency":"SEK"}}}]}}}},"responses":{"default":{"description":"TBD — other response status codes and payloads have not been supplied."},"200":{"description":"Successful contract creation.","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation result; successful example returns OK."},"contractrefno":{"type":"string","description":"Contract reference number."},"contractguid":{"type":"string","description":"Identifier of the created contract."}}},"example":{"result":"OK","contractrefno":"DEMO-CONTRACT-001","contractguid":"00000000-0000-4000-8000-000000000002"}}}}}}},"/v1/Services/contractinvoicing":{"get":{"tags":["Contracts"],"operationId":"Contracts_GetContract","summary":"Get contract","description":"At least one of the four query parameters must be supplied; one is sufficient. No individual parameter is required. Filter combination semantics, imported value type and complete response contract remain TBD.","parameters":[{"name":"contractguid","in":"query","required":false,"description":"Filter by contract identifier. Optional individually; at least one of contractguid, imported, idnumber or customerguid is required.","schema":{"type":"string"},"example":"00000000-0000-4000-8000-000000000002"},{"name":"imported","in":"query","required":false,"description":"Filter by imported value. The supplied example uses 1; accepted values and their meanings are TBD. Optional individually; at least one of contractguid, imported, idnumber or customerguid is required.","schema":{},"example":"1"},{"name":"idnumber","in":"query","required":false,"description":"Filter by identification number. Accepted identification formats are TBD. Optional individually; at least one of contractguid, imported, idnumber or customerguid is required.","schema":{"type":"string"},"example":"DEMO-ID-001"},{"name":"customerguid","in":"query","required":false,"description":"Filter by customer identifier. Optional individually; at least one of contractguid, imported, idnumber or customerguid is required.","schema":{"type":"string"},"example":"00000000-0000-4000-8000-000000000001"}],"x-capway-required-query-group":{"parameters":["contractguid","imported","idnumber","customerguid"],"minProvided":1},"responses":{"default":{"description":"Supplied response payload; success HTTP status remains TBD. Field descriptions and types are draft interpretations.","content":{"application/json":{"schema":{"type":"array","description":"Array of contract records.","items":{"type":"object","description":"Array of contract records.","properties":{"creditorreferencecode":{"type":"string","description":"Creditor reference code."},"contractguid":{"type":"string","description":"Unique contract identifier."},"contractrefno":{"type":"string","description":"Contract reference number."},"description":{"type":"string","description":"Description of the contract."},"active":{"type":"boolean","description":"Indicates whether the contract is active."},"imported":{"type":"integer","description":"Import status value. Meaning of 1 and other accepted values is TBD."},"customerguid":{"type":"string","description":"Identifier of the customer associated with the contract."},"customerref":{"type":"string","description":"Customer reference number."},"intervaldays":{"type":"integer","description":"Number of days in the contract invoicing interval."},"intervaltype":{"type":"integer","description":"Interval type code. Meaning of 1 and its mapping to request intervaltype values are TBD."},"paymentcondition":{"type":"integer","description":"Payment condition value. Whether it is a code or a number of days is TBD."},"contractdate":{"type":"string","description":"Contract date, shown as YYYY-MM-DD."},"startdate":{"type":"string","description":"Contract start date, shown as YYYY-MM-DD."},"enddate":{"description":"Contract end date. The supplied response contains null; non-null format is TBD. Null observed; non-null type is unconfirmed.","examples":[null]},"recurring":{"type":"integer","description":"Recurrence flag or code. Meaning of 1 and other accepted values is TBD."},"numremaninginvoices":{"type":"integer","description":"Remaining invoice count (draft interpretation). Field name is preserved exactly as supplied."},"maxnumunpaidinvoices":{"type":"integer","description":"Maximum number of unpaid invoices. Behavior at this limit is TBD."},"numberofpayments":{"type":"integer","description":"Number of payments in the agreement."},"currencycode":{"type":"string","description":"Currency code for the contract; the example uses SEK."},"invoiceItems":{"type":"array","description":"Invoice items associated with the contract.","items":{"type":"object","description":"Array of contract records.","properties":{"permanentitem":{"type":"boolean","description":"Indicates whether the invoice item is permanent. Recurrence rules are TBD."},"itemcount":{"description":"Item quantity or count. The supplied value is null; non-null type and calculation rules are TBD. Null observed; non-null type is unconfirmed.","examples":[null]},"itemdescription":{"type":"string","description":"Description of the invoice item."},"amount":{"type":"number","description":"Amount for the item. Tax treatment and calculation rules are TBD."},"vattypecode":{"type":"string","description":"VAT type code; the example uses SE25."},"remainingcount":{"description":"Remaining item count. The supplied value is null; non-null type and counting rules are TBD. Null observed; non-null type is unconfirmed.","examples":[null]},"interval":{"type":"integer","description":"Item interval value. Unit and interaction with the contract interval are TBD."}}}},"invoices":{"description":"Invoice information associated with the contract (draft interpretation). The example contains null; non-null structure is TBD. Null observed; non-null type is unconfirmed.","examples":[null]}}}},"example":[{"creditorreferencecode":"DEMO-CREDITOR-001","contractguid":"00000000-0000-4000-8000-000000000002","contractrefno":"DEMO-CONTRACT-001","description":"Demo subscription service","active":true,"imported":1,"customerguid":"00000000-0000-4000-8000-000000000001","customerref":"DEMO-CUSTOMER-001","intervaldays":30,"intervaltype":1,"paymentcondition":14,"contractdate":"2026-01-01","startdate":"2026-02-01","enddate":null,"recurring":1,"numremaninginvoices":1,"maxnumunpaidinvoices":99,"numberofpayments":1,"currencycode":"SEK","invoiceItems":[{"permanentitem":true,"itemcount":null,"itemdescription":"Demo subscription item","amount":119.2,"vattypecode":"SE25","remainingcount":null,"interval":1}],"invoices":null}]}}}}}},"/v1/Callback/invoicesync":{"post":{"tags":["Callbacks"],"operationId":"Callbacks_InvoiceSync","summary":"Request invoice synchronization","description":"Submit a synchronization request and receive a separate callback at callbackUrl. Delta synchronization, date-range selection and resend are documented. Invoice-list filtering is supported in this version. Exact success status and receiver acknowledgement are TBD.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSyncRequest"}}}},"responses":{"2XX":{"description":"Immediate request response. Inspect success and status; HTTP success alone does not establish a successful synchronization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSyncRequestResponse"}}}},"default":{"description":"TBD — authorization, request-format errors and other HTTP statuses."}}}},"/v1/Debtors":{"get":{"tags":["Debtors"],"summary":"Get debtors using filters","operationId":"Debtors_GetDebtors","parameters":[{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_Debtors"},"example":{"count":0,"skip":0,"total":0,"value":[{"debtorGuid":"string","debtorReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","underAged":true,"domicile":"string","municipalCode":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","email":"string","languageCode":"string","currencyCode":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_Debtors"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{guid}":{"get":{"tags":["Debtors"],"summary":"Get debtor details.","operationId":"Debtors_GetDebtor","parameters":[{"name":"guid","in":"path","description":"The GUID representing the debtor.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtor"},"example":{"debtorGuid":"string","debtorReference":"string","idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","gender":0,"cultureCode":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","domicile":"string","municipalCode":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","telefax":"string","email":"string","languageCode":"string","currencyCode":"string","preferredChannel":"string","underAged":true,"conversationNotificationChannel":0,"conversationNotificationEmail":"string","conversationNotificationCellularPhone":"string","regDate":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtor"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}":{"patch":{"tags":["Debtors"],"summary":"Updates a debtor","operationId":"Debtors_UpdateDebtor","parameters":[{"name":"debtorGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtor"},"example":{"idNumber":"string","juridicalType":0,"placeOfBirth":"string","dateOfBirth":"2019-08-24T14:15:22Z","gender":0,"cultureCode":"string","fullName":"string","firstname":"string","middlename":"string","lastname":"string","nameSuffix":"string","domicile":"string","municipalCode":"string","vatNumber":"string","naceCode":"string","homePhone":"string","workPhone":"string","cellularPhone":"string","telefax":"string","email":"string","languageCode":"string","currencyCode":"string","underAged":true,"conversationNotificationChannel":0,"conversationNotificationEmail":"string","conversationNotificationCellularPhone":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtor"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtor"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtor"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtor"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtor"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"delete":{"tags":["Debtors"],"summary":"Deletes a debtor","operationId":"Debtors_DeleteDebtor","parameters":[{"name":"debtorGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"405":{"description":"Method Not Allowed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{guid}/CaseSummary":{"get":{"tags":["Debtors"],"summary":"Get debtor case summary.","operationId":"Debtors_GetDebtorCaseSummary","parameters":[{"name":"guid","in":"path","description":"The GUID representing the debtor.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_DebtorTotalSummary"},"example":{"fullName":"string","idNumber":"string","debtorGuid":"string","paymentReference":"string","bankAccountNo":"string","remainingPrincipal":0.1,"remainingInterest":0.1,"remaininFee":0.1,"remainingSum":0.1,"activeCases":0,"closedCases":0,"cases":[{"caseGuid":"string","caseNumber":"string","clientReferenceNumber":"string","clientName":"string","clientGuid":"string","debtorRole":"string","regDate":"2019-08-24T14:15:22Z","currencyCode":"string","remainingSum":0.1,"service":"string","status":"string","subStatus":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_DebtorTotalSummary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{guid}/Cases":{"get":{"tags":["Debtors"],"summary":"Get cases using filters for specified debtor","operationId":"Debtors_GetCases","parameters":[{"name":"guid","in":"path","description":"The GUID representing the debtor.","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_Cases"},"example":{"count":0,"skip":0,"total":0,"value":[{"caseGuid":"string","caseNumber":"string","clientReferenceNumber":"string","clientName":"string","registrationDate":"2019-08-24T14:15:22Z","currencyCode":"string","originalPrincipal":0.1,"originalFee":0.1,"originalInterest":0.1,"originalSum":0.1,"paidPrincipal":0.1,"paidFee":0.1,"paidInterest":0.1,"paidToThirdParty":0.1,"paidSum":0.1,"remainingPrincipal":0.1,"remainingFee":0.1,"remainingInterest":0.1,"remainingSum":0.1,"service":"string","status":"string","subStatus":"string","closureCode":"string","closureDate":"2019-08-24T14:15:22Z","mainDebtorName":"string","juridicalType":0,"placeOfBirth":"string","birthDate":"2019-08-24T14:15:22Z","naceCode":"string","workPhone":"string","cellularPhone":"string","email":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_Cases"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{guid}/Cases/{caseGuid}":{"get":{"tags":["Debtors"],"summary":"Get case details for a debtor case","operationId":"Debtors_GetCase","parameters":[{"name":"guid","in":"path","description":"The GUID representing the debtor.","required":true,"schema":{"type":"string"}},{"name":"caseGuid","in":"path","description":"The GUID representing the case.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetCase"},"example":{"caseNumber":"string","clientName":"string","clientReferenceNumber":"string","closureCode":"string","closureDate":"2019-08-24T14:15:22Z","currencyCode":"string","description":"string","originalFee":0.1,"originalInterest":0.1,"originalPrincipal":0.1,"originalSum":0.1,"paidFee":0.1,"paidInterest":0.1,"paidPrincipal":0.1,"paidSum":0.1,"paidToThirdParty":0.1,"paymentReferenceNumber":"string","remainingFee":0.1,"remainingInterest":0.1,"remainingPrincipal":0.1,"remainingSum":0.1,"service":"string","status":"string","subStatus":"string","registrationDate":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetCase"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/Addresses":{"get":{"tags":["Debtors"],"summary":"Get debtor addresses using filters","operationId":"Debtors_GetDebtorAddresses","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetAddresses"},"example":{"count":0,"skip":0,"total":0,"value":[{"addressGuid":"string","addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","validatedAt":"2019-08-24T14:15:22Z","validOverride":true,"lastUpdatedAt":"2019-08-24T14:15:22Z"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetAddresses"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"put":{"tags":["Debtors"],"summary":"Creates a new debtor address","operationId":"Debtors_CreateDebtorAddress","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Address values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"},"example":{"addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z"}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetAddress"},"example":{"addressGuid":"string","addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","validatedAt":"2019-08-24T14:15:22Z","validOverride":true,"lastUpdatedAt":"2019-08-24T14:15:22Z"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetAddress"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/Addresses/{addressGuid}":{"get":{"tags":["Debtors"],"summary":"Get debtor address based on the unique GUID","operationId":"Debtors_GetDebtorAddress","parameters":[{"name":"debtorGuid","in":"path","description":"The unique GUID of the debtor","required":true,"schema":{"type":"string"}},{"name":"addressGuid","in":"path","description":"The unique GUID of the address","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetAddress"},"example":{"addressGuid":"string","addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","fullAddress":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z","validatedAt":"2019-08-24T14:15:22Z","validOverride":true,"lastUpdatedAt":"2019-08-24T14:15:22Z"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetAddress"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"patch":{"tags":["Debtors"],"summary":"Updates a debtor address","operationId":"Debtors_UpdateDebtorAddress","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"addressGuid","in":"path","description":"The unique GUID of the address","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Address values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"},"example":{"addressType":"string","fullName":"string","street":"string","houseNo":"string","houseNoExtension":"string","city":"string","zipCode":"string","stateCode":"string","countryCode":"string","addressNotValidDate":"2019-08-24T14:15:22Z","defaultAddress":true,"validFrom":"2019-08-24T14:15:22Z","validTo":"2019-08-24T14:15:22Z"}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_PutAddress"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"delete":{"tags":["Debtors"],"summary":"Deletes a debtor address","operationId":"Debtors_DeleteDebtorAddress","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"addressGuid","in":"path","description":"The unique GUID of the address","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/Paymentplans":{"get":{"tags":["Debtors"],"summary":"Get debtor payment plans using filters","operationId":"Debtors_GetDebtorPaymentplans","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplans"},"example":{"count":0,"skip":0,"total":0,"value":[{"paymentPlanGuid":"string","registrationDate":"2019-08-24T14:15:22Z","startDate":"2019-08-24T14:15:22Z","active":0,"paymentPlanType":0,"numberOfPayments":0,"remainingNumberOfPayments":0,"amount":0.1,"currencyCode":"string","paymentType":0,"intervalType":0,"interval":0}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplans"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"put":{"tags":["Debtors"],"summary":"Creates a new payment plan","operationId":"Debtors_CreateDebtorPaymentplan","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Payment plan data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"},"example":{"active":0,"paymentPlanType":0,"numberOfPayments":0,"amount":0.1,"currencyCode":"string","registrationFee":0.1,"invoiceFee":0.1,"reminderFee":0.1,"feeCurrencyCode":"string","payments":[{"paymentNo":0,"specifiedDueDate":"2019-08-24T14:15:22Z","specifiedAmount":0.1}],"cases":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplan"},"example":{"paymentPlanGuid":"string","registrationDate":"2019-08-24T14:15:22Z","active":0,"paymentPlanType":0,"numberOfPayments":0,"remainingNumberOfPayments":0,"currencyCode":"string","registrationFee":0.1,"invoiceFee":0.1,"reminderFee":0.1,"feeCurrencyCode":"string","totalAmount":0.1,"totalPrincipal":0.1,"totalInterest":0.1,"totalFee":0.1,"annualPercentage":0.1,"payments":[{"paymentNo":0,"invoiceDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","instalment":0.1,"interest":0.1,"fee":0.1,"amount":0.1,"unpaid":0.1,"paidDate":"2019-08-24T14:15:22Z"}],"cases":[{"caseGuid":"string","caseNumber":"string","clientReference":"string","clientGuid":"string"}],"periods":[{"periodNo":0,"startDate":"2019-08-24T14:15:22Z","endDate":"2019-08-24T14:15:22Z","intervalType":0,"interval":0,"amount":0.1,"paymentType":0}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplan"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/Paymentplans/{paymentplanGuid}":{"get":{"tags":["Debtors"],"summary":"Get debtor payment plan based on the unique GUID","operationId":"Debtors_GetDebtorPaymentplan","parameters":[{"name":"debtorGuid","in":"path","description":"The unique GUID of the debtor","required":true,"schema":{"type":"string"}},{"name":"paymentplanGuid","in":"path","description":"The unique GUID of the paymentplan","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplan"},"example":{"paymentPlanGuid":"string","registrationDate":"2019-08-24T14:15:22Z","active":0,"paymentPlanType":0,"numberOfPayments":0,"remainingNumberOfPayments":0,"currencyCode":"string","registrationFee":0.1,"invoiceFee":0.1,"reminderFee":0.1,"feeCurrencyCode":"string","totalAmount":0.1,"totalPrincipal":0.1,"totalInterest":0.1,"totalFee":0.1,"annualPercentage":0.1,"payments":[{"paymentNo":0,"invoiceDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","instalment":0.1,"interest":0.1,"fee":0.1,"amount":0.1,"unpaid":0.1,"paidDate":"2019-08-24T14:15:22Z"}],"cases":[{"caseGuid":"string","caseNumber":"string","clientReference":"string","clientGuid":"string"}],"periods":[{"periodNo":0,"startDate":"2019-08-24T14:15:22Z","endDate":"2019-08-24T14:15:22Z","intervalType":0,"interval":0,"amount":0.1,"paymentType":0}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplan"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"patch":{"tags":["Debtors"],"summary":"Updates a payment plan","operationId":"Debtors_UpdateDebtorPaymentplan","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"paymentplanGuid","in":"path","description":"The unique GUID of the payment plan","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Paymentplan settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtorPaymentplan"},"example":{"payments":[{"paymentNo":0,"specifiedDueDate":"2019-08-24T14:15:22Z","specifiedAmount":0.1}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtorPaymentplan"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtorPaymentplan"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtorPaymentplan"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtorPaymentplan"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_PatchDebtorPaymentplan"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"delete":{"tags":["Debtors"],"summary":"Deletes a payment plan","operationId":"Debtors_DeleteDebtorPaymentplan","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"paymentplanGuid","in":"path","description":"The unique GUID of the paymentplan","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/Paymentplans/Calculate":{"post":{"tags":["Debtors"],"summary":"Calculates a payment plan. Nothing is stored. PUT needs to be called to actually store the plan for the debtor.","operationId":"Debtors_CalculateDebtorPaymentplan","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The payment plan data used for calculation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"},"example":{"active":0,"paymentPlanType":0,"numberOfPayments":0,"amount":0.1,"currencyCode":"string","registrationFee":0.1,"invoiceFee":0.1,"reminderFee":0.1,"feeCurrencyCode":"string","payments":[{"paymentNo":0,"specifiedDueDate":"2019-08-24T14:15:22Z","specifiedAmount":0.1}],"cases":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_PutDebtorPaymentplan"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplan"},"example":{"paymentPlanGuid":"string","registrationDate":"2019-08-24T14:15:22Z","active":0,"paymentPlanType":0,"numberOfPayments":0,"remainingNumberOfPayments":0,"currencyCode":"string","registrationFee":0.1,"invoiceFee":0.1,"reminderFee":0.1,"feeCurrencyCode":"string","totalAmount":0.1,"totalPrincipal":0.1,"totalInterest":0.1,"totalFee":0.1,"annualPercentage":0.1,"payments":[{"paymentNo":0,"invoiceDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","instalment":0.1,"interest":0.1,"fee":0.1,"amount":0.1,"unpaid":0.1,"paidDate":"2019-08-24T14:15:22Z"}],"cases":[{"caseGuid":"string","caseNumber":"string","clientReference":"string","clientGuid":"string"}],"periods":[{"periodNo":0,"startDate":"2019-08-24T14:15:22Z","endDate":"2019-08-24T14:15:22Z","intervalType":0,"interval":0,"amount":0.1,"paymentType":0}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetDebtorPaymentplan"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/Paymentplans/{paymentplanGuid}/Activate":{"post":{"tags":["Debtors"],"summary":"Activates a payment plan","operationId":"Debtors_ActivateDebtorPaymentplan","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"paymentplanGuid","in":"path","description":"The unique GUID of the paymentplan","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/ExtraFields":{"get":{"tags":["Debtors"],"summary":"Get Debtor extra fields using filters","operationId":"Debtors_GetDebtorExtraFields","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"$filter","in":"query","description":"Filter conditions specified in a simplified OData format","schema":{"type":"string"}},{"name":"$skip","in":"query","description":"List offset when paginating (default 0)","schema":{"type":"integer","format":"int32"}},{"name":"$top","in":"query","description":"Maximum size of result (default 25, max 100)","schema":{"type":"integer","format":"int32"}},{"name":"$orderby","in":"query","description":"Sorting conditions\r\nE.g. \"fullname desc\"","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_GetExtraFields"},"example":{"count":0,"skip":0,"total":0,"value":[{"name":"string","value":["string"]}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_GetExtraFields"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"put":{"tags":["Debtors"],"summary":"Creates a new Debtor extra field","operationId":"Debtors_CreateDebtorExtraField","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Extra field value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/ExtraFields/{name}":{"get":{"tags":["Debtors"],"summary":"Get Debtor extra field details based on the unique GUID and extra field name","operationId":"Debtors_GetDebtorExtraField","parameters":[{"name":"debtorGuid","in":"path","description":"The unique GUID of the Debtor","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"The unique GUID of the Debtor","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"patch":{"tags":["Debtors"],"summary":"Updates a Debtor extra field","operationId":"Debtors_UpdateDebtorExtraField","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"Extrafield name","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Extrafield value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"},"example":{"name":"string","value":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}},"text/plain":{"schema":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"},"delete":{"tags":["Debtors"],"summary":"Deletes a Debtor extra field","operationId":"Debtors_DeleteDebtorExtraField","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor guid","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"Extrafield name","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/{debtorGuid}/CustomAction/{serviceDefinition}":{"post":{"tags":["Debtors"],"summary":"Invokes a custom action based on a service definition.","description":"Execute custom service definition in CLVR with possibility to pass in JSON into definition.","operationId":"Debtors_DebtorCustomAction","parameters":[{"name":"debtorGuid","in":"path","description":"Debtor unique id","required":true,"schema":{"type":"string"}},{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"async","in":"query","description":"Specify if custom action should be performed asynchronously","schema":{"type":"boolean"}}],"requestBody":{"description":"JSON body","content":{"application/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/*+json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"multipart/form-data":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/x-www-form-urlencoded":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/plain":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/CustomAction/{serviceDefinition}":{"post":{"tags":["Debtors"],"summary":"Invokes a custom action based on a service definition.","description":"Execute custom service definition in CLVR with possibility to pass in JSON into definition.","operationId":"Debtors_CustomAction","parameters":[{"name":"serviceDefinition","in":"path","description":"The invoke service definition request.","required":true,"schema":{"type":"string"}},{"name":"async","in":"query","description":"Specify if custom action should be performed asynchronously","schema":{"type":"boolean"}}],"requestBody":{"description":"JSON body","content":{"application/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/*+json":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"multipart/form-data":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"application/x-www-form-urlencoded":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}},"text/plain":{"schema":{},"example":{"name1":"string","name2":false,"name3":{"name4":["string","string"]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_CustomJson"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}},"408":{"description":"Request Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Debtors/Ping":{"get":{"tags":["Debtors"],"summary":"Make a ping request to see that the service is up and running.","description":"This operation enables to check if service is available. The service will\r\nreturn code 200 and an empty json object.","operationId":"Debtors_Ping","responses":{"200":{"description":"Ping performed OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_PingResponse"},"example":{}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_PingResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/Debtors_ProblemDetails"}}}}},"x-source-url":"https://help.aptic.net/api/debtors/index.html"}},"/v1/Services/DirectDebitMandates":{"get":{"tags":["Customers"],"operationId":"Customers_GetCustomerDirectDebitMandates","summary":"Get customer direct debit mandates using filters","description":"Get customer direct debit mandates using filters. At least one of customerGuid, directDebitGuid or idnumber must contain a value.\n\nNo error codes are returned by this call. The response is empty when no matching direct debit mandates are found.","parameters":[{"name":"customerGuid","in":"query","required":false,"description":"Filter by customer GUID.","schema":{"type":"string"}},{"name":"directDebitGuid","in":"query","required":false,"description":"Filter by direct debit mandate GUID.","schema":{"type":"string"}},{"name":"idnumber","in":"query","required":false,"description":"Filter by customer identification number.","schema":{"type":"string"}}],"x-required-one-of":["customerGuid","directDebitGuid","idnumber"],"responses":{"200":{"description":"Direct debit mandates.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapwayDirectDebitMandates"},"example":[{"mandateGuid":"11111111-2222-4333-8444-555555555555","directDebitMandateType":"1","referenceNo":"9000000000000001","requestedAt":null,"approvedAt":"2026-10-20","signedDate":null,"validfrom":"2026-10-20","validuntil":null,"closedAt":null,"rejectedAt":null,"rejectReason":null}]}}}}}},"/v1/directdebitmandates/{directDebitGuid}":{"delete":{"tags":["Customers"],"operationId":"Customers_DeleteDirectDebitMandate","summary":"Delete Direct Debit Mandate","description":"Deletes a direct debit mandate.","parameters":[{"name":"directDebitGuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content. No response body."}}},"patch":{"tags":["Customers"],"operationId":"Customers_UpdateDirectDebitMandate","summary":"Update Direct Debit Mandate","description":"Updates a direct debit mandate.","parameters":[{"name":"directDebitGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"},"example":{"directDebitMandateType":1,"receivingBankAccountNo":"string","sendingBankAccountClass":9,"sendingBankAccountNo":"string","referenceNo":"string","requestedAt":"2019-08-24T14:15:22Z","approvedAt":"2019-08-24T14:15:22Z","signedDate":"2019-08-24T14:15:22Z","validfrom":"2019-08-24T14:15:22Z","validuntil":"2019-08-24T14:15:22Z"}},"text/json":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"text/plain":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}}}},"responses":{"204":{"description":"No Content. No response body."}}}},"/v1/Customers/{customerGuid}/DirectDebitMandates":{"put":{"tags":["Customers"],"operationId":"Customers_CreateCustomerDirectDebitMandate","parameters":[{"name":"customerGuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"},"example":{"directDebitMandateType":1,"receivingBankAccountNo":"string","sendingBankAccountClass":9,"sendingBankAccountNo":"string","referenceNo":"string","requestedAt":"2019-08-24T14:15:22Z","approvedAt":"2019-08-24T14:15:22Z","signedDate":"2019-08-24T14:15:22Z","validfrom":"2019-08-24T14:15:22Z","validuntil":"2019-08-24T14:15:22Z"}},"text/json":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}},"text/plain":{"schema":{"$ref":"#/components/schemas/PutDirectDebitMandate"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectDebitMandate"},"example":{"mandateGuid":"string","directDebitMandateType":1,"referenceNo":"string","bankAccountNo":"string","requestedAt":"2019-08-24T14:15:22Z","approvedAt":"2019-08-24T14:15:22Z","signedDate":"2019-08-24T14:15:22Z","validfrom":"2019-08-24T14:15:22Z","validuntil":"2019-08-24T14:15:22Z","closedAt":"2019-08-24T14:15:22Z","links":[{"type":"string","name":"string","href":"string","resource":"string","guid":"string"}]}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/DirectDebitMandate"}}},"description":"HTTP 201 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 403 response"},"408":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"application/vnd.error+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}},"description":"HTTP 408 response"}},"summary":"Creates a new customer direct debit mandate","description":"Imported operation draft. Capway availability, field meanings and deployment compatibility await review.","x-capway-review-status":"draft","x-source-url":"https://help.aptic.net/api/customers/index.html"}}},"servers":[{"url":"https://apitest.capway.se","description":"Test"},{"url":"https://api.capway.se","description":"Production"}],"components":{"schemas":{"AccountGuaranteeInfoWithValidUntil":{"type":"object","properties":{"guaranteeGuid":{"type":["string","null"]},"pledgeType":{"type":["integer","null"],"format":"int32"},"referenceNumber":{"type":["string","null"]},"guaranteeDate":{"type":["string","null"],"format":"date-time"},"originalGuaranteeAmount":{"type":["number","null"],"format":"double"},"guaranteeAmount":{"type":["number","null"],"format":"double"},"note":{"type":["string","null"]},"validUntil":{"type":["string","null"],"format":"date-time"},"guaranteeType":{"type":"integer","format":"int32"}},"additionalProperties":false},"Address":{"type":"object","properties":{"typeCode":{"type":["string","null"]},"fullName":{"type":["string","null"]},"careOf":{"type":["string","null"]},"street":{"type":["string","null"]},"houseNo":{"type":["string","null"]},"houseNoExtension":{"type":["string","null"]},"city":{"type":["string","null"]},"stateCode":{"type":["string","null"]},"zipCode":{"type":["string","null"]},"fullAddress":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"defaultAddress":{"type":["boolean","null"]},"updateExisting":{"type":["boolean","null"]},"validFrom":{"type":["string","null"],"format":"date-time"},"validTo":{"type":["string","null"],"format":"date-time"},"addressNotValid":{"type":["string","null"],"format":"date-time"},"addressNotValidOverride":{"type":["boolean","null"]}},"additionalProperties":false},"CreditInsurance":{"type":"object","properties":{"insuranceGuid":{"type":["string","null"]},"insuranceDate":{"type":["string","null"],"format":"date-time"},"insuranceCompanyName":{"type":["string","null"]},"insuranceCompanyNumber":{"type":["string","null"]},"insuranceCompanyCustomerNumber":{"type":["string","null"]},"note":{"type":["string","null"]},"endDate":{"type":["string","null"],"format":"date-time"},"currencyCode":{"type":["string","null"]},"amount":{"type":["number","null"],"format":"double"},"extraLimitAmount":{"type":["number","null"],"format":"double"},"extraLimitEndDate":{"type":["string","null"],"format":"date-time"},"paymentTerm":{"type":["integer","null"],"format":"int32"},"graceDays":{"type":["integer","null"],"format":"int32"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Link"}}},"additionalProperties":false},"CustomerAccountInfo":{"type":"object","properties":{"accountNumber":{"type":["string","null"]},"uniqueId":{"type":["string","null"]},"currencyCode":{"type":["string","null"]},"balance":{"type":"number","format":"double"}},"additionalProperties":false},"CustomerBase":{"type":"object","properties":{"customerGuid":{"type":["string","null"],"description":"Identifier uniquely assigned to this customer."},"customerReference":{"type":["string","null"],"description":"Reference associated with the customer."},"idNumber":{"type":["string","null"],"description":"Identification number of the customer."},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32","description":"Legal category: 0 = individual; 1 = legal entity, such as a company."},"placeOfBirth":{"type":["string","null"],"description":"Location where the customer was born."},"dateOfBirth":{"type":["string","null"],"format":"date-time","description":"Date/time representing the customer’s birth date."},"deceasedDate":{"type":["string","null"],"format":"date-time","description":"Date/time associated with the customer’s death."},"fullName":{"type":["string","null"],"description":"Customer’s complete name."},"vatNumber":{"type":["string","null"],"description":"VAT registration number."},"naceCode":{"type":["string","null"],"description":"Code for the customer’s NACE industry classification."},"homePhone":{"type":["string","null"],"description":"Telephone number for the customer’s home."},"workPhone":{"type":["string","null"],"description":"Telephone number for the customer’s workplace."},"cellularPhone":{"type":["string","null"],"description":"Mobile telephone number."},"email":{"type":["string","null"],"description":"Email address."},"languageCode":{"type":["string","null"],"description":"Language identifier, for example sv or en. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency identifier, for example SEK, NOK or EUR."}},"additionalProperties":false},"CustomerInfoWithCustomerRole":{"type":"object","properties":{"customerGuid":{"type":["string","null"]},"customerReference":{"type":["string","null"]},"idNumber":{"type":["string","null"]},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32"},"placeOfBirth":{"type":["string","null"]},"dateOfBirth":{"type":["string","null"],"format":"date-time"},"fullName":{"type":["string","null"]},"vatNumber":{"type":["string","null"]},"naceCode":{"type":["string","null"]},"homePhone":{"type":["string","null"]},"workPhone":{"type":["string","null"]},"cellularPhone":{"type":["string","null"]},"email":{"type":["string","null"]},"languageCode":{"type":["string","null"],"description":"Language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"]},"customerRoleCode":{"type":["string","null"]},"companyType":{"type":["string","null"]},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Link"}}},"additionalProperties":false},"CustomerInfoWithLinks":{"type":"object","properties":{"customerGuid":{"type":["string","null"]},"customerReference":{"type":["string","null"]},"idNumber":{"type":["string","null"]},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32"},"placeOfBirth":{"type":["string","null"]},"dateOfBirth":{"type":["string","null"],"format":"date-time"},"fullName":{"type":["string","null"]},"vatNumber":{"type":["string","null"]},"naceCode":{"type":["string","null"]},"homePhone":{"type":["string","null"]},"workPhone":{"type":["string","null"]},"cellularPhone":{"type":["string","null"]},"email":{"type":["string","null"]},"languageCode":{"type":["string","null"],"description":"Language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"]},"companyType":{"type":["string","null"]},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Link"}}},"additionalProperties":false},"CustomerLedgerInvoice":{"type":"object","properties":{"invoiceDate":{"type":"string","format":"date-time"},"dueDate":{"type":"string","format":"date-time"},"invoiceNumber":{"type":["string","null"]},"invoiceGroupingReference":{"type":["string","null"]},"paymentReferenceNumber":{"type":["string","null"]},"paymentBankAccountNumber":{"type":["string","null"]},"currencyCode":{"type":["string","null"]},"invoiceAmount":{"type":"number","format":"double"},"minimumToPay":{"type":"number","format":"double"},"minimumToPayIncludingCampaign":{"type":["number","null"],"format":"double"},"customerAccountInvoice":{"type":"boolean"},"invoiceStatus":{"enum":[0,1,2,3,4,5,6,7,8],"type":"integer","format":"int32"},"reservationId":{"type":["integer","null"],"format":"int32"}},"additionalProperties":false},"CustomerLedgerPurchase":{"type":"object","properties":{"reservationId":{"type":["integer","null"],"format":"int32"},"claimantReference":{"type":["string","null"]},"claimantName":{"type":["string","null"]},"invoiceNo":{"type":["string","null"]},"creditorReference":{"type":["string","null"]},"currencyCode":{"type":["string","null"]},"purchaseAmount":{"type":"number","format":"double"},"activatedAmount":{"type":"number","format":"double"},"remainingAmount":{"type":"number","format":"double"},"campaignCode":{"type":["string","null"]},"campaignDescription":{"type":["string","null"]},"customerAccountNumber":{"type":["string","null"]},"originalCampaignAmount":{"type":["number","null"],"format":"double"},"remainingCampaignAmount":{"type":["number","null"],"format":"double"},"campaignFee":{"type":["number","null"],"format":"double"},"totalNumberOfPayments":{"type":["integer","null"],"format":"int32"},"remainingNumberOfPayments":{"type":["integer","null"],"format":"int32"},"nextPeriodDate":{"type":["string","null"],"format":"date-time"},"nextPeriodAmount":{"type":["number","null"],"format":"double"},"lastPaymentDate":{"type":["string","null"],"format":"date-time"},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ExtraField"}}},"additionalProperties":false},"CustomerLedgerSummary":{"type":"object","properties":{"totalBalance":{"type":"number","format":"double"},"accountBalance":{"type":"number","format":"double"},"currencyCode":{"type":["string","null"]},"unsettledPaymentBalance":{"type":"number","format":"double"},"purchases":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CustomerLedgerPurchase"}},"invoices":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CustomerLedgerInvoice"}},"accounts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CustomerAccountInfo"}},"guarantees":{"type":["array","null"],"items":{"$ref":"#/components/schemas/AccountGuaranteeInfoWithValidUntil"}},"collaterals":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ShortAccountCollateralInfo"}},"myGuarantors":{"type":["array","null"],"items":{"$ref":"#/components/schemas/GuarantorInfo"}},"guaranteeFor":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CustomerInfoWithLinks"}},"allRelatedCustomers":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CustomerInfoWithCustomerRole"}}},"additionalProperties":false},"Customers":{"type":"object","properties":{"count":{"type":"integer","format":"int32","description":"Number of customer records in this response."},"skip":{"type":"integer","format":"int32","description":"Offset within the filtered result set."},"total":{"type":"integer","format":"int32","description":"Number of records matching the filter, across all pages."},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CustomerBase"},"description":"Customer records returned by this query."}},"additionalProperties":false},"DirectDebitMandate":{"type":"object","properties":{"mandateGuid":{"type":["string","null"],"description":"Direct debit mandate GUID."},"directDebitMandateType":{"type":"integer","format":"int32","description":"Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden). 2 = DutchIncasso, Incasso (the Netherlands). 3 = SEPAConsumerRecurring, SEPA consumer recurring 4 = SEPAConsumerOneoOff, SEPA consumer one-off 5 = SEPABusinessRecurring, SEPA business recurring 7 = SEPABusinessOneOff, SEPA business one-off"},"referenceNo":{"type":["string","null"],"description":"Direct debit mandate reference number."},"bankAccountNo":{"type":["string","null"],"description":"Direct debit bank account number."},"requestedAt":{"type":["string","null"],"format":"date-time","description":"Direct debit date of request."},"approvedAt":{"type":["string","null"],"format":"date-time","description":"Direct debit date of approval."},"signedDate":{"type":["string","null"],"format":"date-time","description":"Direct debit date of signature."},"validfrom":{"type":["string","null"],"format":"date-time","description":"Direct debit \"valid from\" date."},"validuntil":{"type":["string","null"],"format":"date-time","description":"Direct debit \"valid to\" date."},"closedAt":{"type":["string","null"],"format":"date-time","description":"Date when the direct debit has been terminated."},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Link"},"description":"Links to events, invoice, case, etc."}},"additionalProperties":false},"ExtraField":{"type":"object","properties":{"name":{"type":["string","null"]},"data":{"type":["string","null"]}},"additionalProperties":false},"ExtraFieldValue":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of Extra field data"},"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false},"ExtraFieldValues":{"type":"object","properties":{"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false},"GetAddress":{"type":"object","properties":{"addressGuid":{"type":["string","null"]},"addressType":{"type":["string","null"]},"fullName":{"type":["string","null"]},"street":{"type":["string","null"]},"houseNo":{"type":["string","null"]},"houseNoExtension":{"type":["string","null"]},"city":{"type":["string","null"]},"zipCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"fullAddress":{"type":["string","null"]},"addressNotValidDate":{"type":["string","null"],"format":"date-time"},"defaultAddress":{"type":["boolean","null"]},"validFrom":{"type":["string","null"],"format":"date-time"},"validTo":{"type":["string","null"],"format":"date-time"},"validatedAt":{"type":["string","null"],"format":"date-time"},"validOverride":{"type":["boolean","null"]},"lastUpdatedAt":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false},"GetAddresses":{"type":"object","properties":{"count":{"type":"integer","format":"int32"},"skip":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/GetAddress"}}},"additionalProperties":false},"GetCustomer":{"type":"object","properties":{"customerGuid":{"type":["string","null"]},"customerReference":{"type":["string","null"]},"idNumber":{"type":["string","null"]},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32"},"placeOfBirth":{"type":["string","null"]},"dateOfBirth":{"type":["string","null"],"format":"date-time"},"deceasedDate":{"type":["string","null"],"format":"date-time"},"fullName":{"type":["string","null"]},"vatNumber":{"type":["string","null"]},"naceCode":{"type":["string","null"]},"homePhone":{"type":["string","null"]},"workPhone":{"type":["string","null"]},"cellularPhone":{"type":["string","null"]},"email":{"type":["string","null"]},"languageCode":{"type":["string","null"],"description":"Language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"]},"gender":{"enum":[0,1,2],"type":["integer","null"],"format":"int32"},"cultureCode":{"type":["string","null"]},"firstname":{"type":["string","null"]},"middlename":{"type":["string","null"]},"lastname":{"type":["string","null"]},"nameSuffix":{"type":["string","null"]},"domicile":{"type":["string","null"]},"municipalCode":{"type":["string","null"]},"companyType":{"type":["string","null"]},"glnNumber":{"type":["string","null"]},"telefax":{"type":["string","null"]},"preferredChannel":{"type":["string","null"]},"underAged":{"type":["boolean","null"]},"invoiceChannel":{"type":["string","null"]},"maritalStatus":{"type":["integer","null"],"format":"int32"},"passportNumber":{"type":["string","null"]},"driversLicenseNumber":{"type":["string","null"]},"regDate":{"type":"string","format":"date-time"},"contactPerson":{"type":["string","null"]},"addresses":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Address"}},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Link"}}},"additionalProperties":false},"GetDirectDebitMandates":{"type":"object","properties":{"count":{"type":"integer","format":"int32"},"skip":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/DirectDebitMandate"}}},"additionalProperties":false},"GetExtraFields":{"type":"object","properties":{"count":{"type":"integer","format":"int32"},"skip":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ExtraFieldValue"}}},"additionalProperties":false},"GuarantorInfo":{"type":"object","properties":{"customerReference":{"type":["string","null"]},"idNumber":{"type":["string","null"]},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32"},"placeOfBirth":{"type":["string","null"]},"dateOfBirth":{"type":["string","null"],"format":"date-time"},"fullName":{"type":["string","null"]},"vatNumber":{"type":["string","null"]},"naceCode":{"type":["string","null"]},"homePhone":{"type":["string","null"]},"workPhone":{"type":["string","null"]},"cellularPhone":{"type":["string","null"]},"email":{"type":["string","null"]},"languageCode":{"type":["string","null"],"description":"Language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"]},"guarantorGuid":{"type":["string","null"]},"companyType":{"type":["string","null"]},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Link"}}},"additionalProperties":false},"Link":{"type":"object","properties":{"type":{"type":["string","null"]},"name":{"type":["string","null"]},"href":{"type":["string","null"]},"resource":{"type":["string","null"]},"guid":{"type":["string","null"]}},"additionalProperties":false},"PatchCustomer":{"type":"object","properties":{"customerReference":{"type":["string","null"],"description":"Customer reference"},"idNumber":{"type":["string","null"],"description":"Customer ID"},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32","description":"Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company"},"placeOfBirth":{"type":["string","null"],"description":"Place of birth"},"dateOfBirth":{"type":["string","null"],"format":"date-time","description":"Date of birth"},"deceasedDate":{"type":["string","null"],"format":"date-time","description":"Deceased"},"vatNumber":{"type":["string","null"],"description":"VAT number"},"naceCode":{"type":["string","null"],"description":"NACE code"},"homePhone":{"type":["string","null"],"description":"Home phone"},"workPhone":{"type":["string","null"],"description":"Work phone"},"cellularPhone":{"type":["string","null"],"description":"Cell phone"},"email":{"type":["string","null"],"description":"Email"},"languageCode":{"type":["string","null"],"description":"Language code e.g. sv, en etc. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"gender":{"enum":[0,1,2],"type":["integer","null"],"format":"int32","description":"Customer gender; ; Possible values:; 0 = Female; 1 = Male; 2 = Unknown, or neither Female nor Male"},"cultureCode":{"type":["string","null"],"description":"Culture code"},"firstname":{"type":["string","null"],"description":"First name of the customer"},"middlename":{"type":["string","null"],"description":"Middle name of the customer"},"lastname":{"type":["string","null"],"description":"Last name of the customer"},"nameSuffix":{"type":["string","null"],"description":"Name suffix"},"domicile":{"type":["string","null"],"description":"Domicile"},"municipalCode":{"type":["string","null"],"description":"Municipal code"},"companyType":{"type":["string","null"],"description":"Company type code"},"glnNumber":{"type":["string","null"],"description":"GLN number"},"telefax":{"type":["string","null"],"description":"Telefax number"},"preferredChannel":{"type":["string","null"],"description":"Preffered communication channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case."},"underAged":{"type":["boolean","null"],"description":"Under aged boolean flag"},"invoiceChannel":{"type":["string","null"],"description":"Preffered invoice channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case."},"maritalStatus":{"type":["integer","null"],"format":"int32","description":"Marital status 1 = Unmarried 2 = Married 3 = Common law spouse 4 = Widow 5 = Divorced 6 = Partner"},"passportNumber":{"type":["string","null"],"description":"Passport number used for identification"},"driversLicenseNumber":{"type":["string","null"],"description":"Drivers license number used for identification"},"parentCustomer":{"type":["string","null"],"description":"Parent customer's guid."}},"additionalProperties":false},"PingResponse":{"type":"object","additionalProperties":false},"ProblemDetails":{"type":"object","properties":{"type":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":["integer","null"],"format":"int32"},"detail":{"type":["string","null"]},"instance":{"type":["string","null"]}},"additionalProperties":{}},"PutAddress":{"type":"object","properties":{"addressType":{"type":["string","null"],"description":"Type of address. LEGAL or user defined."},"fullName":{"type":["string","null"],"description":"Name to use instead on the real name when using this address, e.g. an invoice reading service. Usually null."},"street":{"type":["string","null"],"description":"Street"},"houseNo":{"type":["string","null"],"description":"House number"},"houseNoExtension":{"type":["string","null"],"description":"House number extension"},"city":{"type":["string","null"],"description":"City"},"zipCode":{"type":["string","null"],"description":"Zipcode"},"stateCode":{"type":["string","null"],"description":"State code"},"countryCode":{"type":["string","null"],"description":"Country code"},"addressNotValidDate":{"type":["string","null"],"format":"date-time","description":"Date when the address was marked as not valid anymore"},"defaultAddress":{"type":["boolean","null"],"description":"Flag if this address should be treated as the default address"},"validFrom":{"type":["string","null"],"format":"date-time","description":"Date when the address is valid from"},"validTo":{"type":["string","null"],"format":"date-time","description":"Date when the address is valid to"},"addressNotValidReason":{"type":["string","null"],"description":"Reason why the address is not valid"},"reasonForChange":{"type":["string","null"],"description":"The reason for the address change. Text is not used when marking the address as not valid."}},"additionalProperties":false},"PutCreditInsurance":{"type":"object","properties":{"insuranceCompanyReferenceCode":{"type":["string","null"],"description":"Reference code of the credit insurance company, eg. ATRADIUS, EULERHERMES."},"insuranceCompanyNumber":{"type":["string","null"],"description":"Reference number at the credit insurance company."},"insuranceCompanyCustomerNumber":{"type":["string","null"],"description":"Customer number at the credit insurance company."},"note":{"type":["string","null"],"description":"Free text note"},"endDate":{"type":["string","null"],"format":"date-time","description":"End date for the credit insurance"},"currencyCode":{"type":["string","null"],"description":"Currency code of the insured amount"},"amount":{"type":["number","null"],"format":"double","description":"The insured amount"},"extraLimitAmount":{"type":["number","null"],"format":"double","description":"The extra limit amount caused by the credit insurance"},"extraLimitEndDate":{"type":["string","null"],"format":"date-time","description":"End date for the extra limit"},"paymentTerm":{"type":["integer","null"],"format":"int32","description":"The payment term"},"graceDays":{"type":["integer","null"],"format":"int32","description":"Grace days"}},"additionalProperties":false},"PutCustomer":{"type":"object","properties":{"customerReference":{"type":["string","null"],"description":"Customer reference"},"idNumber":{"type":["string","null"],"description":"Customer ID"},"juridicalType":{"enum":[0,1],"type":["integer","null"],"format":"int32","description":"Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company"},"placeOfBirth":{"type":["string","null"],"description":"Place of birth"},"dateOfBirth":{"type":["string","null"],"format":"date-time","description":"Date of birth"},"deceasedDate":{"type":["string","null"],"format":"date-time","description":"Deceased"},"vatNumber":{"type":["string","null"],"description":"VAT number"},"naceCode":{"type":["string","null"],"description":"NACE code"},"homePhone":{"type":["string","null"],"description":"Home phone"},"workPhone":{"type":["string","null"],"description":"Work phone"},"cellularPhone":{"type":["string","null"],"description":"Cell phone"},"email":{"type":["string","null"],"description":"Email"},"languageCode":{"type":["string","null"],"description":"Language code e.g. sv, en etc. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"gender":{"enum":[0,1,2],"type":["integer","null"],"format":"int32","description":"Customer gender; ; Possible values:; 0 = Female; 1 = Male; 2 = Unknown, or neither Female nor Male"},"cultureCode":{"type":["string","null"],"description":"Culture code"},"firstname":{"type":["string","null"],"description":"First name of the customer"},"middlename":{"type":["string","null"],"description":"Middle name of the customer"},"lastname":{"type":["string","null"],"description":"Last name of the customer"},"nameSuffix":{"type":["string","null"],"description":"Name suffix"},"domicile":{"type":["string","null"],"description":"Domicile"},"municipalCode":{"type":["string","null"],"description":"Municipal code"},"companyType":{"type":["string","null"],"description":"Company type code"},"glnNumber":{"type":["string","null"],"description":"GLN number"},"telefax":{"type":["string","null"],"description":"Telefax number"},"preferredChannel":{"type":["string","null"],"description":"Preffered communication channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case."},"underAged":{"type":["boolean","null"],"description":"Under aged boolean flag"},"invoiceChannel":{"type":["string","null"],"description":"Preffered invoice channel, e.g. LETTER, E-INVOICE, EMAIL, SMS etc. Should be used one of predefined values using correct letter case."},"maritalStatus":{"type":["integer","null"],"format":"int32","description":"Marital status 1 = Unmarried 2 = Married 3 = Common law spouse 4 = Widow 5 = Divorced 6 = Partner"},"passportNumber":{"type":["string","null"],"description":"Passport number used for identification"},"driversLicenseNumber":{"type":["string","null"],"description":"Drivers license number used for identification"},"clientReference":{"type":["string","null"],"description":"Client reference."},"parentCustomer":{"type":["string","null"],"description":"Parent customer's guid."},"fullName":{"type":["string","null"],"description":"Full name of the customer. Optional if FirstName and LastName is used."},"street":{"type":["string","null"],"description":"Main address - Street"},"houseNo":{"type":["string","null"],"description":"Main address - House number"},"houseNoExtension":{"type":["string","null"],"description":"Main address - House number extension"},"city":{"type":["string","null"],"description":"Main address - City"},"zipCode":{"type":["string","null"],"description":"Main address - ZipCode"},"stateCode":{"type":["string","null"],"description":"Main address - State code"},"countryCode":{"type":["string","null"],"description":"Main address - Country code"},"fullAddress":{"type":["string","null"],"description":"Main address - Full address with all parts combined"},"customerGuid":{"type":["string","null"],"description":"Optional customer guid, if you don't want CLVR to assign a GUID"}},"additionalProperties":false},"PutDirectDebitMandate":{"required":["directDebitMandateType","receivingBankAccountNo"],"type":"object","properties":{"directDebitMandateType":{"type":"integer","format":"int32","description":"Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden)."},"receivingBankAccountNo":{"minLength":1,"type":"string","description":"Bank account number of the receiving part."},"sendingBankAccountClass":{"type":["integer","null"],"format":"int32","description":"Sending (payer) bank account class. 9 = Bankaccount (Sweden)."},"sendingBankAccountNo":{"type":["string","null"],"description":"Direct debit bank account number of the sending (payer) part."},"referenceNo":{"type":["string","null"],"description":"Direct debit mandate reference number."},"requestedAt":{"type":["string","null"],"format":"date-time","description":"Direct debit date of request."},"approvedAt":{"type":["string","null"],"format":"date-time","description":"Direct debit date of approval."},"signedDate":{"type":["string","null"],"format":"date-time","description":"Direct debit date of signature."},"validfrom":{"type":["string","null"],"format":"date-time","description":"Direct debit \"valid from\" date."},"validuntil":{"type":["string","null"],"format":"date-time","description":"Direct debit \"valid to\" date."}},"additionalProperties":false},"ShortAccountCollateralInfo":{"type":"object","properties":{"collateralGuid":{"type":["string","null"]},"pledgeType":{"type":["integer","null"],"format":"int32"},"referenceNumber":{"type":["string","null"]},"pledgeDate":{"type":["string","null"],"format":"date-time"},"pledgeAmount":{"type":["number","null"],"format":"double"},"note":{"type":["string","null"]},"insurer":{"type":["string","null"]},"insuranceNumber":{"type":["string","null"]},"insuredAmount":{"type":["number","null"],"format":"double"},"insuranceExpiryDate":{"type":["string","null"],"format":"date-time"},"realized":{"type":"boolean"}},"additionalProperties":false},"Invoices_BarChartSerie":{"type":"object","properties":{"data":{"type":["array","null"],"items":{"type":"number","format":"double"},"description":"Bar data array."},"category":{"type":["string","null"],"description":"Category name."}},"additionalProperties":false,"description":"Bar chart data type."},"Invoices_Chart":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Chart name."},"chartType":{"type":["string","null"],"description":"Chart type."},"showLegend":{"type":"boolean","description":"Show legend bool flag."},"showTooltip":{"type":"boolean","description":"Show tooltip bool flag."},"showTitle":{"type":"boolean","description":"Show title bool flag."},"horizontalAlignment":{"type":"boolean","description":"Horizontal alignment bool flag."},"tooltipTemplate":{"type":["string","null"],"description":"Tooltip template string."},"legendPosition":{"type":["integer","null"],"description":"Chart legend position information.\r\nTop = 0, Bottom = 1, Left = 2, Right = 3","format":"int32"},"titlePosition":{"type":["integer","null"],"description":"Chart title position information.\r\nTop = 0, Bottom = 1","format":"int32"},"barChartSeries":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_BarChartSerie"},"description":"Bar chart or stacked bar chart data array."},"pieChartSeries":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_PieChartSerie"},"description":"Pie chart data array."},"lineChartSeries":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_LineChartSerie"},"description":"Line chart data array."},"donutChartSeries":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_DonutChartSerie"},"description":"Donut chart data array."}},"additionalProperties":false,"description":"The result of the get chart data request."},"Invoices_Closure":{"type":"object","properties":{"closureCode":{"type":["string","null"],"description":"Closure code"},"note":{"type":["string","null"],"description":"Closure note."}},"additionalProperties":false,"description":"Close invoice"},"Invoices_CreditInsurance":{"type":"object","properties":{"insuranceGuid":{"type":["string","null"],"description":"Credit insurance GUID."},"insuranceDate":{"type":["string","null"],"description":"Date when the credit insurance was created","format":"date-time"},"insuranceCompanyName":{"type":["string","null"],"description":"Name of the credit insurance company."},"insuranceCompanyNumber":{"type":["string","null"],"description":"Reference number at the credit insurance company."},"insuranceCompanyCustomerNumber":{"type":["string","null"],"description":"Customer number at the credit insurance company."},"note":{"type":["string","null"],"description":"Free text note"},"endDate":{"type":["string","null"],"description":"End date for the credit insurance","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code of the insured amount"},"amount":{"type":["number","null"],"description":"The insured amount","format":"double"},"extraLimitAmount":{"type":["number","null"],"description":"The extra limit amount caused by the credit insurance","format":"double"},"extraLimitEndDate":{"type":["string","null"],"description":"End date for the extra limit","format":"date-time"},"paymentTerm":{"type":["integer","null"],"description":"The payment term","format":"int32"},"graceDays":{"type":["integer","null"],"description":"Grace days","format":"int32"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Link"},"description":"Links to invoice, customer, etc."}},"additionalProperties":false,"description":"Credit insurance information"},"Invoices_CreditInvoicePlacementInfo":{"type":"object","properties":{"invoiceGuid":{"type":["string","null"],"description":"Guid referring to an invoice"},"amount":{"type":"number","description":"Amount (in credit invoice's currency) that should be placed on the invoice the guid is referring to","format":"double"}},"additionalProperties":false,"description":"Credit invoice placement information"},"Invoices_CreditorFeeInformation":{"type":"object","properties":{"typeCode":{"type":["string","null"],"description":"Fee type code."},"description":{"type":["string","null"],"description":"Fee description."},"amount":{"type":["number","null"],"description":"Fee amount.","format":"double"},"text":{"type":["string","null"],"description":"Descriptive text."}},"additionalProperties":false,"description":"Purchase information."},"Invoices_CustomJson":{"type":"object","description":"The json document contains custom data and varies depending of implementation"},"Invoices_DeleteTransaction":{"type":"object","properties":{"transactions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_DeleteTransactionData"},"description":"List of transactions."}},"additionalProperties":false},"Invoices_DeleteTransactionData":{"type":"object","properties":{"transLogId":{"type":"integer","description":"Transaction log.","format":"int32"}},"additionalProperties":false,"description":"List of transaction LogIDs to revert."},"Invoices_DeleteTransactionResult":{"type":"object","properties":{"revertedDate":{"type":"string","format":"date-time"},"transactionsReverted":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"The response of a reversed transaction."},"Invoices_Deprecate":{"type":"object","properties":{"deprecationLevel":{"$ref":"#/components/schemas/Invoices_DeprecationLevel"},"deprecatedAt":{"type":["string","null"],"description":"Date when the invoice was deprecated.","format":"date-time"},"note":{"type":["string","null"],"description":"Note connected to the depreciation."}},"additionalProperties":false,"description":"Deprecate invoice"},"Invoices_DeprecationLevel":{"enum":["Reservation","WriteOff"],"type":"string","description":"Enumerator for DeprecationLevel"},"Invoices_DirectDebitMandate":{"type":"object","properties":{"mandateGuid":{"type":["string","null"],"description":"Direct debit mandate GUID."},"directDebitMandateType":{"type":"integer","description":"Direct debit type.\r\n\r\n1 = SwedishAutogiro, Autogiro (Sweden).\r\n\r\n2 = DutchIncasso, Incasso (the Netherlands).\r\n\r\n3 = SEPAConsumerRecurring, SEPA consumer recurring \r\n\r\n4 = SEPAConsumerOneoOff, SEPA consumer one-off\r\n\r\n5 = SEPABusinessRecurring, SEPA business recurring\r\n\r\n7 = SEPABusinessOneOff, SEPA business one-off\r\n","format":"int32"},"referenceNo":{"type":["string","null"],"description":"Direct debit mandate reference number."},"bankAccountNo":{"type":["string","null"],"description":"Direct debit bank account number."},"requestedAt":{"type":["string","null"],"description":"Direct debit date of request.","format":"date-time"},"approvedAt":{"type":["string","null"],"description":"Direct debit date of approval.","format":"date-time"},"signedDate":{"type":["string","null"],"description":"Direct debit date of signature.","format":"date-time"},"validfrom":{"type":["string","null"],"description":"Direct debit \"valid from\" date.","format":"date-time"},"validuntil":{"type":["string","null"],"description":"Direct debit \"valid to\" date.","format":"date-time"},"closedAt":{"type":["string","null"],"description":"Date when the direct debit has been terminated.","format":"date-time"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Link"},"description":"Links to events, invoice, case, etc."}},"additionalProperties":false,"description":"Direct debit mandate information"},"Invoices_Dispute":{"type":"object","properties":{"reason":{"type":["string","null"],"description":"Reason for the disbute"},"disputedAt":{"type":["string","null"],"description":"Date when the customer disputed the invoice.","format":"date-time"},"isDisputed":{"type":["boolean","null"],"description":"Flag if the invoice is disputed. When IsDisputed = false, the dispute is marked as resolved"}},"additionalProperties":false,"description":"Dispute information"},"Invoices_Distribution":{"type":"object","properties":{"category":{"type":["string","null"],"description":"Category"},"value":{"type":"number","description":"Value","format":"double"},"currencyCode":{"type":["string","null"],"description":"Currency code"},"lastUpdatedAt":{"type":["string","null"],"description":"When was the distribution last updated","format":"date-time"}},"additionalProperties":false,"description":"Distribution information"},"Invoices_DistributionGroup":{"type":"object","properties":{"groupName":{"type":["string","null"],"description":"Distribution group name"},"currencyCode":{"type":["string","null"],"description":"Currency code"},"distributions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Distribution"},"description":"Distributions"}},"additionalProperties":false,"description":"Distribution group information"},"Invoices_DistributionsList":{"type":"object","properties":{"type":{"type":["string","null"],"description":"Type of distributions"},"groups":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_DistributionGroup"},"description":"Distributions"}},"additionalProperties":false,"description":"Distribution information"},"Invoices_DocumentFile":{"type":"object","properties":{"note":{"type":["string","null"],"description":"Free extra information related to the document."},"documentType":{"type":["string","null"],"description":"Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik)."},"loggedAt":{"type":["string","null"],"description":"Document creation date.","format":"date-time"},"originalFileName":{"type":["string","null"],"description":"The file name to be generated instead of an auto-generated one."},"important":{"type":["boolean","null"],"description":"Document importancy flag."},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Link"},"description":"Links to internal or external archive"}},"additionalProperties":false,"description":"Holds history action document information."},"Invoices_DonutChartSerie":{"type":"object","properties":{"value":{"type":"number","description":"Value of the serie.","format":"double"},"category":{"type":["string","null"],"description":"Category name"},"count":{"type":["integer","null"],"description":"Number of entities in a category","format":"int32"}},"additionalProperties":false,"description":"Donut chart data type."},"Invoices_ExtraFieldValue":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of Extra field data"},"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false,"description":"Extra field value"},"Invoices_ExtraFieldValues":{"type":"object","properties":{"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false,"description":"Extra field values"},"Invoices_FinancialInterestInformation":{"type":"object","properties":{"financeStatus":{"type":["string","null"],"description":"Financial status of the invoice."},"financeStatusDescription":{"type":["string","null"],"description":"Description of the financial status."},"calculateFrom":{"type":["string","null"],"description":"When to calculare financial interest from."},"calculateFromDescription":{"type":["string","null"],"description":"Description of when to calculate interest from."},"calculateTo":{"type":["string","null"],"description":"When to calculare financial interest to."},"calculateToDescription":{"type":["string","null"],"description":"Description of when to calculate interest to."},"feeInsertTrigger":{"type":["string","null"],"description":"When to trigger insertion of the creditor fee for financial interest."},"feeInsertTriggerDescription":{"type":["string","null"],"description":"Description of the insertion trigger."},"interestRate":{"type":["number","null"],"description":"Interest rate","format":"double"},"interestCode":{"type":["string","null"],"description":"Interest code"},"interestCodeDescription":{"type":["string","null"],"description":"Description of the interest code"}},"additionalProperties":false,"description":"Financial interest information."},"Invoices_GetCreditInsurances":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned credit insurances","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered credit insurances","format":"int32"},"total":{"type":"integer","description":"Total number of filtered credit insurances","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_CreditInsurance"},"description":"All filtered credit insurances"}},"additionalProperties":false,"description":"List of filtered credit insurances"},"Invoices_GetDocuments":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned documents","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered documents","format":"int32"},"total":{"type":"integer","description":"Total number of filtered documents","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_DocumentFile"},"description":"All filtered documents"}},"additionalProperties":false,"description":"List of filtered documents"},"Invoices_GetExtraFields":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned extra fields","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered extra fields","format":"int32"},"total":{"type":"integer","description":"Total number of filtered extra fields","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"description":"All filtered extra fields"}},"additionalProperties":false,"description":"List of filtered extra fields"},"Invoices_GetFinancialDetails":{"type":"object","properties":{"financialInterestInformation":{"$ref":"#/components/schemas/Invoices_FinancialInterestInformation"},"purchaseInformation":{"$ref":"#/components/schemas/Invoices_PurchaseInformation"},"creditorFeeInformation":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_CreditorFeeInformation"},"description":"Creditor fees."}},"additionalProperties":false,"description":"Financial information."},"Invoices_GetInvoice":{"type":"object","properties":{"creditorReference":{"type":["string","null"],"description":"Party reference code."},"invoiceNumber":{"type":["string","null"],"description":"Invoice number."},"deliverySystemCode":{"type":["string","null"],"description":"Delivery system code."},"paymentReference":{"type":["string","null"],"description":"Payment reference."},"service":{"type":["string","null"],"description":"Service name (Invoicing / ReceivableLdg / Paymentplan / PreCollection / Collection / Legal / Surveillance / External / JournalCase). This is default values that may be used as servicecode but via configuration changes may be made, for an exact list, contact the service provider."},"claimantName":{"type":["string","null"],"description":"Claimant name."},"invoiceDat":{"type":["string","null"],"description":"Date of invoice.","format":"date-time"},"dueDate":{"type":["string","null"],"description":"Due date of invoice.","format":"date-time"},"purchased":{"type":"boolean","description":"True if the invoice is purchased (factoring)"},"paymentCode":{"type":["string","null"],"description":"Payment code."},"printCode":{"type":["string","null"],"description":"Print code (currently one of predefined values EMAIL / PRINT / EMAIL; PRINT / FAKTURA)."},"formCode":{"type":["string","null"],"description":"Form code (currently one of predefined values MALL1 / PRINTTEST / DUSTIN / Invoice1 / temp / PRINT / DUSTIN_KVITTO)."},"receiverReference":{"type":["string","null"],"description":"Receiver reference - usualy e-mail address."},"preferredChannel":{"type":["string","null"],"description":"Preferred way of communication (Letter / Email / SMS / E-invoice)."},"externalReferenceCode":{"type":["string","null"],"description":"External ledger reference code."},"paymentProductCode":{"type":["string","null"],"description":"Payment product code (ACCOUNT / INVOICE or some others)."},"marketplaceReferenceCode":{"type":["string","null"],"description":"Marketplace reference code."},"financeStatus":{"type":["integer","null"],"description":"Invoice financing status\r\n0 = own accounts receivable\r\n1 = service\r\n2 = purchased\r\n3 = purchased with recourse\r\n4 = recoursed\r\n5 = pledged (for factoring loan)","format":"int32"},"customer":{"$ref":"#/components/schemas/Invoices_InvoiceCustomer"},"debts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceDebt"},"description":"List of debts for the invoice."},"fees":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceFee"},"description":"List of fees for the invoice."},"registrationDate":{"type":"string","description":"Date when invoice was created.","format":"date-time"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Link"},"description":"Links to adresses, extra fields, scoring, parameters, etc."}},"additionalProperties":false,"description":"Invoice information."},"Invoices_GetPurchase":{"type":"object","properties":{"purchaseFeeAmount":{"type":["number","null"],"description":"Purchase fee (will be calculated if omitted)","format":"double"},"purchaseFeeCurrency":{"type":["string","null"],"description":"Currency code of purchase fee"},"purchaseFeePercentage":{"type":["number","null"],"description":"Purchase fee in percent","format":"double"},"invoiceItemId":{"type":["integer","null"],"description":"Sets the invoice item id.","format":"int32"},"approved":{"type":["boolean","null"],"description":"Sets if the purchase is approved. Default is true."},"recourseDays":{"type":["integer","null"],"description":"Purchase invoice with recourse rights","format":"int32"},"depositAmount":{"type":["number","null"],"description":"Optional amount kept as deposit until payment from customer","format":"double"},"note":{"type":["string","null"],"description":"Any additional note"},"currencycode":{"type":["string","null"],"description":"The currency code for the remaining principal"},"remainingprincipal":{"type":["number","null"],"description":"The remaining principal of the invoice","format":"double"},"remainingfee":{"type":["number","null"],"description":"The remaining fee of the invoice","format":"double"},"remainingtotalamount":{"type":["number","null"],"description":"The remaining total amount of the invoice","format":"double"},"registrationdate":{"type":["string","null"],"description":"The date of the credit check","format":"date-time"},"applications":{"type":["integer","null"],"description":"The number of applications for the current debtor","format":"int32"},"applicationsum":{"type":["number","null"],"description":"The number of applications for the current debtor","format":"double"},"sumgovernmentcases":{"type":["number","null"],"description":"Sum of govurmental claims (ex. taxes)","format":"double"},"sumprivatecases":{"type":["number","null"],"description":"Sum of corporate claims","format":"double"},"creditlimit":{"type":["number","null"],"description":"The debtors credit limit","format":"double"},"assessedsalary":{"type":["number","null"],"description":"The debtors annual salary","format":"double"},"mortgagesumcompany":{"type":["number","null"],"description":"Sum of performing loans","format":"double"},"mortgagesumbankrupt":{"type":["number","null"],"description":"Sum of none performing loans","format":"double"},"usernote":{"type":["string","null"],"description":"User note regarding last credit check"}},"additionalProperties":false,"description":"Purchase invoice"},"Invoices_GetRecourse":{"type":"object","properties":{"reason":{"type":["string","null"],"description":"Reason for the recourse"},"recourseFee":{"type":["number","null"],"description":"Additional fee for recoursing the invoice","format":"double"},"recourseFeeCurrency":{"type":["string","null"],"description":"Currency code of recourse fee"},"virt_reimburseamount":{"type":["number","null"],"description":"The reimbursed amount","format":"double"},"virt_reimburseamountcurrency":{"type":["string","null"],"description":"The currency of the reimbursed amount"},"virt_recoursedate":{"type":["string","null"],"description":"The date of the recourse","format":"date-time"}},"additionalProperties":false,"description":"Get recourse info for invoice"},"Invoices_InvoiceAddress":{"type":"object","properties":{"addressType":{"type":["string","null"],"description":"Address type (one of predefined codes LEGAL / AVI / INVOICE / SITE / DELIVERY / TRUSTACCNT)."},"addressNotValid":{"type":["string","null"],"description":"Date of address invalidation.","format":"date-time"},"fullName":{"type":["string","null"],"description":"Full name."},"street":{"type":["string","null"],"description":"Street."},"houseNo":{"type":["string","null"],"description":"House number."},"houseNoExtension":{"type":["string","null"],"description":"House number extension."},"city":{"type":["string","null"],"description":"City."},"stateCode":{"type":["string","null"],"description":"State code."},"zipCode":{"type":["string","null"],"description":"Zipcode."},"fullAddress":{"type":["string","null"],"description":"Full address."},"addressNotValidOverride":{"type":["boolean","null"],"description":"Should address be validated."},"countryCode":{"type":["string","null"],"description":"Country code."},"country":{"type":["string","null"],"description":"Country."},"defaultAddress":{"type":["boolean","null"],"description":"Is default address."}},"additionalProperties":false,"description":"Holds customer's address information."},"Invoices_InvoiceCustomer":{"type":"object","properties":{"customerReference":{"type":["string","null"],"description":"Customer reference."},"idNumber":{"type":["string","null"],"description":"Customer ID number."},"juridicalType":{"type":["integer","null"],"description":"Customer person juridical type.\r\n0 = NaturalPerson,\r\n1 = Juridical person, e.g a company.","format":"int32"},"customerRole":{"type":["integer","null"],"description":"Customer role.\r\n1 = Debtor,\r\n2 = Guarantor,\r\n3 = Coapplicant\r\n4 = Estatebeneficiary,\r\n5 = Tradingcompanypartner\r\n6 = Generalpartner\r\n7 = Custodian,\r\n16 = Solventperson","format":"int32"},"placeOfBirth":{"type":["string","null"],"description":"Customer's place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Customer's date of birth.","format":"date-time"},"gender":{"type":["integer","null"],"description":"Customer's gender.\r\n0 = Male,\r\n1 = Female","format":"int32"},"cultureCode":{"type":["string","null"],"description":"Customer's time and currency format."},"title":{"type":["string","null"],"description":"Customer's salutation."},"firstname":{"type":["string","null"],"description":"Customer's first name."},"middlename":{"type":["string","null"],"description":"Customer's middle name."},"lastname":{"type":["string","null"],"description":"Customer's last name."},"nameSuffix":{"type":["string","null"],"description":"Customer's name suffix."},"careOf":{"type":["string","null"],"description":"Customer's c/o address."},"street":{"type":["string","null"],"description":"Customer's street."},"houseNo":{"type":["string","null"],"description":"Customer's house number."},"houseNoExtension":{"type":["string","null"],"description":"Customer's house number extension."},"city":{"type":["string","null"],"description":"Customer's city."},"stateCode":{"type":["string","null"],"description":"Customer's state code."},"zipCode":{"type":["string","null"],"description":"Customer's zipcode."},"fullAddress":{"type":["string","null"],"description":"Customer's full address."},"addressNotValidOverride":{"type":["boolean","null"],"description":"Should address be validated."},"countryCode":{"type":["string","null"],"description":"Customer's country code."},"country":{"type":["string","null"],"description":"Customer's country."},"domicile":{"type":["string","null"],"description":"Customer's domicile."},"municipalCode":{"type":["string","null"],"description":"Customer's municipal code."},"vatNumber":{"type":["string","null"],"description":"Customer's VAT number."},"companyType":{"type":["string","null"],"description":"Company type code."},"glnNumber":{"type":["string","null"],"description":"Customer's GLN number."},"naceCode":{"type":["string","null"],"description":"Customer's NACE code."},"eInvoiceReceiverId":{"type":["string","null"],"description":"Customer's e-invoice receiver number."},"homePhone":{"type":["string","null"],"description":"Customer's domestic phone number."},"workPhone":{"type":["string","null"],"description":"Customer's work phone number."},"cellularPhone":{"type":["string","null"],"description":"Customer's cellular phone number."},"telefax":{"type":["string","null"],"description":"Customer's telefax number."},"email":{"type":["string","null"],"description":"Customer's e-mail."},"languageCode":{"type":["string","null"],"description":"Customer's language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"preferredchannel":{"type":["string","null"],"description":"Customer's preferred channel of communication (Letter / Email / SMS / E-invoice)."},"underAged":{"type":["boolean","null"],"description":"Is the customer underaged."},"externPaymentTypeCode":{"type":["string","null"],"description":"External payment type code (BGCAUTOGIRO / E-INVOICE or some others)."},"eInvoiceBankCode":{"type":["string","null"],"description":"Clearning bank code (einvoiceb2b or einvoiceb2c, depending on juridical type of customer)."},"invoiceChannel":{"type":["string","null"],"description":"Preferred channel of per invoice communication (Letter / Email / SMS / E-invoice)."},"directDebitReferenceNo":{"type":["string","null"],"description":"Ledger direct debit reference number."},"directDebitBankaccount":{"type":["string","null"],"description":"Ledger direct debit bank account number."},"address":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceAddress"},"description":"List of customer's addresses."},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"description":"List of customer's extra fields."},"directDebitMandate":{"$ref":"#/components/schemas/Invoices_DirectDebitMandate"},"validFrom":{"type":["string","null"],"description":"Valid from.","format":"date-time"},"validTo":{"type":["string","null"],"description":"Valid to.","format":"date-time"}},"additionalProperties":false,"description":"Holds customer information."},"Invoices_InvoiceDebt":{"type":"object","properties":{"debtPrincipalType":{"type":["integer","null"],"description":"Debt principal type.\r\n1 = Debet invoice (default)\r\n2 = Credit invoice.\r\n3 = Interest invoice","format":"int32"},"description":{"type":["string","null"],"description":"Debt description."},"invoiceNumber":{"type":["string","null"],"description":"Debt reference (invoice number)."},"originalReferenceNumber":{"type":["string","null"],"description":"Original reference number."},"paymentReference":{"type":["string","null"],"description":"Payment reference."},"ledgerReference":{"type":["string","null"],"description":"Debt ledger reference."},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"originalInterest":{"type":["number","null"],"description":"Original interest.","format":"double"},"remainingInterest":{"type":["number","null"],"description":"Remaining interest.","format":"double"},"paidInterest":{"type":["number","null"],"description":"Paid interest.","format":"double"},"originalVat":{"type":"number","description":"Original VAT.","format":"double"},"remainingVat":{"type":"number","description":"Remaining VAT.","format":"double"},"rounding":{"type":["number","null"],"description":"Rounding.","format":"double"},"systemrounding":{"type":["number","null"],"description":"System rounding.","format":"double"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"exchangeRate":{"type":["number","null"],"description":"Exchange rate.","format":"double"},"orderDate":{"type":["string","null"],"description":"Order date.","format":"date-time"},"invoiceDate":{"type":"string","description":"Invoice date.","format":"date-time"},"documentDate":{"type":["string","null"],"description":"Document creation date.","format":"date-time"},"dueDate":{"type":["string","null"],"description":"Due date.","format":"date-time"},"ourOrder":{"type":["string","null"],"description":"Our order number."},"yourOrder":{"type":["string","null"],"description":"Your order number."},"seller":{"type":["string","null"],"description":"Seller identifier."},"goodsMark":{"type":["string","null"],"description":"Goods mark."},"deliveryMethod":{"type":["string","null"],"description":"Delivery method (probably free-form text)."},"deliveryCondition":{"type":["string","null"],"description":"Delivery condition (probably free-form text)."},"deliveryDate":{"type":["string","null"],"description":"Delivery date.","format":"date-time"},"deliveryNoteId":{"type":["string","null"],"description":"Delivery note (probably short info text)."},"creditCardTransactionId":{"type":["string","null"],"description":"Credit card transaction (probably short info text)."},"message":{"type":["string","null"],"description":"Debt message (probably short info text)."},"paymentCondition":{"type":["integer","null"],"description":"Debt payment period in days.","format":"int32"},"interestCondition":{"type":["integer","null"],"description":"Debt interest period in days.","format":"int32"},"store":{"type":["string","null"],"description":"Store reference code (probably, not confirmed)."},"receiptNumber":{"type":["string","null"],"description":"Debt receipt number."},"cashRegisterNumber":{"type":["string","null"],"description":"Cash register number."},"interestRate":{"type":["number","null"],"description":"Debt interest rate.","format":"double"},"interestCode":{"type":["string","null"],"description":"Debt interest code (one of predefined interest calculation types)."},"interestFrom":{"type":["string","null"],"description":"Debt interest calculation start date.","format":"date-time"},"interestTo":{"type":["string","null"],"description":"Debt interest calculation end date.","format":"date-time"},"ourReference":{"type":["string","null"],"description":"Our reference."},"yourReference":{"type":["string","null"],"description":"Your reference."},"periodoflimitation":{"type":["integer","null"],"description":"Period of limitation.","format":"int32"},"limitationDate":{"type":["string","null"],"description":"Limitation date.","format":"date-time"},"receiverFullName":{"type":["string","null"],"description":"Receiver full name."},"receiverStreet":{"type":["string","null"],"description":"Receiver street."},"receiverHouseNo":{"type":["string","null"],"description":"Receiver house number."},"receiverHouseNoExtension":{"type":["string","null"],"description":"Receiver house number extension"},"receiverCity":{"type":["string","null"],"description":"Receiver city."},"receiverStateCode":{"type":["string","null"],"description":"Receiver state code."},"receiverZipCode":{"type":["string","null"],"description":"Receiver zipcode."},"receiverCountryCode":{"type":["string","null"],"description":"Receiver country code."},"receiverFullAddress":{"type":["string","null"],"description":"Receiver full address."},"deliveryFullName":{"type":["string","null"],"description":"Delivery subject full name."},"deliveryStreet":{"type":["string","null"],"description":"Delivery subject street."},"deliveryHouseNo":{"type":["string","null"],"description":"Delivery subject house number."},"deliveryHouseNoExtension":{"type":["string","null"],"description":"Delivery subject house number extension."},"deliveryCity":{"type":["string","null"],"description":"Delivery subject city."},"deliveryStateCode":{"type":["string","null"],"description":"Delivery subject state code."},"deliveryZipCode":{"type":["string","null"],"description":"Delivery subject zipcode."},"deliveryCountryCode":{"type":["string","null"],"description":"Delivery subject country code."},"deliveryFullAddress":{"type":["string","null"],"description":"Delivery subject full address."},"vendorReferenceCode":{"type":["string","null"],"description":"Vendor reference code."},"debtRows":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceDebtRow"},"description":"List of debt rows."},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"description":"List of debt extra fields."},"debtGroup":{"type":["string","null"],"description":"Debt group code (probably one of predefined values)."},"interestSpecificCalculationType":{"type":["string","null"],"description":"Interest specific calculation type."}},"additionalProperties":false,"description":"Detailed information about ledger account debt."},"Invoices_InvoiceDebtRow":{"type":"object","properties":{"summaryOnly":{"type":["boolean","null"],"description":"Is a summary information."},"textOnly":{"type":["boolean","null"],"description":"Is a textual information."},"rowReference":{"type":["string","null"],"description":"Debt row reference."},"itemReference":{"type":["string","null"],"description":"Debt row item reference."},"debtFeeCode":{"type":["string","null"],"description":"Type of debt fee (one of predefined values INVOICECHARGE / PACKANDSHIP / BRPF / ORDERDISCOUNT)."},"description":{"type":["string","null"],"description":"Debt row description."},"callNumber":{"type":["string","null"],"description":"Phone call number dialed regarding current debt operation (probably, not confirmed)."},"callLength":{"type":["integer","null"],"description":"Phone call length (probably, not confirmed).","format":"int32"},"eanCode":{"type":["string","null"],"description":"EAN code."},"orderCount":{"type":["integer","null"],"description":"Order count.","format":"int32"},"itemCount":{"type":["number","null"],"description":"Order item(s) count.","format":"double"},"remainingCount":{"type":["integer","null"],"description":"Remaining item(s) count.","format":"int32"},"unitTypeId":{"type":["integer","null"],"description":"Unit type id (corresponds to one of predefined types Pcs / Hours / VAT / Litres / etc.).","format":"int32"},"itemNetAmount":{"type":["number","null"],"description":"Item(s) principal amount.","format":"double"},"itemSystemNetAmount":{"type":["number","null"],"description":"Item(s) system amount (probably, not confirmed).","format":"double"},"discount":{"type":["number","null"],"description":"Item(s) discount.","format":"double"},"rowPrincipalAmount":{"type":["number","null"],"description":"Row principal amount.","format":"double"},"systemRowPrincipalAmount":{"type":["number","null"],"description":"Row system amount (probably, not confirmed).","format":"double"},"includingVAT":{"type":"boolean","description":"Is VAT included."},"vatAmount":{"type":["number","null"],"description":"VAT amount.","format":"double"},"systemVatAmount":{"type":["number","null"],"description":"System VAT amount.","format":"double"},"vatCode":{"type":["string","null"],"description":"VAT code (one of predefined values depending on country code SE25 / SE0 / NO0 / NO25 / DK0 / DK25 / SE12 / NL19 / NO8 / NO14 / SE21 / SE6 / NO15 / EU0 / EXP0 / SRV0 / FI0 / FI10 / FI14 / FI24)."},"accountChartCode":{"type":["string","null"],"description":"Account chart code (one of predefined values)."},"vatAccountChartCode":{"type":["string","null"],"description":"VAT account chart code (one of predefined values)."},"accountDim1":{"type":["string","null"],"description":"Account dimension 1."},"accountDim2":{"type":["string","null"],"description":"Account dimension 2."},"accountDim3":{"type":["string","null"],"description":"Account dimension 3."},"accountDim4":{"type":["string","null"],"description":"Account dimension 4."},"accountDim5":{"type":["string","null"],"description":"Account dimension 5."},"accountDim6":{"type":["string","null"],"description":"Account dimension 6."},"accountDim7":{"type":["string","null"],"description":"Account dimension 7."},"accountDim8":{"type":["string","null"],"description":"Account dimension 8."},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"description":"List of debt row extra fields."}},"additionalProperties":false,"description":"Detailed information about ledger account debt row."},"Invoices_InvoiceFee":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Ledger account fee code (probably one of predefined values)."},"description":{"type":["string","null"],"description":"Ledger account fee description."},"feeDate":{"type":"string","description":"Ledger account fee date.","format":"date-time"},"principalAmount":{"type":"number","description":"Ledger account fee principal.","format":"double"},"vatAmount":{"type":["number","null"],"description":"Ledger account fee VAT.","format":"double"},"interestAmount":{"type":["number","null"],"description":"Ledger account fee interest.","format":"double"},"paidInterest":{"type":["number","null"],"description":"Ledger account fee paid interest.","format":"double"},"exchangeRate":{"type":["number","null"],"description":"Exchange rate.","format":"double"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"interestRate":{"type":["number","null"],"description":"Ledger account fee interest rate.","format":"double"},"interestCode":{"type":["string","null"],"description":"Ledger account fee interest code (one of predefined interest calculation types)."},"interestFrom":{"type":["string","null"],"description":"Fee interest calculation start date.","format":"date-time"},"interestTo":{"type":["string","null"],"description":"Fee interest calculation end date.","format":"date-time"},"importedFee":{"type":"boolean","description":"Is imported fee."}},"additionalProperties":false,"description":"Detailed information about ledger account fee."},"Invoices_InvoiceInfo":{"type":"object","properties":{"invoiceGuid":{"type":["string","null"],"description":"Invoice unique identifier."},"ledgerType":{"type":"integer","description":"Ledger type.\r\n1 = Administrated receivable ledger\r\n2 = Purchased invoices ledger\r\n3 = Own receivable ledger","format":"int32"},"clientReferenceNumber":{"type":["string","null"],"description":"Client reference number of the invoice sender"},"clientName":{"type":["string","null"],"description":"Client full name of the invoice sender"},"invoiceNumber":{"type":["string","null"],"description":"Invoice number."},"customerName":{"type":["string","null"],"description":"Customer full name of the invoice receiver"},"customerNumber":{"type":["string","null"],"description":"Customer number of the invoice receiver"},"invoiceDate":{"type":["string","null"],"description":"Invoice date.","format":"date-time"},"dueDate":{"type":["string","null"],"description":"Invoice due date.","format":"date-time"},"daysDue":{"type":["integer","null"],"description":"Number of physical days the invoice has been due.","format":"int32"},"invoiceType":{"type":["string","null"],"description":"Invoice type (COLLECTIONINVOICE, CREDITINVOICE, FINALINVOICECREDITDEBT, INTERESTINVOICE, INVOICE, OFFERINVOICE, ONACCOUNTPAYMENT, and OVERPAYMENT)."},"registrationDate":{"type":"string","description":"Invoice registration date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":"number","description":"Invoice amount.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining invoice principal.","format":"double"},"paidSum":{"type":"number","description":"Total paid amount.","format":"double"},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Service name (Invoicing / ReceivableLdg / Paymentplan / PreCollection / Collection / Legal / Surveillance / External / JournalCase). This is default values that may be used as servicecode but via configuration changes may be made, for an exact list, contact the service provider."},"status":{"type":"integer","description":"Invoice status containing a summary of the following status codes.\r\n1 = Paid invoices\r\n2 = Unpaid invoices\r\n4 = Overdue invoices\r\n8 = Invoices with reminder sent\r\n16 = Debt collection\r\n32 = Payment\r\n64 = Credited invoices\r\n128 = Converted to account\r\n256 = Fully used\r\n512 = Not used\r\n1024 = Partially used\r\n2048 = Credit inv.used","format":"int32"},"financeStatus":{"type":["string","null"],"description":"Invoice financing status (OWNLEDGER, PLEDGED, PURCHASEDWITHOUTRECOURSE, PURCHASEDWITHRECOURSE, RECOURSED, and SERVICES)."},"purchasable":{"type":"boolean","description":"True if the invoice is purchasable"},"purchased":{"type":"boolean","description":"True if the invoice is purchased (factoring)"}},"additionalProperties":false,"description":"Short invoice info"},"Invoices_InvoiceNote":{"type":"object","properties":{"noteText":{"type":["string","null"],"description":"Ledger account note text."},"loggedAt":{"type":["string","null"],"description":"Ledger account note logging date.","format":"date-time"},"systemCode":{"type":["string","null"],"description":"Free-form system or process identifier, which created the note (probably, not confirmed)."},"userCode":{"type":["string","null"],"description":"Free-form user identifier, who created the note - not only user code (probably, not confirmed)."},"important":{"type":["boolean","null"],"description":"Is the note important."},"histOwnerTypeId":{"type":["string","null"],"description":"History owner type number corresponding to one of predefined history owner types Collector / System note / Creditor note / Debtor note / Customernote)."},"histNoteTypeId":{"type":["string","null"],"description":"History note type number corresponding to one of predefined history note types."}},"additionalProperties":false,"description":"Detailed information about ledger account note."},"Invoices_InvoicePayment":{"type":"object","properties":{"paymentGuid":{"type":["string","null"],"description":"Payment guid"},"paymentReference":{"type":["string","null"],"description":"Payment reference string"},"paymentDate":{"type":"string","description":"Payment date","format":"date-time"},"accountingDate":{"type":["string","null"],"description":"Accounting date for G/L","format":"date-time"},"paymentAmount":{"type":"number","description":"Total paid amount","format":"double"},"currencyCode":{"type":["string","null"],"description":"The currency the paid payment"},"receivedAmount":{"type":["number","null"],"description":"Received amount in G/L currency","format":"double"},"exchangeDate":{"type":["string","null"],"description":"Date for currency exchange","format":"date-time"},"source":{"type":["string","null"],"description":"Information of the origin of the payment"}},"additionalProperties":false,"description":"A registered payment on the invoice"},"Invoices_Invoices":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceInfo"},"description":"Client unique identifier."}},"additionalProperties":false,"description":"List of filtered invoices"},"Invoices_LineChartSerie":{"type":"object","properties":{"data":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_LineSerieData"},"description":"Line data array."},"category":{"type":["string","null"],"description":"Line category name."}},"additionalProperties":false,"description":"Line chart data type."},"Invoices_LineSerieData":{"type":"object","properties":{"value":{"type":"number","description":"Line value.","format":"double"},"category":{"type":["string","null"],"description":"Line category name."}},"additionalProperties":false,"description":"Line data type."},"Invoices_Link":{"type":"object","properties":{"type":{"type":["string","null"],"description":"Type of object"},"name":{"type":["string","null"],"description":"Type of relation"},"href":{"type":["string","null"],"description":"URI to object"},"resource":{"type":["string","null"],"description":"Resource type"},"guid":{"type":["string","null"],"description":"Resource guid"}},"additionalProperties":false,"description":"Generic link to related object"},"Invoices_OnHold":{"type":"object","properties":{"values":{"$ref":"#/components/schemas/Invoices_OnHoldValues"},"options":{"$ref":"#/components/schemas/Invoices_OnHoldOptions"}},"additionalProperties":false,"description":"Get on-hold settings for the invoice"},"Invoices_OnHoldOptions":{"type":"object","additionalProperties":false},"Invoices_OnHoldValues":{"type":"object","properties":{"stopCollection":{"type":["integer","null"],"description":"Stop collection\r\n0 = Not stopped\r\n1 = Stop before debt collection\r\n2 = Stop before reminder\r\n3 = Stop before reminder and debt collection","format":"int32"},"stopCollectionExpire":{"type":["string","null"],"description":"Date when the collection stop is expiring.","format":"date-time"},"stopCollectionReason":{"type":["string","null"]},"interestInvoiceStop":{"type":["integer","null"],"description":"Stop interest invoicing\r\n0 = Not stopped\r\n1 = Stop interest invoicing","format":"int32"},"interestInvoiceStopExpire":{"type":["string","null"],"description":"Date when the interest invoicing stop is expiring.","format":"date-time"},"interestInvoiceStopReason":{"type":["string","null"]}},"additionalProperties":false},"Invoices_PatchCreditInsurance":{"type":"object","properties":{"insuranceCompanyNumber":{"type":["string","null"],"description":"Reference number at the credit insurance company."},"insuranceCompanyCustomerNumber":{"type":["string","null"],"description":"Customer number at the credit insurance company."},"note":{"type":["string","null"],"description":"Free text note"},"endDate":{"type":["string","null"],"description":"End date for the credit insurance","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code of the insured amount"},"amount":{"type":["number","null"],"description":"The insured amount","format":"double"},"extraLimitAmount":{"type":["number","null"],"description":"The extra limit amount caused by the credit insurance","format":"double"},"extraLimitEndDate":{"type":["string","null"],"description":"End date for the extra limit","format":"date-time"},"paymentTerm":{"type":["integer","null"],"description":"The payment term","format":"int32"},"graceDays":{"type":["integer","null"],"description":"Grace days","format":"int32"}},"additionalProperties":false,"description":"Credit insurance information to update"},"Invoices_PatchInvoice":{"type":"object","properties":{"dueDate":{"type":["string","null"],"description":"Due date of the invoice.","format":"date"},"paymentCondition":{"type":["string","null"],"description":"Payment condition."},"paymentReference":{"type":["string","null"],"description":"Payment reference."},"receiverReference":{"type":["string","null"],"description":"Receiver reference."},"ourOrder":{"type":["string","null"],"description":"Our order number."},"yourOrder":{"type":["string","null"],"description":"Your order number."},"ourReference":{"type":["string","null"],"description":"Our reference."},"yourReference":{"type":["string","null"],"description":"Your reference."},"seller":{"type":["string","null"],"description":"Seller."},"handlingCode":{"type":["string","null"],"description":"Handling code."},"goodsMark":{"type":["string","null"],"description":"Goods mark."},"preferredChannelId":{"type":["integer","null"],"description":"Preferred channel ID.","format":"int32"},"denyConversion":{"type":["boolean","null"],"description":"Deny conversion flag."},"paymentCode":{"type":["string","null"],"description":"Payment code."},"printCode":{"type":["string","null"],"description":"Print code."},"formCode":{"type":["string","null"],"description":"Form code."},"interestCapitalizationInterval":{"type":["integer","null"],"description":"Interest capitalization interval.","format":"int32"},"priceList":{"type":["string","null"],"description":"Price list name."},"debtGroup":{"type":["string","null"],"description":"Debt group code."},"receiverHomePhone":{"type":["string","null"],"description":"Receiver home phone."},"receiverWorkPhone":{"type":["string","null"],"description":"Receiver work phone."},"receiverCellularPhone":{"type":["string","null"],"description":"Receiver cellular phone."},"receiverTelefax":{"type":["string","null"],"description":"Receiver telefax."},"receiverEmail":{"type":["string","null"],"description":"Receiver email."},"reminderDate":{"type":["string","null"],"description":"Reminder date.","format":"date"},"collectionDate":{"type":["string","null"],"description":"Collection date.","format":"date"}},"additionalProperties":false,"description":"Invoice information for update."},"Invoices_PieChartSerie":{"type":"object","properties":{"value":{"type":"number","description":"Pie item value.","format":"double"},"category":{"type":["string","null"],"description":"Pie item category."}},"additionalProperties":false,"description":"Pie chart data type."},"Invoices_PingResponse":{"type":"object","additionalProperties":false,"description":"Empty response from ping request"},"Invoices_PostApplyCreditInvoice":{"type":"object","properties":{"creditInvoiceGuid":{"type":["string","null"],"description":"Credit invoice guid"},"deductionOrder":{"type":["string","null"],"description":"Deduction order"},"placements":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_CreditInvoicePlacementInfo"},"description":"List of invoices that the credit invoice should be placed against"}},"additionalProperties":false,"description":"Apply credit invoice"},"Invoices_PostPurchase":{"type":"object","properties":{"purchaseFeeAmount":{"type":["number","null"],"description":"Purchase fee (will be calculated if omitted)","format":"double"},"purchaseFeeCurrency":{"type":["string","null"],"description":"Currency code of purchase fee"},"purchaseFeePercentage":{"type":["number","null"],"description":"Purchase fee in percent","format":"double"},"invoiceItemId":{"type":["integer","null"],"description":"Sets the invoice item id.","format":"int32"},"approved":{"type":["boolean","null"],"description":"Sets if the purchase is approved. Default is true."},"recourseDays":{"type":["integer","null"],"description":"Purchase invoice with recourse rights","format":"int32"},"depositAmount":{"type":["number","null"],"description":"Optional amount kept as deposit until payment from customer","format":"double"},"note":{"type":["string","null"],"description":"Any additional note"}},"additionalProperties":false,"description":"Purchase invoice"},"Invoices_PostRecourse":{"type":"object","properties":{"reason":{"type":["string","null"],"description":"Reason for the recourse"},"recourseFee":{"type":["number","null"],"description":"Additional fee for recoursing the invoice","format":"double"},"recourseFeeCurrency":{"type":["string","null"],"description":"Currency code of recourse fee"}},"additionalProperties":false,"description":"Recourse purchased invoice"},"Invoices_PostponeDueDate":{"type":"object","properties":{"newDueDate":{"type":"string","description":"New due date","format":"date-time"}},"additionalProperties":false,"description":"Summary change due date"},"Invoices_ProblemDetails":{"type":"object","properties":{"type":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":["integer","null"],"format":"int32"},"detail":{"type":["string","null"]},"instance":{"type":["string","null"]}},"additionalProperties":{}},"Invoices_Purchase":{"type":"object","properties":{"values":{"$ref":"#/components/schemas/Invoices_GetPurchase"},"options":{"$ref":"#/components/schemas/Invoices_PurchaseOptions"}},"additionalProperties":false,"description":"Purchase invoice"},"Invoices_PurchaseInformation":{"type":"object","properties":{"purchaseAmount":{"type":["number","null"],"description":"Purchase amount.","format":"double"},"advanceAmount":{"type":["number","null"],"description":"Advance amount.","format":"double"},"blockedAmount":{"type":["number","null"],"description":"Blocked amount.","format":"double"},"depositAmount":{"type":["number","null"],"description":"Deposit amount.","format":"double"},"recoursedAmount":{"type":["number","null"],"description":"Recourse amount.","format":"double"},"recourseDate":{"type":["string","null"],"description":"Recourse date.","format":"date-time"},"recoursedDate":{"type":["string","null"],"description":"Reimbursement date.","format":"date-time"}},"additionalProperties":false,"description":"Purchase information."},"Invoices_PurchaseOptions":{"type":"object","additionalProperties":false},"Invoices_PutCreditInsurance":{"type":"object","properties":{"insuranceCompanyReferenceCode":{"type":["string","null"],"description":"Reference code of the credit insurance company, eg. ATRADIUS, EULERHERMES."},"insuranceCompanyNumber":{"type":["string","null"],"description":"Reference number at the credit insurance company."},"insuranceCompanyCustomerNumber":{"type":["string","null"],"description":"Customer number at the credit insurance company."},"note":{"type":["string","null"],"description":"Free text note"},"endDate":{"type":["string","null"],"description":"End date for the credit insurance","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code of the insured amount"},"amount":{"type":["number","null"],"description":"The insured amount","format":"double"},"extraLimitAmount":{"type":["number","null"],"description":"The extra limit amount caused by the credit insurance","format":"double"},"extraLimitEndDate":{"type":["string","null"],"description":"End date for the extra limit","format":"date-time"},"paymentTerm":{"type":["integer","null"],"description":"The payment term","format":"int32"},"graceDays":{"type":["integer","null"],"description":"Grace days","format":"int32"}},"additionalProperties":false,"description":"Credit insurance information to add"},"Invoices_PutDocument":{"required":["note","originalFileName"],"type":"object","properties":{"note":{"minLength":1,"type":"string","description":"Free extra information related to the document."},"documentType":{"type":["string","null"],"description":"Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik)."},"loggedAt":{"type":["string","null"],"description":"Document creation date.","format":"date-time"},"originalFileName":{"minLength":1,"type":"string","description":"The file name to be generated instead of an auto-generated one."},"searchValue":{"type":["string","null"],"description":"Document specific search value or reference number."},"externalLink":{"type":["string","null"],"description":"Link to the document, if it exists on external archive."},"important":{"type":["boolean","null"],"description":"Document importancy flag."},"fileDataBase64":{"type":["string","null"],"description":"Base64-encoded file body."}},"additionalProperties":false,"description":"Document information to add"},"Invoices_PutExtraFieldValue":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of Extra field data"},"unique":{"type":"boolean","description":"Set to true if the extra field must be unique at insert.\r\nThe uniqueness is only checked when using the REST API"},"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false,"description":"Extra field value"},"Invoices_PutInvoice":{"type":"object","properties":{"creditorReference":{"type":["string","null"],"description":"Party reference code."},"referenceNumber":{"type":["string","null"],"description":"Customer reference number."},"deliverySystemCode":{"type":["string","null"],"description":"Delivery system code."},"paymentReference":{"type":["string","null"],"description":"Payment reference."},"service":{"type":["string","null"],"description":"Service name (Invoicing / ReceivableLdg / Paymentplan / PreCollection / Collection / Legal / Surveillance / External / JournalCase). This is default values that may be used as servicecode but via configuration changes may be made, for an exact list, contact the service provider."},"tryComplementExisting":{"type":["boolean","null"],"description":"If we need to try to complement existing matching invoice with debt rows instead of creating a new one"},"claimantName":{"type":["string","null"],"description":"Claimant name."},"loanFlag":{"type":["boolean","null"],"description":"Is debt loan functionality enabled for invoice."},"loanPercent":{"type":["number","null"],"description":"Amount to be disbursed for invoice (percent of invoice amount). If not indicated, creditor settings used","format":"double"},"purchasable":{"type":["integer","null"],"description":"Is invoice purchasable.\r\n0 = Not purchasable,\r\n1 = Purchaseble,\r\n2 = Purchasble only with regress","format":"int32"},"purchaseFee":{"type":["string","null"],"description":"Purchase fee."},"invoiceDate":{"type":["string","null"],"description":"Date of invoice.","format":"date-time"},"paymentCode":{"type":["string","null"],"description":"Payment code."},"printCode":{"type":["string","null"],"description":"Print code (currently one of predefined values EMAIL / PRINT / EMAIL; PRINT / FAKTURA)."},"formCode":{"type":["string","null"],"description":"Form code (currently one of predefined values MALL1 / PRINTTEST / DUSTIN / Invoice1 / temp / PRINT / DUSTIN_KVITTO)."},"receiverReference":{"type":["string","null"],"description":"Receiver reference - usualy e-mail address."},"aconto":{"type":["boolean","null"],"description":"Is payment account 'aconto' (special type of account supposing partial payments of total cost)."},"denyConversion":{"type":["boolean","null"],"description":"Is conversion to revolving credit allowed."},"accountingFactor":{"type":["number","null"],"description":"Accounting factor (percentage of system amount).","format":"double"},"preferredChannel":{"type":["string","null"],"description":"Preferred way of communication (Letter / Email / SMS / E-invoice)."},"externalReferenceCode":{"type":["string","null"],"description":"External ledger reference code."},"paymentProductCode":{"type":["string","null"],"description":"Payment product code (ACCOUNT / INVOICE or some others)."},"marketplaceReferenceCode":{"type":["string","null"],"description":"Marketplace reference code."},"customer":{"$ref":"#/components/schemas/Invoices_PutInvoiceCustomer"},"debts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceDebt"},"description":"List of debts for the invoice."},"fees":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceFee"},"description":"List of fees for the invoice."},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_PutExtraFieldValue"},"description":"List of extra fields for the invoice."},"note":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_InvoiceNote"},"description":"List of notes for the invoice."},"document":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_PutDocument"},"description":"List of documents for the invoice."}},"additionalProperties":false,"description":"Invoice information for creation."},"Invoices_PutInvoiceAddress":{"type":"object","properties":{"addressType":{"type":["string","null"],"description":"Address type (one of predefined codes LEGAL / AVI / INVOICE / SITE / DELIVERY / TRUSTACCNT)."},"addressNotValid":{"type":["string","null"],"description":"Date of address invalidation.","format":"date-time"},"fullName":{"type":["string","null"],"description":"Full name."},"careOf":{"type":["string","null"],"description":"C/o address."},"street":{"type":["string","null"],"description":"Street."},"houseNo":{"type":["string","null"],"description":"House number."},"houseNoExtension":{"type":["string","null"],"description":"House number extension."},"city":{"type":["string","null"],"description":"City."},"stateCode":{"type":["string","null"],"description":"State code."},"zipCode":{"type":["string","null"],"description":"Zipcode."},"addressNotValidOverride":{"type":["boolean","null"],"description":"Should address be validated."},"countryCode":{"type":["string","null"],"description":"Country code."},"defaultAddress":{"type":["boolean","null"],"description":"Is default address."},"updateExisting":{"type":["boolean","null"],"description":"Should update customer's existing address"}},"additionalProperties":false,"description":"Holds customer's address information."},"Invoices_PutInvoiceCustomer":{"type":"object","properties":{"customerReference":{"type":["string","null"],"description":"Customer reference."},"idNumber":{"type":["string","null"],"description":"Customer ID number."},"juridicalType":{"type":["integer","null"],"description":"Customer person juridical type.\r\n0 = NaturalPerson,\r\n1 = Juridical person, e.g a company.","format":"int32"},"customerRole":{"type":["integer","null"],"description":"Customer role.\r\n1 = Debtor,\r\n2 = Guarantor,\r\n3 = Coapplicant\r\n4 = Estatebeneficiary,\r\n5 = Tradingcompanypartner\r\n6 = Generalpartner\r\n7 = Custodian,\r\n16 = Solventperson","format":"int32"},"placeOfBirth":{"type":["string","null"],"description":"Customer's place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Customer's date of birth.","format":"date-time"},"gender":{"type":["integer","null"],"description":"Customer's gender.\r\n0 = Male,\r\n1 = Female","format":"int32"},"cultureCode":{"type":["string","null"],"description":"Customer's time and currency format."},"title":{"type":["string","null"],"description":"Customer's salutation."},"firstname":{"type":["string","null"],"description":"Customer's first name."},"middlename":{"type":["string","null"],"description":"Customer's middle name."},"lastname":{"type":["string","null"],"description":"Customer's last name."},"nameSuffix":{"type":["string","null"],"description":"Customer's name suffix."},"careOf":{"type":["string","null"],"description":"Customer's c/o address."},"street":{"type":["string","null"],"description":"Customer's street."},"houseNo":{"type":["string","null"],"description":"Customer's house number."},"houseNoExtension":{"type":["string","null"],"description":"Customer's house number extension."},"city":{"type":["string","null"],"description":"Customer's city."},"stateCode":{"type":["string","null"],"description":"Customer's state code."},"zipCode":{"type":["string","null"],"description":"Customer's zipcode."},"addressNotValidOverride":{"type":["boolean","null"],"description":"Should address be validated."},"countryCode":{"type":["string","null"],"description":"Customer's country code."},"domicile":{"type":["string","null"],"description":"Customer's domicile."},"municipalCode":{"type":["string","null"],"description":"Customer's municipal code."},"vatNumber":{"type":["string","null"],"description":"Customer's VAT number."},"companyType":{"type":["string","null"],"description":"Company type code."},"glnNumber":{"type":["string","null"],"description":"Customer's GLN number."},"naceCode":{"type":["string","null"],"description":"Customer's NACE code."},"eInvoiceReceiverId":{"type":["string","null"],"description":"Customer's e-invoice receiver number."},"homePhone":{"type":["string","null"],"description":"Customer's domestic phone number."},"workPhone":{"type":["string","null"],"description":"Customer's work phone number."},"cellularPhone":{"type":["string","null"],"description":"Customer's cellular phone number."},"telefax":{"type":["string","null"],"description":"Customer's telefax number."},"email":{"type":["string","null"],"description":"Customer's e-mail."},"languageCode":{"type":["string","null"],"description":"Customer's language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"preferredchannel":{"type":["string","null"],"description":"Customer's preferred channel of communication (Letter / Email / SMS / E-invoice)."},"underAged":{"type":["boolean","null"],"description":"Is the customer underaged."},"externPaymentTypeCode":{"type":["string","null"],"description":"External payment type code (BGCAUTOGIRO / E-INVOICE or some others)."},"eInvoiceBankCode":{"type":["string","null"],"description":"Clearning bank code (einvoiceb2b or einvoiceb2c, depending on juridical type of customer)."},"invoiceChannel":{"type":["string","null"],"description":"Preferred channel of per invoice communication (Letter / Email / SMS / E-invoice)."},"directDebitReferenceNo":{"type":["string","null"],"description":"Ledger direct debit reference number."},"directDebitBankaccount":{"type":["string","null"],"description":"Ledger direct debit bank account number."},"updateExisting":{"type":["boolean","null"],"description":"Should update customer's existing address"},"address":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_PutInvoiceAddress"},"description":"List of customer's addresses."},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_ExtraFieldValue"},"description":"List of customer's extra fields."},"directDebitMandate":{"$ref":"#/components/schemas/Invoices_DirectDebitMandate"},"validFrom":{"type":["string","null"],"description":"Valid from.","format":"date-time"},"validTo":{"type":["string","null"],"description":"Valid to.","format":"date-time"},"customerGuid":{"type":["string","null"],"description":"Customer's unique identifier."}},"additionalProperties":false,"description":"Holds customer information."},"Invoices_PutInvoiceResult":{"type":"object","properties":{"invoiceGuids":{"type":["array","null"],"items":{"type":"string"},"description":"Array of invoice guid returned after registration."},"impStockId":{"type":"integer","description":"Invoice stock id returned after registration.","format":"int32"}},"additionalProperties":false,"description":"Invoice stock id returned after registration"},"Invoices_PutPaymentOnInvoice":{"type":"object","properties":{"paymentReference":{"type":["string","null"],"description":"Payment reference string"},"paymentDate":{"type":"string","description":"Payment date","format":"date-time"},"accountingDate":{"type":["string","null"],"description":"Accounting date for G/L","format":"date-time"},"paymentAmount":{"type":"number","description":"Total paid amount","format":"double"},"currencyCode":{"type":["string","null"],"description":"The currency the paid payment"},"receivedAmount":{"type":["number","null"],"description":"Received amount in G/L currency","format":"double"},"exchangeDate":{"type":["string","null"],"description":"Date for currency exchange","format":"date-time"},"source":{"type":["string","null"],"description":"Information of the origin of the payment"}},"additionalProperties":false,"description":"Register a direct payment on the invoice"},"Invoices_PutTransaction":{"type":"object","properties":{"transactions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_PutTransactionData"},"description":"List of transactions."}},"additionalProperties":false},"Invoices_PutTransactionData":{"type":"object","properties":{"transDate":{"type":"string","description":"Transaction date","format":"date-time"},"amount":{"type":"number","description":"Amount","format":"double"},"currencyCode":{"type":["string","null"],"description":"Currency code"},"exchangeDate":{"type":"string","description":"Exchange date","format":"date-time"},"exchangeRate":{"type":"number","description":"Exchange rate","format":"double"},"transType":{"type":"integer","description":"Transaction type","format":"int32"},"transSpecType":{"type":"integer","description":"Transaction specification code","format":"int32"},"status":{"type":"integer","description":"Status","format":"int32"},"paymentSource":{"type":["string","null"],"description":"Payment source"},"externalReference":{"type":["string","null"],"description":"External reference"},"note":{"type":["string","null"],"description":"Note"},"externallyAccountedFor":{"type":"boolean","description":"Note"}},"additionalProperties":false,"description":"Transaction data to add."},"Invoices_PutTransactionResult":{"type":"object","properties":{"import_Date":{"type":"string","format":"date-time"},"sum_Amount":{"type":"number","format":"double"},"number_Of_Transactions":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"The respone on a added transaction."},"Invoices_Recourse":{"type":"object","properties":{"values":{"$ref":"#/components/schemas/Invoices_GetRecourse"},"options":{"$ref":"#/components/schemas/Invoices_RecourseOptions"}},"additionalProperties":false,"description":"Get recourse info for invoice"},"Invoices_RecourseOptions":{"type":"object","additionalProperties":false},"Invoices_SummaryChart":{"type":"object","properties":{"systemCurrency":{"type":["string","null"],"description":"Currency code in system currency"},"totalAmount":{"type":"number","description":"Total amount of the whole chart","format":"double"},"lastUpdatedAt":{"type":"string","description":"When was the chart last updated","format":"date-time"},"charts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Chart"},"description":"List of charts"},"distributions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_DistributionsList"},"description":"Distribution data for chart"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_Link"},"description":"Links to adresses, extra fields, scoring, parameters, etc."}},"additionalProperties":false,"description":"Get summary chart"},"Invoices_TransactionInfo":{"type":"object","properties":{"loggedAt":{"type":"string","description":"Logging date","format":"date-time"},"description":{"type":["string","null"],"description":"Transaction description"},"userCode":{"type":["string","null"],"description":"usercode"},"credit":{"type":["number","null"],"description":"credit","format":"double"},"archived":{"type":"boolean","description":"Archived true or false."},"sum_Principal":{"type":"number","description":"sum principal","format":"double"},"sum_Interest":{"type":"number","description":"sum interest","format":"double"},"sum_Fee":{"type":"number","description":"sum fee","format":"double"},"sum_Total":{"type":["number","null"],"description":"total sum","format":"double"},"type":{"type":["string","null"],"description":"type of transaction/history"},"id":{"type":"integer","description":"transaction/history ID","format":"int32"}},"additionalProperties":false,"description":"Short Transaction info."},"Invoices_TransactionSummary":{"type":"object","properties":{"sum_Principal":{"type":"number","description":"Sum of principal","format":"double"},"sum_Interest":{"type":"number","description":"Sum of interest","format":"double"},"sum_Fee":{"type":"number","description":"Sum of fee","format":"double"},"credit":{"type":["number","null"],"description":"credit","format":"double"}},"additionalProperties":false},"Invoices_Transactions":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"summary":{"$ref":"#/components/schemas/Invoices_TransactionSummary"},"values":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Invoices_TransactionInfo"},"description":"List of transactions."}},"additionalProperties":false,"description":"List of transactions"},"Cases_AdjustCaseDebtAmounts":{"type":"object","properties":{"principalAdjustment":{"type":["number","null"],"description":"Amount to adjust the principal with","format":"double"},"interestAdjustment":{"type":["number","null"],"description":"Amount to adjust the interest with","format":"double"},"transSpecTypeCode":{"type":["string","null"],"description":"Specifies the type of transaction, available codes can be fetched using /v1/Metadata/Transspectype"},"note":{"type":["string","null"],"description":"Optional note for the adjustment"}},"additionalProperties":false,"description":"Adjust amounts for a debt in the case"},"Cases_CaseDebtHead":{"type":"object","properties":{"referenceNumber":{"type":["string","null"],"description":"Reference number of the claim, e.g. the invoice number"},"orderDate":{"type":["string","null"],"description":"Order date","format":"date-time"},"billDate":{"type":"string","description":"Invoice or claim date","format":"date-time"},"documentDate":{"type":["string","null"],"description":"Document date, e.g. when the invoice was produced","format":"date-time"},"dueDate":{"type":["string","null"],"description":"Due date for the invoice/claim","format":"date-time"},"accountingDate":{"type":["string","null"],"description":"Date for posting in G/L","format":"date-time"},"paymentCondition":{"type":["integer","null"],"description":"Payment condition as number of days between bill date and due date","format":"int32"},"disputed":{"type":["boolean","null"],"description":"If the debt is officially disputed"},"disputeDate":{"type":["string","null"],"description":"When the debt was disputed","format":"date-time"},"disputeReason":{"type":["string","null"],"description":"Reason for the debt to be disputed"},"disputeRebutted":{"type":["boolean","null"],"description":"If the disputed has been rebutted"},"ourOrder":{"type":["string","null"],"description":"Our order number on the invoice"},"yourOrder":{"type":["string","null"],"description":"Your order number on the invoice"},"ourReference":{"type":["string","null"],"description":"Our reference on the invoice"},"yourReference":{"type":["string","null"],"description":"Your reference on the invoice"},"handlingCode":{"type":["string","null"],"description":"Custom defined handling code"},"originalDebtRef":{"type":["string","null"],"description":"Original reference number"},"invoiceType":{"type":["string","null"],"description":"Invoice type"},"goodsMark":{"type":["string","null"],"description":"Goods mark on invoice"},"deliveryMethod":{"type":["string","null"],"description":"Delivery method on invoice"},"deliveryCondition":{"type":["string","null"],"description":"Delivery condition on invoice"},"deliveryDate":{"type":["string","null"],"description":"Delivery date","format":"date-time"},"deliveryNote":{"type":["string","null"],"description":"Delivery note on invoice"},"creditCardTransactionId":{"type":["string","null"],"description":"Credit card transaction reference identity"},"seller":{"type":["string","null"],"description":"Seller of the delivery for this debt"},"receiptNumber":{"type":["string","null"],"description":"Receipt number for this purchase"},"cashRegisterNumber":{"type":["string","null"],"description":"Cash register number for this purchase"},"originalDueDate":{"type":["string","null"],"description":"Original due date of the invoice","format":"date-time"},"accountRefType":{"type":["string","null"],"description":"Account reference type"},"oneTimeServiceFees":{"type":["number","null"],"description":"Onetime service fees","format":"double"},"loanPurpose":{"type":["string","null"],"description":"The purpose of the loan, valid codes:\r\n\r\nHomeLoan, HomeLoanForFirstHome, HomeLoanForLeisureHouse, HomeLoanForInvestmentPurposes, StudentLoan,\r\nLoanForPurchaseOfVehicleOrCraft, OtherConsumerCredit, OtherLoan, LoanForBusinessActivities, GuaranteeReceivable"},"loanTypeCode":{"type":["string","null"],"description":"The type of loan, valid codes:\r\n\r\nLumpSumLoan, RunningAccountLoan, Leasing, GuaranteeReceivable"},"enforceableDebtType":{"type":["string","null"],"description":"Enforcable debt type, as defined in CLVR"},"goodsRelatedCredit":{"type":["boolean","null"],"description":"Is the claim a credit rated to goods"},"effectiveYear":{"type":["integer","null"],"description":"Effective year of the claim","format":"int32"},"grantedCreditAmount":{"type":["number","null"],"description":"Granted credit amount","format":"double"},"usedCreditAmount":{"type":["number","null"],"description":"Used credit amount or the original granted amount","format":"double"},"lenderName":{"type":["string","null"],"description":"Original lender name of the loan"},"receiver":{"$ref":"#/components/schemas/Cases_CaseDebtHeadAddress"},"delivery":{"$ref":"#/components/schemas/Cases_CaseDebtHeadAddress"},"agreedInterestCode":{"type":["string","null"],"description":"Agreed interest code"},"agreedInterestRate":{"type":["number","null"],"description":"Agreed interest rate","format":"double"}},"additionalProperties":false,"description":"Header information for a debt in the case"},"Cases_CaseDebtHeadAddress":{"type":"object","properties":{"fullName":{"type":["string","null"],"description":"Full name (if other than debtor)"},"street":{"type":["string","null"],"description":"Street"},"houseNo":{"type":["string","null"],"description":"House number"},"houseNoExtension":{"type":["string","null"],"description":"House number extension"},"city":{"type":["string","null"],"description":"City"},"zipCode":{"type":["string","null"],"description":"Zip code"},"stateCode":{"type":["string","null"],"description":"State code"},"countryCode":{"type":["string","null"],"description":"Country code"},"fullAddress":{"type":["string","null"],"description":"Full address including new line characters"}},"additionalProperties":false,"description":"Address information for a debt in the case"},"Cases_CaseDebtInfo":{"type":"object","properties":{"debtGuid":{"type":["string","null"],"description":"Debt unique identifier."},"description":{"type":["string","null"],"description":"Description of the debt"},"referenceNumber":{"type":["string","null"],"description":"Debt reference number, e.g. invoice number"},"billDate":{"type":"string","description":"Debt's bill/invoice date","format":"date-time"},"dueDate":{"type":"string","description":"Debt's bill/invoice date","format":"date-time"},"debtPrincipalType":{"type":["string","null"],"description":"Debt's type, existing codes:\r\n\r\nINVOICE\r\n\r\nCREDIT_INVOICE\r\n\r\nINTEREST_INVOICE\r\n\r\nFINAL_INVOICE_CREDITDEBT\r\n\r\nOFFER_INVOICE\r\n\r\nBILLING\r\n\r\nCAPITALIZED_INTEREST\r\n\r\nINTEREST_COMPENSATION\r\n\r\nTERMINATED_ACCOUNT\r\n\r\nPREREDEMPTION\r\n\r\nLOAN_INTEREST\r\n\r\nSUPPLIER_INVOICE\r\n\r\nCREDIT_EXPENSE"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"originalVAT":{"type":"number","description":"Original vat.","format":"double"},"originalInterest":{"type":"number","description":"Original interest.","format":"double"},"originalSum":{"type":"number","description":"Calculated original total amount for the debt. Can't be used in filtering nor sorting.","format":"double"},"paidPrincipal":{"type":"number","description":"Paid principal.","format":"double"},"paidVAT":{"type":"number","description":"Paid vat.","format":"double"},"paidInterest":{"type":"number","description":"Paid interest.","format":"double"},"paidSum":{"type":"number","description":"Calculated paid total amount. Can't be used in filtering nor sorting.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"remainingVAT":{"type":"number","description":"Remaining vat.","format":"double"},"remainingInterest":{"type":"number","description":"Remaining interest.","format":"double"},"remainingSum":{"type":"number","description":"Calculated remaining total amount. Can't be used in filtering nor sorting.","format":"double"},"ledgerPrincipal":{"type":"number","description":"Remaining principal exchanged to ledger currency.","format":"double"},"ledgerVAT":{"type":"number","description":"Remaining VAT exchanged to ledger currency.","format":"double"},"ledgerInterest":{"type":"number","description":"Remaining accrued interest exchanged to ledger currency.","format":"double"},"ledgerSum":{"type":"number","description":"Remaining total amount exchanged to ledger currency.","format":"double"},"interestRateCeilingCode":{"type":["string","null"],"description":"Interest ceiling code"},"agreedInterestCode":{"type":["string","null"],"description":"Agreed interest code"},"agreedInterestRate":{"type":["number","null"],"description":"Agreed interest rate","format":"double"},"interestSpecificCalculationType":{"type":["string","null"],"description":"Interest Specific Calculation Type"}},"additionalProperties":false,"description":"Short debt info"},"Cases_CaseDebts":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_CaseDebtInfo"},"description":"List of returned debts"}},"additionalProperties":false,"description":"List of filtered debts"},"Cases_CaseFeeInfo":{"type":"object","properties":{"feeGuid":{"type":["string","null"],"description":"Collection fee unique identifier."},"name":{"type":["string","null"],"description":"Name/code of the type of fee"},"feeType":{"type":["string","null"],"description":"Fee type, e.g. FEE or OUTLAY"},"description":{"type":["string","null"],"description":"Description/name of the fee"},"feeDate":{"type":"string","description":"Fee registration date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"originalVAT":{"type":"number","description":"Original vat.","format":"double"},"originalInterest":{"type":"number","description":"Original interest.","format":"double"},"originalSum":{"type":"number","description":"Original total amount.","format":"double"},"paidPrincipal":{"type":"number","description":"Paid principal.","format":"double"},"paidVAT":{"type":"number","description":"Paid vat.","format":"double"},"paidInterest":{"type":"number","description":"Paid interest.","format":"double"},"paidSum":{"type":"number","description":"Paid total amount.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"remainingVAT":{"type":"number","description":"Remaining vat.","format":"double"},"remainingInterest":{"type":"number","description":"Remaining interest.","format":"double"},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"ledgerPrincipal":{"type":"number","description":"Remaining principal exchanged to ledger currency.","format":"double"},"ledgerVAT":{"type":"number","description":"Remaining VAT exchanged to ledger currency.","format":"double"},"ledgerInterest":{"type":"number","description":"Remaining accrued interest exchanged to ledger currency.","format":"double"},"ledgerSum":{"type":"number","description":"Remaining total amount exchanged to ledger currency.","format":"double"}},"additionalProperties":false,"description":"Short fee info"},"Cases_CaseFees":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_CaseFeeInfo"},"description":"List of returned fees"}},"additionalProperties":false,"description":"List of filtered fees"},"Cases_CaseInfo":{"type":"object","properties":{"caseGuid":{"type":["string","null"],"description":"Collection case unique identifier."},"caseNumber":{"type":["string","null"],"description":"Case number."},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"clientName":{"type":["string","null"],"description":"Client full name"},"registrationDate":{"type":"string","description":"Case registration date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"originalFee":{"type":"number","description":"Original fee.","format":"double"},"originalInterest":{"type":"number","description":"Original interest.","format":"double"},"originalSum":{"type":"number","description":"Original total amount.","format":"double"},"paidPrincipal":{"type":"number","description":"Paid principal.","format":"double"},"paidFee":{"type":"number","description":"Paid fee.","format":"double"},"paidInterest":{"type":"number","description":"Paid interest.","format":"double"},"paidToThirdParty":{"type":"number","description":"Not used now, always 0.","format":"double"},"paidSum":{"type":"number","description":"Paid total amount.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"remainingFee":{"type":"number","description":"Remaining fee.","format":"double"},"remainingInterest":{"type":"number","description":"Remaining interest.","format":"double"},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."},"closureCode":{"type":["string","null"],"description":"Closure code"},"closureDate":{"type":["string","null"],"description":"Closure date","format":"date-time"},"mainDebtorName":{"type":["string","null"],"description":"Main debtor full name"},"juridicalType":{"type":"integer","description":"Main debtor juridical type\r\n\r\n0 = Natural person\r\n\r\n1 = Company, Organization or Sole proprietorship","format":"int32"},"placeOfBirth":{"type":["string","null"],"description":"Main debtor's place of birth (only for natural persons)"},"birthDate":{"type":["string","null"],"description":"Main debtor date of birth (only for natural persons)","format":"date-time"},"naceCode":{"type":["string","null"],"description":"NACE code if main debtor is a company"},"workPhone":{"type":["string","null"],"description":"Main debtor work phone"},"cellularPhone":{"type":["string","null"],"description":"Main debtor cellular phone"},"email":{"type":["string","null"],"description":"Main debtor email"}},"additionalProperties":false,"description":"Short case info"},"Cases_CasePayment":{"type":"object","properties":{"paymentGuid":{"type":["string","null"],"description":"Payment guid"},"paymentReference":{"type":["string","null"],"description":"Payment reference string"},"paymentDate":{"type":"string","description":"Payment date","format":"date-time"},"accountingDate":{"type":["string","null"],"description":"Accounting date for G/L","format":"date-time"},"paymentAmount":{"type":"number","description":"Total paid amount","format":"double"},"currencyCode":{"type":["string","null"],"description":"The currency the paid payment"},"receivedAmount":{"type":["number","null"],"description":"Received amount in G/L currency","format":"double"},"exchangeDate":{"type":["string","null"],"description":"Date for currency exchange","format":"date-time"},"source":{"type":["string","null"],"description":"Information of the origin of the payment"}},"additionalProperties":false,"description":"A registered payment on the case"},"Cases_CasePaymentInfo":{"type":"object","properties":{"paymentGuid":{"type":["string","null"],"description":"Payment unique identifier."},"paymentDate":{"type":"string","description":"Case payment date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"paidAmount":{"type":"number","description":"Paid amount","format":"double"},"source":{"type":["string","null"],"description":"Collection account service."},"paymentReference":{"type":["string","null"],"description":"Payment reference number"},"directPayment":{"type":"boolean","description":"Payment made directly to the client"},"paidBy":{"type":"integer","description":"Payment paid by:\r\n\r\n1 = Debtor\r\n\r\n2 = Other\r\n\r\n3 = Bailiff\r\n\r\n4 = Social welfare\r\n\r\n5 = Insurance\r\n\r\n6 = Debt relief","format":"int32"}},"additionalProperties":false,"description":"Short case payment info"},"Cases_CasePayments":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_CasePaymentInfo"},"description":"Client unique identifier."}},"additionalProperties":false,"description":"List of filtered case payments"},"Cases_Cases":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_CaseInfo"},"description":"Client unique identifier."}},"additionalProperties":false,"description":"List of filtered cases"},"Cases_CustomJson":{"type":"object","description":"The json document contains custom data and varies depending of implementation"},"Cases_DebtorSpecificCaseInfo":{"type":"object","properties":{"caseGuid":{"type":["string","null"],"description":"Collection case unique identifier."},"caseNumber":{"type":["string","null"],"description":"Case number."},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"clientName":{"type":["string","null"],"description":"Client full name"},"clientGuid":{"type":["string","null"],"description":"Client guid"},"debtorRole":{"type":["string","null"],"description":"The role of this debtor in the case.\r\n\r\nDEBTOR (default)\r\n\r\nGUARANTOR\r\n\r\nCO-APPLICANT\r\n\r\nESTATEBENEFICIARY\r\n\r\nTRADINGCOMPANY_PARTNER\r\n\r\nGENERAL_PARTNER\r\n\r\nCUSTODIAN\r\n\r\nLIMITED_PARTNER\r\n\r\nREPURCHASER\r\n\r\nBANK_GUARANTOR\r\n\r\nOTHER_PLEDGER\r\n\r\nBOARD_MEMBER\r\n\r\nGUARANTOR_AND_OTHER_PLEDGER\r\n\r\nGUARANTOR_AND_COMPANY_PARTNER\r\n\r\nSOLE_PROPRIETOR_USING_A_TRADE_NAME\r\n\r\nSOLVENT_PERSON"},"regDate":{"type":"string","description":"Case registration date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."}},"additionalProperties":false,"description":"Short debtor specific case info"},"Cases_DebtorSummary":{"type":"object","properties":{"debtorRole":{"type":["string","null"],"description":"The role of this debtor in the case.\r\n\r\nDEBTOR (default)\r\n\r\nGUARANTOR\r\n\r\nCO-APPLICANT\r\n\r\nESTATEBENEFICIARY\r\n\r\nTRADINGCOMPANY_PARTNER\r\n\r\nGENERAL_PARTNER\r\n\r\nCUSTODIAN\r\n\r\nLIMITED_PARTNER\r\n\r\nREPURCHASER\r\n\r\nBANK_GUARANTOR\r\n\r\nOTHER_PLEDGER\r\n\r\nBOARD_MEMBER\r\n\r\nGUARANTOR_AND_OTHER_PLEDGER\r\n\r\nGUARANTOR_AND_COMPANY_PARTNER\r\n\r\nSOLE_PROPRIETOR_USING_A_TRADE_NAME\r\n\r\nSOLVENT_PERSON"},"fullName":{"type":["string","null"],"description":"Name of the debtor"},"idNumber":{"type":["string","null"],"description":"Debtor ID number (SSN or company registration number)."},"debtorGuid":{"type":["string","null"],"description":"The debtor guid"},"paymentReference":{"type":["string","null"],"description":"Debtor specific payment reference number (OCR/KID)"},"bankAccountNo":{"type":["string","null"],"description":"Preferred bank account number for debtor payments"},"remainingPrincipal":{"type":"number","description":"The total remaining principal amount for this debtor","format":"double"},"remainingInterest":{"type":"number","description":"The total remaining accrued interest for this debtor","format":"double"},"remainingFee":{"type":"number","description":"The total remaining fee amount for this debtor","format":"double"},"remainingSum":{"type":"number","description":"The total remaining amount for this debtor","format":"double"},"activeCases":{"type":"integer","description":"The total number of active cases for this debtor","format":"int32"},"cases":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_DebtorSpecificCaseInfo"},"description":"Array with all active cases for this debtor"}},"additionalProperties":false,"description":"Debtor summary for a case."},"Cases_DeductionSpecification":{"type":"object","properties":{"caseNumber":{"type":["string","null"],"description":"Case number"},"invoiceNumber":{"type":["string","null"],"description":"Invoice number"},"description":{"type":["string","null"],"description":"Desccription of the invoice or fee"},"amountType":{"type":"integer","description":"Amount type:\r\n\r\n1 = Principal\r\n\r\n2 = Interest\r\n\r\n3 = VAT","format":"int32"},"currencyCode":{"type":["string","null"],"description":"Currency code of the debt/fee, e.g. SEK, NOK, EUR etc."},"usedAmount":{"type":"number","description":"Amount deducted for this specification item","format":"double"},"commission":{"type":"number","description":"Commission caused by this deduction","format":"double"},"commissionVAT":{"type":"number","description":"VAT calculated on the commission","format":"double"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_Link"},"description":"Links to cases, debts, and fees"}},"additionalProperties":false,"description":"Specification of the payment deduction"},"Cases_DocumentFile":{"type":"object","properties":{"note":{"type":["string","null"],"description":"Free extra information related to the document."},"documentType":{"type":["string","null"],"description":"Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik)."},"loggedAt":{"type":["string","null"],"description":"Document creation date.","format":"date-time"},"originalFileName":{"type":["string","null"],"description":"The file name to be generated instead of an auto-generated one."},"important":{"type":["boolean","null"],"description":"Document importancy flag."},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_Link"},"description":"Links to internal or external archive"}},"additionalProperties":false,"description":"Holds history action document information."},"Cases_ExtraFieldValue":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of Extra field data"},"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false,"description":"Extra field value"},"Cases_GetCase":{"type":"object","properties":{"caseNumber":{"type":["string","null"],"description":"Case number."},"clientName":{"type":["string","null"],"description":"Client full name"},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"closureCode":{"type":["string","null"],"description":"Closure code"},"closureDate":{"type":["string","null"],"description":"Closure date","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"description":{"type":["string","null"],"description":"Case description."},"originalFee":{"type":"number","description":"Original fee.","format":"double"},"originalInterest":{"type":"number","description":"Original interest.","format":"double"},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"originalSum":{"type":"number","description":"Original total amount.","format":"double"},"paidFee":{"type":"number","description":"Paid fee.","format":"double"},"paidInterest":{"type":"number","description":"Paid interest.","format":"double"},"paidPrincipal":{"type":"number","description":"Paid principal.","format":"double"},"paidSum":{"type":"number","description":"Paid total amount.","format":"double"},"paidToThirdParty":{"type":"number","description":"Payments to third party not yet remitted","format":"double"},"paymentReferenceNumber":{"type":["string","null"],"description":"OCR-number for case."},"remainingFee":{"type":"number","description":"Remaining fee.","format":"double"},"remainingInterest":{"type":"number","description":"Remaining interest.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."},"registrationDate":{"type":"string","description":"Date when case was created.","format":"date-time"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_Link"},"description":"Links to debtors, client, extrafields, etc."}},"additionalProperties":false,"description":"Case information."},"Cases_GetCaseDebt":{"type":"object","properties":{"debtGuid":{"type":["string","null"],"description":"The Guid for this specific debt"},"registrationDate":{"type":"string","description":"Registration date in case for the invoice or claim","format":"date-time"},"debtGroup":{"type":["string","null"],"description":"The code for the specific group of debts, as defined in CLVR"},"debtPrincipalType":{"type":["string","null"],"description":"Debt's type, existing codes:\r\n\r\nINVOICE\r\n\r\nCREDIT_INVOICE\r\n\r\nINTEREST_INVOICE\r\n\r\nFINAL_INVOICE_CREDITDEBT\r\n\r\nOFFER_INVOICE\r\n\r\nBILLING\r\n\r\nCAPITALIZED_INTEREST\r\n\r\nINTEREST_COMPENSATION\r\n\r\nTERMINATED_ACCOUNT\r\n\r\nPREREDEMPTION\r\n\r\nLOAN_INTEREST\r\n\r\nSUPPLIER_INVOICE\r\n\r\nCREDIT_EXPENSE"},"description":{"type":["string","null"],"description":"Description of the invoice/claim"},"accountRef":{"type":["string","null"],"description":"Account/case reference number"},"oldAccountRef":{"type":["string","null"],"description":"Previous account/case reference number"},"ledgerRef":{"type":["string","null"],"description":"Reference number in the client ledger"},"objectRef":{"type":["string","null"],"description":"Object reference number"},"originalPaymentReference":{"type":["string","null"],"description":"Original payment reference on the invoice"},"currencyCode":{"type":["string","null"],"description":"Currency code of the claim, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":["number","null"],"description":"Original invoice principal amount","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal amount of the claim","format":"double"},"originalInterest":{"type":["number","null"],"description":"Total accrued interest of the claim","format":"double"},"remainingInterest":{"type":["number","null"],"description":"Remaining accrued interest of the claim until specified date","format":"double"},"originalVAT":{"type":["number","null"],"description":"Original invoice VAT amount","format":"double"},"remainingVAT":{"type":["number","null"],"description":"Remaining VAT amount of the claim","format":"double"},"exchRate":{"type":["number","null"],"description":"Exchange rate used for the invoice","format":"double"},"exchDate":{"type":["string","null"],"description":"Exchange date used for the invoice","format":"date-time"},"vatRate":{"type":["number","null"],"description":"The actual VAT rate in percent","format":"double"},"vatCode":{"type":["string","null"],"description":"VAT code used for calculating vat"},"interestRate":{"type":["number","null"],"description":"Interest rate","format":"double"},"interestCode":{"type":["string","null"],"description":"Interest code as defined in CLVR, e.g. FIXED, ÖGR, F_365_BASE"},"calcRate":{"type":["number","null"],"description":"Current calc rate for floating interest rates","format":"double"},"interestFrom":{"type":["string","null"],"description":"Date when current interest started to be calculated","format":"date-time"},"interestTo":{"type":["string","null"],"description":"Date up until interest has been calculated","format":"date-time"},"fixedInterestTermStart":{"type":["string","null"],"description":"Fixing date for current fixed interest term","format":"date-time"},"interestStop":{"type":["string","null"],"description":"Date when interest stops being calculated","format":"date-time"},"interestSpecificCalculationType":{"type":["string","null"],"description":"Activates specific interest calculation in CLVR, e.g. FI-B2C and FI-B2B"},"interestSpecificCalculationCutoffDate":{"type":["string","null"],"description":"Cut-off date for specific interest calculation in CLVR","format":"date-time"},"accountRefType":{"type":["string","null"],"description":"Account reference type"},"agreementDate":{"type":["string","null"],"description":"Date for the agreement on which the claim is based on","format":"date-time"},"agreementDueDate":{"type":["string","null"],"description":"Due date for the agreement on which the claim is based on","format":"date-time"},"agreementEndDate":{"type":["string","null"],"description":"End date for the agreement on which the claim is based on","format":"date-time"},"originalEir":{"type":["number","null"],"description":"Original EIR","format":"double"},"interestRateCeilingCode":{"type":["string","null"],"description":"Interest ceiling code"},"head":{"$ref":"#/components/schemas/Cases_CaseDebtHead"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_Link"},"description":"Links to debtors, client, extrafields, etc."}},"additionalProperties":false,"description":"Information for a debt in the case"},"Cases_GetCaseFee":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of the fee as defined in CLVR, e.g. REMIND, INKVARSEL, KK"},"description":{"type":["string","null"],"description":"Description of the invoice/claim"},"feeDate":{"type":"string","description":"Date when the fee was added to the claim","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code of the fee, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":["number","null"],"description":"Original invoice principal amount","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal amount of the claim","format":"double"},"originalInterest":{"type":["number","null"],"description":"Total accrued interest of the claim","format":"double"},"remainingInterest":{"type":["number","null"],"description":"Remaining accrued interest of the claim until specified date","format":"double"},"originalVAT":{"type":["number","null"],"description":"Original invoice VAT amount","format":"double"},"remainingVAT":{"type":["number","null"],"description":"Remaining VAT amount of the claim","format":"double"},"interestRate":{"type":["number","null"],"description":"Interest rate","format":"double"},"interestCode":{"type":["string","null"],"description":"Interest code as defined in CLVR, e.g. FIXED, ÖGR, F_365_BASE"},"interestFrom":{"type":["string","null"],"description":"Date when current interest started to be calculated","format":"date-time"},"interestTo":{"type":["string","null"],"description":"Date up until interest has been calculated","format":"date-time"}},"additionalProperties":false,"description":"Information for a fee in the case"},"Cases_GetCasePayment":{"type":"object","properties":{"paymentGuid":{"type":["string","null"],"description":"Payment unique identifier."},"paymentDate":{"type":"string","description":"Case payment date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"paidAmount":{"type":"number","description":"Paid amount","format":"double"},"source":{"type":["string","null"],"description":"Collection account service."},"paymentReference":{"type":["string","null"],"description":"Payment reference number"},"directPayment":{"type":"boolean","description":"Payment made directly to the client"},"paidBy":{"type":"integer","description":"Payment paid by:\r\n\r\n1 = Debtor\r\n\r\n2 = Other\r\n\r\n3 = Bailiff\r\n\r\n4 = Social welfare\r\n\r\n5 = Insurance\r\n\r\n6 = Debt relief","format":"int32"},"amountNotDeducted":{"type":"number","description":"Amount not deducted on any debt or fee yet","format":"double"},"totalAmountDeducted":{"type":"number","description":"Total amount of the payment deducted on debts and fees","format":"double"},"withdrawnCommission":{"type":"number","description":"Commission withdrawn from the amount to be remitted to the client","format":"double"},"withdrawnVAT":{"type":"number","description":"Commission VAT withdrawn from the amount to be remitted to the client","format":"double"},"remittenceAmount":{"type":"number","description":"Amount to be remitted to the client","format":"double"},"commissionNettedOnCreditorAccount":{"type":"number","description":"Commission netted on the creditor account","format":"double"},"vatNettedOnCreditorAccount":{"type":"number","description":"Commission VAT netted on the creditor account","format":"double"},"commissionToInvoice":{"type":"number","description":"Commission to be invoiced to the client","format":"double"},"vatToInvoice":{"type":"number","description":"Commission VAT to be invoiced to the client","format":"double"},"specifications":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_DeductionSpecification"},"description":"Deduction specification"},"pledges":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PledgeSpecification"},"description":"Pledge deduction specification"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_Link"},"description":"Links to debtors, client, cases, pledges, etc."}},"additionalProperties":false,"description":"Case payment information."},"Cases_GetDocuments":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned documents","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered documents","format":"int32"},"total":{"type":"integer","description":"Total number of filtered documents","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_DocumentFile"},"description":"All filtered documents"}},"additionalProperties":false,"description":"List of filtered documents"},"Cases_GetExtraFields":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned extra fields","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered extra fields","format":"int32"},"total":{"type":"integer","description":"Total number of filtered extra fields","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"description":"All filtered extra fields"}},"additionalProperties":false,"description":"List of filtered extra fields"},"Cases_Link":{"type":"object","properties":{"type":{"type":["string","null"],"description":"Type of object"},"name":{"type":["string","null"],"description":"Type of relation"},"href":{"type":["string","null"],"description":"URI to object"},"resource":{"type":["string","null"],"description":"Resource type"},"guid":{"type":["string","null"],"description":"Resource guid"}},"additionalProperties":false,"description":"Generic link to related object"},"Cases_PatchCase":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Case description."},"paymentReferenceNumber":{"type":["string","null"],"description":"OCR-number for case."},"protected":{"type":["boolean","null"],"description":"Treat this case as protected with special access required"},"prohibitTrustAccounting":{"type":["boolean","null"],"description":"Prevent trust accounting on this case"},"stopPayments":{"type":["boolean","null"],"description":"Prevent payments from automatic booking on this case"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."}},"additionalProperties":false,"description":"Case information for update."},"Cases_PatchCaseDebt":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Description of the invoice/claim"},"referenceNumber":{"type":["string","null"],"description":"Reference number of the claim, e.g. the invoice number"},"debtGroup":{"type":["string","null"],"description":"The code for the specific group of debts, as defined in CLVR"},"ourReference":{"type":["string","null"],"description":"Our reference on the invoice"},"yourReference":{"type":["string","null"],"description":"Your reference on the invoice"},"dueDate":{"type":["string","null"],"description":"Due date for the invoice/claim","format":"date-time"},"paymentCondition":{"type":["integer","null"],"description":"Payment condition as number of days between bill date and due date","format":"int32"},"accountRefType":{"type":["string","null"],"description":"Account reference type"},"accountRef":{"type":["string","null"],"description":"Account reference"},"oneTimeServiceFees":{"type":["number","null"],"description":"Onetime service fees","format":"double"},"loanPurpose":{"type":["string","null"],"description":"The purpose of the loan, valid codes:\r\n\r\nHomeLoan, HomeLoanForFirstHome, HomeLoanForLeisureHouse, HomeLoanForInvestmentPurposes, StudentLoan,\r\nLoanForPurchaseOfVehicleOrCraft, OtherConsumerCredit, OtherLoan, LoanForBusinessActivities, GuaranteeReceivable"},"loanTypeCode":{"type":["string","null"],"description":"The type of loan, valid codes:\r\n\r\nLumpSumLoan, RunningAccountLoan, Leasing, GuaranteeReceivable"},"agreementDate":{"type":["string","null"],"description":"Date for the agreement on which the claim is based on","format":"date-time"},"agreementDueDate":{"type":["string","null"],"description":"Due date for the agreement on which the claim is based on","format":"date-time"},"agreementEndDate":{"type":["string","null"],"description":"End date for the agreement on which the claim is based on","format":"date-time"},"enforceableDebtType":{"type":["string","null"],"description":"Enforcable debt type, as defined in CLVR"},"goodsRelatedCredit":{"type":["boolean","null"],"description":"Is the claim a credit rated to goods"},"effectiveYear":{"type":["integer","null"],"description":"Effective year of the claim","format":"int32"},"debtPrincipalType":{"type":["string","null"],"description":"Optional debt principal type, valid codes:\r\n\r\nINVOICE, CREDIT_INVOICE, INTEREST_INVOICE, FINAL_INVOICE_CREDITDEBT, OFFER_INVOICE, BILLING, CAPITALIZED_INTEREST, INTEREST_COMPENSATION,\r\nTERMINATED_ACCOUNT, PREREDEMPTION, LOAN_INTEREST, SUPPLIER_INVOICE, CREDIT_EXPENSE"},"grantedCreditAmount":{"type":["number","null"],"description":"Granted credit amount","format":"double"},"usedCreditAmount":{"type":["number","null"],"description":"Used credit amount or the original granted amount","format":"double"},"originalEir":{"type":["number","null"],"description":"Original EIR","format":"double"},"lenderName":{"type":["string","null"],"description":"Original lender name of the loan"},"interestRateCeilingCode":{"type":["string","null"],"description":"Interest ceiling code"},"agreedInterestCode":{"type":["string","null"],"description":"Agreed interest code"},"agreedInterestRate":{"type":["number","null"],"description":"Agreed interest rate","format":"double"},"interestSpecificCalculationType":{"type":["string","null"],"description":"Interest Specific Calculation Type"}},"additionalProperties":false,"description":"Updates a debt in the case"},"Cases_PatchCaseFee":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Description of the invoice/claim"}},"additionalProperties":false,"description":"Updates a fee in the case"},"Cases_PaymentSpecOnCase":{"type":"object","properties":{"invoiceReference":{"type":["string","null"],"description":"Invoice reference"},"principalAmount":{"type":"number","description":"Paid principal amount","format":"double"},"interestAmount":{"type":["number","null"],"description":"Paid interest amount","format":"double"}},"additionalProperties":false,"description":"Specification of a direct payment on the case"},"Cases_PingResponse":{"type":"object","additionalProperties":false,"description":"Empty response from ping request"},"Cases_PledgeSpecification":{"type":"object","properties":{"pledgeType":{"type":["string","null"],"description":"Pledge type"},"identityNumber":{"type":["string","null"],"description":"Pledge identity number"},"description":{"type":["string","null"],"description":"Desccription of the pledge"},"amount":{"type":"number","description":"Amount deducted on this pledge","format":"double"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_Link"},"description":"Links to guarantee or collateral"}},"additionalProperties":false,"description":"Specification of the payment deduction on pledges"},"Cases_PostCaseClosure":{"type":"object","properties":{"closureCode":{"type":["string","null"],"description":"Specified closure code:\n\nRETRIEVED = Retrieved by creditor\nCREPAID = Paid to creditor\nCREDITED = Case credited\nDENIAL = Closed due to dispute\nDECEASED = Debtor deceased\nDEBTRELIEF = Debtor is in debt relief"},"note":{"type":["string","null"],"description":"Optional note regarding the closure"}},"additionalProperties":false,"description":"Close a case"},"Cases_ProblemDetails":{"type":"object","properties":{"type":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":["integer","null"],"format":"int32"},"detail":{"type":["string","null"]},"instance":{"type":["string","null"]}},"additionalProperties":{}},"Cases_PutCase":{"type":"object","properties":{"caseNumber":{"type":["string","null"],"description":"Case number."},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"clientGuid":{"type":["string","null"],"description":"Party reference guid."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"receivedFrom":{"type":["string","null"],"description":"Party or user registering the case."},"referenceNumber":{"type":["string","null"],"description":"Additional reference number."},"deliverySystemCode":{"type":["string","null"],"description":"Optional delivery system code"},"description":{"type":["string","null"],"description":"Case description."},"paymentReferenceNumber":{"type":["string","null"],"description":"Payment reference for case (OCR)"},"originalClaimantName":{"type":["string","null"],"description":"Name of original claimant"},"service":{"type":["string","null"],"description":"Collection account service, e.g. PreCollection, Collection, or Surveillance"},"claimType":{"type":["string","null"],"description":"Customer specific code for the claim type of the case"},"legalClaimType":{"type":["string","null"],"description":"Legal claim type for the case, e.g. 0412, 0440, 0520, etc. for Finland"},"protected":{"type":["boolean","null"],"description":"Treat this case as protected with special access required"},"stopPayments":{"type":["boolean","null"],"description":"Prevent payments from automatic booking on this case"},"prohibitTrustAccounting":{"type":["boolean","null"],"description":"Prevent trust accounting on this case"},"reportPaidInterest":{"type":["boolean","null"],"description":"Report paid interest for this case.\r\nIs decided by default parameters if not provided."},"reportPaidInterestFrom":{"type":["string","null"],"description":"Which date paid interest should be reported from in CLVR","format":"date-time"},"feeBasePrincipalAmount":{"type":["number","null"],"description":"Principal amount to base some fee calculations on, e.g. the WIK fee","format":"double"},"highCostCredit":{"type":["boolean","null"],"description":"Specifies if the debt is a high cost credit"},"highCostCreditAmount":{"type":["number","null"],"description":"Specifies the high cost credit amount","format":"double"},"highCostCreditUsedAmount":{"type":["number","null"],"description":"Specifies how much that has beed used of the high cost credit amount","format":"double"},"creditRegistryStatus":{"type":["integer","null"],"description":"Specifies if the status of the debt in national credit registry\r\n\r\n0 = Do not register\r\n\r\n1 = Register\r\n\r\n2 = Already registered\r\n\r\n3 = Terminated\r\n\r\n4 = Recalled","format":"int32"},"creditRegistrySubmissionDate":{"type":["string","null"],"description":"Date and time when the debt was submitted to the national credit registry","format":"date-time"},"debtors":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PutCaseDebtor"},"description":"All debtors in the case"},"debts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PutCaseDebt"},"description":"All debts/invoices/claims in the case"},"fees":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PutCaseFee"},"description":"All existing fees for the claim in the case"},"claimant":{"$ref":"#/components/schemas/Cases_PutCaseClaimant"},"energyDebt":{"$ref":"#/components/schemas/Cases_PutCaseEnergyDebt"},"relations":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PutCaseRelation"},"description":"Other parties related to the case, like a field collector"},"actionDates":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PutCaseActionDate"},"description":"Important events already happened in the case"},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"description":"Additional extra fields in the case. Needs to already be defined in CLVR."}},"additionalProperties":false,"description":"Case information for creation."},"Cases_PutCaseActionDate":{"type":"object","properties":{"actionType":{"type":["string","null"],"description":"Communication type used for the action performed\r\n\r\nLETTER\r\n\r\nEXPORT\r\n\r\nPHONE\r\n\r\nEMAIL\r\n\r\nSMS\r\n\r\nVOICEMAIL\r\n\r\nESIGN"},"actionGroup":{"type":["string","null"],"description":"Group/type of action performed. E.g. REM, BOF, VARSE, or IKVAR"},"actionDate":{"type":"string","description":"Date when the action was performed","format":"date-time"}},"additionalProperties":false,"description":"Other parties related to the case, like a field collector"},"Cases_PutCaseClaimant":{"type":"object","properties":{"referenceCode":{"type":["string","null"],"description":"Some optional reference code for the claimant"},"idNumber":{"type":["string","null"],"description":"ID number (SSN or company registration number)."},"fullName":{"type":["string","null"],"description":"Full name of the claimant."},"street":{"type":["string","null"],"description":"Main address - Street"},"houseNo":{"type":["string","null"],"description":"Main address - House number"},"houseNoExtension":{"type":["string","null"],"description":"Main address - House number extension"},"city":{"type":["string","null"],"description":"Main address - City"},"zipCode":{"type":["string","null"],"description":"Main address - ZipCode"},"countryCode":{"type":["string","null"],"description":"Main address - Country code"}},"additionalProperties":false,"description":"The actual claimant of the debt"},"Cases_PutCaseDebt":{"type":"object","properties":{"description":{"type":["string","null"],"description":"Description of the invoice/claim"},"referenceNumber":{"type":["string","null"],"description":"Reference number of the claim, e.g. the invoice number"},"ledgerRef":{"type":["string","null"],"description":"Reference number of the claim in the client ledger"},"debtGroup":{"type":["string","null"],"description":"The code for the specific group of debts, as defined in CLVR"},"ourReference":{"type":["string","null"],"description":"Our reference on the invoice"},"yourReference":{"type":["string","null"],"description":"Your reference on the invoice"},"currencyCode":{"type":["string","null"],"description":"Currency code of the claim, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":["number","null"],"description":"Original invoice principal amount","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal amount of the claim","format":"double"},"originalInterest":{"type":["number","null"],"description":"Total accrued interest of the claim","format":"double"},"remainingInterest":{"type":["number","null"],"description":"Remaining accrued interest of the claim until specified date","format":"double"},"originalVAT":{"type":["number","null"],"description":"Original invoice VAT amount","format":"double"},"remainingVAT":{"type":["number","null"],"description":"Remaining VAT amount of the claim","format":"double"},"exchRate":{"type":["number","null"],"description":"Exchange rate used for the invoice","format":"double"},"exchDate":{"type":["string","null"],"description":"Exchange date used for the invoice","format":"date-time"},"billDate":{"type":"string","description":"Invoice or claim date","format":"date-time"},"dueDate":{"type":["string","null"],"description":"Due date for the invoice/claim","format":"date-time"},"paymentCondition":{"type":["integer","null"],"description":"Payment condition as number of days between bill date and due date","format":"int32"},"interestCondition":{"type":["integer","null"],"description":"Number of days after bill date when interest calculation starts","format":"int32"},"interestRate":{"type":["number","null"],"description":"Interest rate","format":"double"},"interestCode":{"type":["string","null"],"description":"Interest code as defined in CLVR, e.g. FIXED, ÖGR, F_365_BASE"},"interestSpecificCalculationType":{"type":["string","null"],"description":"Activates specific interest calculation in CLVR, e.g. FI-B2C and FI-B2B"},"interestSpecificCalculationCutoffDate":{"type":["string","null"],"description":"Cut-off date for specific interest calculation in CLVR","format":"date-time"},"fixedInterestTermStart":{"type":["string","null"],"description":"Fixing date for current fixed interest term","format":"date-time"},"interestFrom":{"type":["string","null"],"description":"Date when current interest started to be calculated","format":"date-time"},"interestTo":{"type":["string","null"],"description":"Date up until interest has been calculated","format":"date-time"},"accountRefType":{"type":["string","null"],"description":"Account reference type"},"oneTimeServiceFees":{"type":["number","null"],"description":"Onetime service fees","format":"double"},"loanPurpose":{"type":["string","null"],"description":"The purpose of the loan, valid codes:\r\n\r\nHomeLoan, HomeLoanForFirstHome, HomeLoanForLeisureHouse, HomeLoanForInvestmentPurposes, StudentLoan,\r\nLoanForPurchaseOfVehicleOrCraft, OtherConsumerCredit, OtherLoan, LoanForBusinessActivities, GuaranteeReceivable"},"loanTypeCode":{"type":["string","null"],"description":"The type of loan, valid codes:\r\n\r\nLumpSumLoan, RunningAccountLoan, Leasing, GuaranteeReceivable"},"agreementDate":{"type":["string","null"],"description":"Date for the agreement on which the claim is based on","format":"date-time"},"agreementDueDate":{"type":["string","null"],"description":"Due date for the agreement on which the claim is based on","format":"date-time"},"agreementEndDate":{"type":["string","null"],"description":"End date for the agreement on which the claim is based on","format":"date-time"},"enforceableDebtType":{"type":["string","null"],"description":"Enforcable debt type, as defined in CLVR"},"goodsRelatedCredit":{"type":["boolean","null"],"description":"Is the claim a credit rated to goods"},"effectiveYear":{"type":["integer","null"],"description":"Effective year of the claim","format":"int32"},"debtPrincipalType":{"type":["string","null"],"description":"Optional debt principal type, valid codes:\r\n\r\nINVOICE, CREDIT_INVOICE, INTEREST_INVOICE, FINAL_INVOICE_CREDITDEBT, OFFER_INVOICE, BILLING, CAPITALIZED_INTEREST, INTEREST_COMPENSATION,\r\nTERMINATED_ACCOUNT, PREREDEMPTION, LOAN_INTEREST, SUPPLIER_INVOICE, CREDIT_EXPENSE"},"grantedCreditAmount":{"type":["number","null"],"description":"Granted credit amount","format":"double"},"usedCreditAmount":{"type":["number","null"],"description":"Used credit amount or the original granted amount","format":"double"},"originalEir":{"type":["number","null"],"description":"Original EIR","format":"double"},"lenderName":{"type":["string","null"],"description":"Original lender name of the loan"},"periodOfLimitation":{"type":["string","null"],"description":"Period of limitation"},"limitationDate":{"type":["string","null"],"description":"Claim's limitation date","format":"date-time"},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"description":"Additional extra fields for the debt. Needs to already be defined in CLVR."},"interestRateCeilingCode":{"type":["string","null"],"description":"Interest ceiling code"},"agreedInterestCode":{"type":["string","null"],"description":"Agreed interest code"},"agreedInterestRate":{"type":["number","null"],"description":"Agreed interest rate","format":"double"}},"additionalProperties":false,"description":"All debts/invoices/claims in the case"},"Cases_PutCaseDebtor":{"type":"object","properties":{"idNumber":{"type":["string","null"],"description":"Debtor ID number (SSN or company registration number)."},"juridicalType":{"type":["integer","null"],"description":"Juridical type of debtor, if known\r\n.\r\n0 = Natural person\r\n\r\n1 = Company, Organization or Sole proprietorship","format":"int32"},"debtorRole":{"type":["string","null"],"description":"The role of this debtor in the case.\r\n\r\nDEBTOR (default)\r\n\r\nGUARANTOR\r\n\r\nCO-APPLICANT\r\n\r\nESTATEBENEFICIARY\r\n\r\nTRADINGCOMPANY_PARTNER\r\n\r\nGENERAL_PARTNER\r\n\r\nCUSTODIAN\r\n\r\nLIMITED_PARTNER\r\n\r\nREPURCHASER\r\n\r\nBANK_GUARANTOR\r\n\r\nOTHER_PLEDGER\r\n\r\nBOARD_MEMBER\r\n\r\nGUARANTOR_AND_OTHER_PLEDGER\r\n\r\nGUARANTOR_AND_COMPANY_PARTNER\r\n\r\nSOLE_PROPRIETOR_USING_A_TRADE_NAME\r\n\r\nSOLVENT_PERSON"},"placeOfBirth":{"type":["string","null"],"description":"Place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Date of birth.","format":"date-time"},"underAged":{"type":["boolean","null"],"description":"Debtor was under-aged when the claim was created"},"protected":{"type":["boolean","null"],"description":"Debtor has secret name and address"},"cultureCode":{"type":["string","null"],"description":"Culture code, e.g. sv-SE"},"companyname":{"type":["string","null"],"description":"Company name of the debtor. Can not be combined with first/middle/last name."},"firstname":{"type":["string","null"],"description":"First name of the debtor. Can not be combined with company name."},"middlename":{"type":["string","null"],"description":"Middle name of the debtor. Can not be combined with company name."},"lastname":{"type":["string","null"],"description":"Last/family name of the debtor. Can not be combined with company name."},"initials":{"type":["string","null"],"description":"Name initials"},"nameSuffix":{"type":["string","null"],"description":"Name suffix"},"careOf":{"type":["string","null"],"description":"Main address - c/o"},"street":{"type":["string","null"],"description":"Main address - Street"},"houseNo":{"type":["string","null"],"description":"Main address - House number"},"houseNoExtension":{"type":["string","null"],"description":"Main address - House number extension"},"city":{"type":["string","null"],"description":"Main address - City"},"zipCode":{"type":["string","null"],"description":"Main address - ZipCode"},"stateCode":{"type":["string","null"],"description":"Main address - State code"},"countryCode":{"type":["string","null"],"description":"Main address - Country code"},"domicile":{"type":["string","null"],"description":"Domicile."},"municipalCode":{"type":["string","null"],"description":"Municipal code."},"naceCode":{"type":["string","null"],"description":"NACE code."},"homePhone":{"type":["string","null"],"description":"Home phone number."},"workPhone":{"type":["string","null"],"description":"Work phone number."},"cellularPhone":{"type":["string","null"],"description":"Cellular phone number."},"telefax":{"type":["string","null"],"description":"Telefax number."},"emails":{"type":["array","null"],"items":{"type":"string"},"description":"E-mails"},"languageCode":{"type":["string","null"],"description":"Language code e.g. sv, en etc. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Preferred currency code, e.g. SEK, NOK, EUR etc."},"creditorDebtorRef":{"type":["string","null"],"description":"Debtor reference number used by the client/creditor."},"companyType":{"type":["string","null"],"description":"Company type of the debtor as defined in CLVR, e.g.\r\n\r\nFor GB: LTD, PLC\r\n\r\nFor SE: SLK, AB, EKF, SIF, HB\r\n\r\nFor FI: YE, KY, AY, OY, OSK, RY, SR, ASOY, KOY\r\n\r\nFor NL: EENMANSZAAK, BV, NV, MAATSCHAP, VOF, CV, VERENIGING_VOLL, VERENIGING_BEPK, COORPORATIE, STICHTING, KERKGENOOTSCHAP, VVE, OVERHEID, BUITVENN\r\n"},"digitalMailbox":{"type":["boolean","null"],"description":"Use digital mailbox, if available."},"allowCalls":{"type":["boolean","null"],"description":"The debtor can be contacted by phone"},"allowSms":{"type":["boolean","null"],"description":"The debtor can be contacted by SMS/text messages"},"allowEmail":{"type":["boolean","null"],"description":"The debtor can be contacted by email"},"extraFields":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_ExtraFieldValue"},"description":"Additional extra fields for the debtor. Needs to already be defined in CLVR."}},"additionalProperties":false,"description":"Debtor information for case"},"Cases_PutCaseEnergyDebt":{"type":"object","properties":{"installationId":{"type":["string","null"],"description":"Facility installation identity/number"},"netOwnerReferenceCode":{"type":["string","null"],"description":"The reference code of the network/grid owner. Needs to already exist in CLVR."},"hasMoved":{"type":"boolean","description":"Has the debtor moved from the facility"},"facilityStreet":{"type":["string","null"],"description":"Facility address - Street"},"facilityHouseNo":{"type":["string","null"],"description":"Facility address - House number"},"facilityHouseNoExtension":{"type":["string","null"],"description":"Facility address - House number extension"},"facilityCity":{"type":["string","null"],"description":"Facility address - City"},"facilityZipCode":{"type":["string","null"],"description":"Facility address - ZipCode"},"servedAt":{"type":["string","null"],"description":"Date when the debtor was served","format":"date-time"},"disconnect":{"type":"boolean","description":"Should the facility be disconnected from the grid"},"disconnected":{"type":"boolean","description":"Have the facility already bene disconnected from the grid"},"disconnectAt":{"type":["boolean","null"],"description":"Date for disconnection"},"disconnectionWeek":{"type":["integer","null"],"description":"Week number for disconnection","format":"int32"},"disconnectionYear":{"type":["integer","null"],"description":"Year for disconnection, including century","format":"int32"}},"additionalProperties":false,"description":"Additional information for utility debts"},"Cases_PutCaseFee":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of the fee as defined in CLVR, e.g. REMIND, INKVARSEL, KK"},"description":{"type":["string","null"],"description":"Description of the invoice/claim"},"feeDate":{"type":["string","null"],"description":"Date when the fee was added to the claim","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code of the fee, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":["number","null"],"description":"Original invoice principal amount","format":"double"},"remainingPrincipal":{"type":["number","null"],"description":"Remaining principal amount of the claim","format":"double"},"interestRate":{"type":["number","null"],"description":"Interest rate","format":"double"},"interestCode":{"type":["string","null"],"description":"Interest code as defined in CLVR, e.g. FIXED, ÖGR, F_365_BASE"},"interestFrom":{"type":["string","null"],"description":"Date when current interest started to be calculated","format":"date-time"}},"additionalProperties":false,"description":"All existing fees for the claim in the case"},"Cases_PutCaseRelation":{"type":"object","properties":{"partyGuid":{"type":["string","null"],"description":"A Guid to an existing party in CLVR"}},"additionalProperties":false,"description":"Other parties related to the case, like a field collector"},"Cases_PutCaseResult":{"type":"object","properties":{"caseGuids":{"type":["array","null"],"items":{"type":"string"},"description":"Array of case guid returned after registration."},"impStockId":{"type":"integer","description":"Case stock id returned after registration.","format":"int32"}},"additionalProperties":false,"description":"Case stock id returned after registration"},"Cases_PutDocument":{"required":["note","originalFileName"],"type":"object","properties":{"note":{"minLength":1,"type":"string","description":"Free extra information related to the document."},"documentType":{"type":["string","null"],"description":"Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik)."},"loggedAt":{"type":["string","null"],"description":"Document creation date.","format":"date-time"},"originalFileName":{"minLength":1,"type":"string","description":"The file name to be generated instead of an auto-generated one."},"searchValue":{"type":["string","null"],"description":"Document specific search value or reference number."},"externalLink":{"type":["string","null"],"description":"Link to the document, if it exists on external archive."},"important":{"type":["boolean","null"],"description":"Document importancy flag."},"fileDataBase64":{"type":["string","null"],"description":"Base64-encoded file body."}},"additionalProperties":false,"description":"Document information to add"},"Cases_PutPaymentOnCase":{"type":"object","properties":{"paymentReference":{"type":["string","null"],"description":"Payment reference string"},"paymentDate":{"type":"string","description":"Payment date","format":"date-time"},"accountingDate":{"type":["string","null"],"description":"Accounting date for G/L","format":"date-time"},"paymentAmount":{"type":"number","description":"Total paid amount","format":"double"},"currencyCode":{"type":["string","null"],"description":"The currency the paid payment"},"receivedAmount":{"type":["number","null"],"description":"Received amount in G/L currency","format":"double"},"exchangeDate":{"type":["string","null"],"description":"Date for currency exchange","format":"date-time"},"source":{"type":["string","null"],"description":"Information of the origin of the payment"},"specification":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Cases_PaymentSpecOnCase"},"description":"Specification of invoices to pay"}},"additionalProperties":false,"description":"Register a direct payment on the case"},"InvoiceSyncRequest":{"type":"object","properties":{"correlationId":{"type":"string","description":"Unique identifier for the synchronization request. Use the original identifier when requesting a resend."},"timestamp":{"type":"string","description":"Request timestamp in ISO 8601 format, for example 2026-10-12T12:00:00Z.","format":"date-time"},"callbackUrl":{"type":"string","description":"Your endpoint for receiving the generated callback payload."},"filters":{"type":"object","description":"Optional synchronization filter. Omit filters for delta synchronization.","properties":{"invoiceIds":{"type":"array","items":{"type":"string"},"description":"Invoice identifiers to synchronize. Takes precedence when both invoiceIds and dateRange are supplied. Without this list, the request covers invoices for the assigned creditor within the applicable range."},"dateRange":{"type":"object","description":"Requested update period. Targeted date-range requests do not advance the delta synchronization state.","properties":{"from":{"type":"string","description":"First date of the requested range, in YYYY-MM-DD format. If omitted from a date-range request, the documented default is 2026-01-01.","format":"date"},"to":{"type":"string","description":"Last date of the requested range, in YYYY-MM-DD format. If omitted, defaults to the current date.","format":"date"}}}}},"resend":{"type":"string:","description":"The supplied JSON examples use strings. \"true\" requests redelivery for this correlationId; \"false\" or omission does not allow an existing response to be generated again. Acceptance of JSON boolean values is TBD.","enum":["true","false"]}},"required":["correlationId","timestamp","callbackUrl"],"example":{"correlationId":"00000000-0000-4000-8000-000000000003","timestamp":"2026-10-23T12:54:00Z","callbackUrl":"https://integrator.example.com/callbacks/invoice-sync","filters":{"dateRange":{"from":"2026-10-01","to":"2026-10-11"}},"resend":"false"}},"InvoiceSyncRequestResponse":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates the outcome of the synchronization request. Check the response body rather than relying on the HTTP status alone."},"recordsfound":{"type":"integer","description":"Number of invoices found for the requested synchronization conditions."},"status":{"type":"string","description":"\"OK\" when records are returned. \"Nothing to do\" when no invoices have changed, no matching invoices exist or the user has no access to the specified invoices."},"time":{"type":"string","description":"Timestamp of the request response. The example includes a timezone offset."},"correlationid":{"type":"string","description":"Echo of the request correlationId. This field uses a lowercase id in the immediate response."},"syncid":{"type":"integer","description":"Synchronization identifier for troubleshooting."}},"example":{"success":true,"recordsfound":2,"status":"OK","time":"2026-10-23T14:54:24+02:00","correlationid":"00000000-0000-4000-8000-000000000003","syncid":1},"required":["success","recordsfound","status","time","correlationid","syncid"]},"InvoiceSyncCallback":{"type":"object","properties":{"correlationId":{"type":"string","description":"Correlation identifier from the synchronization request."},"timestamp":{"type":"string","description":"Timestamp of the callback payload."},"syncType":{"type":"string","description":"Set to \"sync\"."},"status":{"type":"string","description":"Set to \"success\"."},"data":{"type":"array","items":{"type":"object","properties":{"orderId":{"type":"string","description":"Invoice identifier in the delivered update."},"currentBalance":{"type":"number","description":"Remaining invoice principal/balance reported by the synchronization service."},"originalBalance":{"type":"number","description":"Original invoice principal/balance reported by the synchronization service."},"status":{"type":"string","description":"Returns \"Active\" when the invoice is open/unpaid. When the invoice is closed, returns the closure code. Closure codes: \"Booked\", \"Credited\", \"Debt sold to external party\", \"Deleted\", \"Disbursed\", \"Loan closed\", \"Paid\", \"Paid in full\", \"Paid to creditor\", \"Rejected\"."},"lastUpdatedAt":{"type":"string","description":"Timestamp of the invoice update."},"closureDate":{"type":"string","format":"date","description":"Date when the invoice was closed. Included only for closed invoices; omitted when the invoice is open."},"recourseStatus":{"type":"string","description":"Placeholder for future enhancements."}},"required":["orderId","currentBalance","originalBalance","status","lastUpdatedAt","recourseStatus"],"allOf":[{"if":{"properties":{"status":{"const":"Active"}},"required":["status"]},"then":{"not":{"required":["closureDate"]}},"else":{"required":["closureDate"]}}]},"description":"Consolidated invoice updates for the creditor assigned to the requesting account."}},"example":{"correlationId":"00000000-0000-4000-8000-000000000003","timestamp":"2026-10-23T12:54:24.483","syncType":"sync","status":"success","data":[{"orderId":"DEMO-INVOICE-001","currentBalance":150.0,"originalBalance":150.0,"status":"Active","lastUpdatedAt":"2026-05-12T06:05:28","recourseStatus":""},{"orderId":"DEMO-INVOICE-002","currentBalance":0.0,"originalBalance":250.0,"status":"Paid in full","lastUpdatedAt":"2026-03-19T09:59:47.117","closureDate":"2026-04-16","recourseStatus":""}]},"required":["correlationId","timestamp","syncType","status","data"]},"InvoicePaymentEventsCallback":{"type":"array","description":"Invoice payment callback payload. All event fields and all data fields are mandatory. Callback delivery supports HTTP Basic authentication, configured with an HTTPS endpoint, username and password. Configuration values are separate from the event payload.","items":{"type":"object","properties":{"correlationId":{"type":"string","description":"Correlation identifier for the payment event."},"timestamp":{"type":"string","description":"Timestamp when the payment event was sent."},"syncType":{"type":"string","description":"Set to \"event\".","const":"event"},"syncSubType":{"type":"string","description":"Set to \"invoicepaid\".","const":"invoicepaid"},"status":{"type":"string","description":"Empty string in the supplied payload format."},"data":{"type":"object","description":"Invoice and payment information for this event.","properties":{"orderId":{"type":"string","description":"Invoice number associated with the payment."},"invoiceGuid":{"type":"string","description":"Unique identifier of the invoice."},"currentBalance":{"type":"string","description":"Remaining invoice balance. Sent as a JSON string in the supplied format."},"paymentRegistrationDate":{"type":"string","description":"Date when the payment was registered."},"paymentDate":{"type":"string","description":"Payment date."},"paidAmount":{"type":"string","description":"Paid amount. Sent as a JSON string in the supplied format."},"currencyCode":{"type":"string","description":"Currency code for the payment, for example \"SEK\"."},"bankAccountId":{"type":"string","description":"Identifier of the bank account associated with the payment."},"bankAccountDescription":{"type":"string","description":"Description of the bank account associated with the payment."},"bankAccountOwnerType":{"type":"string","description":"Bank account owner type: \"Solicitor\" when the source owner type is 1, \"Client\" when it is 2, and \"Unknown\" for any other value, including null.","enum":["Solicitor","Client","Unknown"]}},"required":["orderId","invoiceGuid","currentBalance","paymentRegistrationDate","paymentDate","paidAmount","currencyCode","bankAccountId","bankAccountDescription","bankAccountOwnerType"]}},"required":["correlationId","timestamp","syncType","syncSubType","status","data"]},"example":[{"correlationId":"00000000-0000-4000-8000-000000000004","timestamp":"2026-10-21T10:00:00Z","syncType":"event","syncSubType":"invoicepaid","status":"","data":{"orderId":"DEMO-INVOICE-001","invoiceGuid":"00000000-0000-4000-8000-000000000005","currentBalance":"75.00","paymentRegistrationDate":"2026-10-21","paymentDate":"2026-10-20","paidAmount":"25.00","currencyCode":"SEK","bankAccountId":"DEMO-ACCOUNT-001","bankAccountDescription":"Demo payment account","bankAccountOwnerType":"Client"}}],"x-capway-callback-configuration":{"endpoint":"HTTPS callback receiver URL","authentication":"HTTP Basic","credentials":["username","password"]}},"Debtors_CaseInfo":{"type":"object","properties":{"caseGuid":{"type":["string","null"],"description":"Collection case unique identifier."},"caseNumber":{"type":["string","null"],"description":"Case number."},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"clientName":{"type":["string","null"],"description":"Client full name"},"registrationDate":{"type":"string","description":"Case registration date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"originalFee":{"type":"number","description":"Original fee.","format":"double"},"originalInterest":{"type":"number","description":"Original interest.","format":"double"},"originalSum":{"type":"number","description":"Original total amount.","format":"double"},"paidPrincipal":{"type":"number","description":"Paid principal.","format":"double"},"paidFee":{"type":"number","description":"Paid fee.","format":"double"},"paidInterest":{"type":"number","description":"Paid interest.","format":"double"},"paidToThirdParty":{"type":"number","description":"Not used now, always 0.","format":"double"},"paidSum":{"type":"number","description":"Paid total amount.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"remainingFee":{"type":"number","description":"Remaining fee.","format":"double"},"remainingInterest":{"type":"number","description":"Remaining interest.","format":"double"},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."},"closureCode":{"type":["string","null"],"description":"Closure code"},"closureDate":{"type":["string","null"],"description":"Closure date","format":"date-time"},"mainDebtorName":{"type":["string","null"],"description":"Main debtor full name"},"juridicalType":{"type":"integer","description":"Main debtor juridical type\r\n\r\n0 = Natural person\r\n\r\n1 = Company, Organization or Sole proprietorship","format":"int32"},"placeOfBirth":{"type":["string","null"],"description":"Main debtor's place of birth (only for natural persons)"},"birthDate":{"type":["string","null"],"description":"Main debtor date of birth (only for natural persons)","format":"date-time"},"naceCode":{"type":["string","null"],"description":"NACE code if main debtor is a company"},"workPhone":{"type":["string","null"],"description":"Main debtor work phone"},"cellularPhone":{"type":["string","null"],"description":"Main debtor cellular phone"},"email":{"type":["string","null"],"description":"Main debtor email"}},"additionalProperties":false,"description":"Short case info"},"Debtors_Cases":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_CaseInfo"},"description":"Client unique identifier."}},"additionalProperties":false,"description":"List of filtered cases"},"Debtors_ConversationNotificationChannel":{"enum":[0,1,2,3],"type":"integer","description":"Preferred communication channel for conversation notifications.","format":"int32"},"Debtors_CustomJson":{"type":"object","description":"The json document contains custom data and varies depending of implementation"},"Debtors_DebtorInfo":{"type":"object","properties":{"debtorGuid":{"type":["string","null"],"description":"Debtor unique identifier."},"debtorReference":{"type":["string","null"],"description":"Party reference code for the debtor."},"idNumber":{"type":["string","null"],"description":"Debtor ID number (SSN or company registration number)."},"juridicalType":{"$ref":"#/components/schemas/Debtors_JuridicalType"},"placeOfBirth":{"type":["string","null"],"description":"Place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Date of birth.","format":"date-time"},"fullName":{"type":["string","null"],"description":"Full name of the debtor."},"street":{"type":["string","null"],"description":"Main address - Street"},"houseNo":{"type":["string","null"],"description":"Main address - House number"},"houseNoExtension":{"type":["string","null"],"description":"Main address - House number extension"},"city":{"type":["string","null"],"description":"Main address - City"},"zipCode":{"type":["string","null"],"description":"Main address - ZipCode"},"stateCode":{"type":["string","null"],"description":"Main address - State code"},"countryCode":{"type":["string","null"],"description":"Main address - Country code"},"underAged":{"type":["boolean","null"],"description":"Is the debtor underaged."},"domicile":{"type":["string","null"],"description":"Debtor's domicile."},"municipalCode":{"type":["string","null"],"description":"Debtor's municipal code."},"naceCode":{"type":["string","null"],"description":"NACE code."},"homePhone":{"type":["string","null"],"description":"Home phone number."},"workPhone":{"type":["string","null"],"description":"Work phone number."},"cellularPhone":{"type":["string","null"],"description":"Cellular phone number."},"email":{"type":["string","null"],"description":"E-mail."},"languageCode":{"type":["string","null"],"description":"Language code e.g. sv, en etc. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."}},"additionalProperties":false,"description":"Short debtor info"},"Debtors_DebtorPaymentPlanInfo":{"type":"object","properties":{"paymentPlanGuid":{"type":["string","null"],"description":"Payment plan unique identifier."},"registrationDate":{"type":"string","description":"Registration date","format":"date-time"},"startDate":{"type":"string","description":"Start date","format":"date-time"},"active":{"type":"integer","description":"Type of payment plan\r\n\r\n0 = Inactive\r\n\r\n1 = Active\r\n\r\n2 = Proposal","format":"int32"},"paymentPlanType":{"type":"integer","description":"Type of payment plan\r\n\r\n1 = Annuity\r\n\r\n2 = Annuity, limited\r\n\r\n3 = Linear\r\n\r\n4 = Linear, limited\r\n\r\n5 = Debt relief","format":"int32"},"numberOfPayments":{"type":"integer","description":"Total number of payments","format":"int32"},"remainingNumberOfPayments":{"type":"integer","description":"Remaining number of payments","format":"int32"},"amount":{"type":"number","description":"Amount per period. Might differ between periods.","format":"double"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"paymentType":{"type":"integer","description":"Type of payment\r\n\r\n1 = Ordinary payment\r\n\r\n2 = Direct debit\r\n\r\n3 = Netting\r\n\r\n4 = Enforced netting","format":"int32"},"intervalType":{"type":"integer","description":"Type of interval\r\n\r\n0 = Unknown\r\n\r\n1 = Day in month (interval is day in month)\r\n\r\n2 = Last day in month (interval is offset from last day)\r\n\r\n3 = Monthly\r\n\r\n4 = Days\r\n\r\n5 = One time","format":"int32"},"interval":{"type":"integer","description":"Interval or day offset depending on IntervalType","format":"int32"}},"additionalProperties":false,"description":"Short debtor payment plan info"},"Debtors_DebtorPaymentplanCaseLink":{"type":"object","properties":{"caseGuid":{"type":["string","null"],"description":"Case unique identifier."},"caseNumber":{"type":["string","null"],"description":"Case number"},"clientReference":{"type":["string","null"],"description":"Client reference number"},"clientGuid":{"type":["string","null"],"description":"Client unique identifier"}},"additionalProperties":false,"description":"Case inclded in payment plan"},"Debtors_DebtorPaymentplanPayment":{"type":"object","properties":{"paymentNo":{"type":"integer","description":"Payment order number","format":"int32"},"invoiceDate":{"type":"string","description":"Date when to send the invoice","format":"date-time"},"dueDate":{"type":"string","description":"Last payment date","format":"date-time"},"instalment":{"type":"number","description":"Instalment part of the payment","format":"double"},"interest":{"type":"number","description":"Interest part of the payment","format":"double"},"fee":{"type":"number","description":"Fee part of the payment","format":"double"},"amount":{"type":"number","description":"Total amount to pay","format":"double"},"unpaid":{"type":"number","description":"Amount still unpaid for this payment","format":"double"},"paidDate":{"type":["string","null"],"description":"Date when this invoice was paid","format":"date-time"}},"additionalProperties":false,"description":"A single payment/instalment in payment plan"},"Debtors_DebtorPaymentplanPeriod":{"type":"object","properties":{"periodNo":{"type":"integer","description":"Payment plan unique identifier.","format":"int32"},"startDate":{"type":"string","description":"Start date","format":"date-time"},"endDate":{"type":["string","null"],"description":"End date","format":"date-time"},"intervalType":{"type":"integer","description":"Type of interval\r\n\r\n0 = Unknown\r\n\r\n1 = Day in month (interval is day in month)\r\n\r\n2 = Last day in month (interval is offset from last day)\r\n\r\n3 = Monthly\r\n\r\n4 = Days\r\n\r\n5 = One time","format":"int32"},"interval":{"type":"integer","description":"Interval or day offset depending on IntervalType","format":"int32"},"amount":{"type":"number","description":"Amount per period. Might differ between periods.","format":"double"},"paymentType":{"type":"integer","description":"Type of payment\r\n\r\n1 = Ordinary payment\r\n\r\n2 = Direct debit\r\n\r\n3 = Netting\r\n\r\n4 = Enforced netting","format":"int32"}},"additionalProperties":false,"description":"Debtor payment plan period"},"Debtors_DebtorPaymentplanSpecifiedPayment":{"type":"object","properties":{"paymentNo":{"type":"integer","description":"Payment order number","format":"int32"},"specifiedDueDate":{"type":["string","null"],"description":"Last payment date","format":"date-time"},"specifiedAmount":{"type":["number","null"],"description":"Total amount to pay","format":"double"}},"additionalProperties":false,"description":"Specification of a deviating payment/instalment in payment plan"},"Debtors_DebtorSpecificCaseInfo":{"type":"object","properties":{"caseGuid":{"type":["string","null"],"description":"Collection case unique identifier."},"caseNumber":{"type":["string","null"],"description":"Case number."},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"clientName":{"type":["string","null"],"description":"Client full name"},"clientGuid":{"type":["string","null"],"description":"Client guid"},"debtorRole":{"type":["string","null"],"description":"The role of this debtor in the case.\r\n\r\nDEBTOR (default)\r\n\r\nGUARANTOR\r\n\r\nCO-APPLICANT\r\n\r\nESTATEBENEFICIARY\r\n\r\nTRADINGCOMPANY_PARTNER\r\n\r\nGENERAL_PARTNER\r\n\r\nCUSTODIAN\r\n\r\nLIMITED_PARTNER\r\n\r\nREPURCHASER\r\n\r\nBANK_GUARANTOR\r\n\r\nOTHER_PLEDGER\r\n\r\nBOARD_MEMBER\r\n\r\nGUARANTOR_AND_OTHER_PLEDGER\r\n\r\nGUARANTOR_AND_COMPANY_PARTNER\r\n\r\nSOLE_PROPRIETOR_USING_A_TRADE_NAME\r\n\r\nSOLVENT_PERSON"},"regDate":{"type":"string","description":"Case registration date.","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."}},"additionalProperties":false,"description":"Short debtor specific case info"},"Debtors_DebtorTotalSummary":{"type":"object","properties":{"fullName":{"type":["string","null"],"description":"Name of the debtor"},"idNumber":{"type":["string","null"],"description":"Debtor ID number (SSN or company registration number)."},"debtorGuid":{"type":["string","null"],"description":"The debtor guid"},"paymentReference":{"type":["string","null"],"description":"Debtor specific payment reference number (OCR/KID)"},"bankAccountNo":{"type":["string","null"],"description":"Preferred bank account number for debtor payments"},"remainingPrincipal":{"type":"number","description":"The total remaining principal amount for this debtor","format":"double"},"remainingInterest":{"type":"number","description":"The total remaining accrued interest for this debtor","format":"double"},"remaininFee":{"type":"number","description":"The total remaining fee amount for this debtor","format":"double"},"remainingSum":{"type":"number","description":"The total remaining amount for this debtor","format":"double"},"activeCases":{"type":"integer","description":"The total number of active cases for this debtor","format":"int32"},"closedCases":{"type":"integer","description":"The total number of closed cases for this debtor","format":"int32"},"cases":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorSpecificCaseInfo"},"description":"Array with all active cases for this debtor"}},"additionalProperties":false,"description":"Debtor summary for all cases."},"Debtors_Debtors":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorInfo"},"description":"Debtor information"}},"additionalProperties":false,"description":"List of filtered debtors"},"Debtors_ExtraFieldValue":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Name of Extra field data"},"value":{"type":["array","null"],"items":{"type":"string"},"description":"The value of the extra field"}},"additionalProperties":false,"description":"Extra field value"},"Debtors_GenderType":{"enum":[0,1,2],"type":"integer","description":"Gender of a person.","format":"int32"},"Debtors_GetAddress":{"type":"object","properties":{"addressGuid":{"type":["string","null"],"description":"Unique address guid"},"addressType":{"type":["string","null"],"description":"Type of address. LEGAL or user defined."},"fullName":{"type":["string","null"],"description":"Name to use instead on the real name when using this address, e.g. an invoice reading service. Usually null."},"street":{"type":["string","null"],"description":"Street"},"houseNo":{"type":["string","null"],"description":"House number"},"houseNoExtension":{"type":["string","null"],"description":"House number extension"},"city":{"type":["string","null"],"description":"City"},"zipCode":{"type":["string","null"],"description":"Zipcode"},"stateCode":{"type":["string","null"],"description":"State code"},"countryCode":{"type":["string","null"],"description":"Country code"},"fullAddress":{"type":["string","null"],"description":"Fully formatted address including new lines"},"addressNotValidDate":{"type":["string","null"],"description":"Date when the address was marked as not valid anymore","format":"date-time"},"defaultAddress":{"type":["boolean","null"],"description":"Flag if this address should be treated as the default address"},"validFrom":{"type":["string","null"],"description":"Date when the address is valid from","format":"date-time"},"validTo":{"type":["string","null"],"description":"Date when the address is valid to","format":"date-time"},"validatedAt":{"type":["string","null"],"description":"Date when the address last validated","format":"date-time"},"validOverride":{"type":["boolean","null"],"description":"Flag to overrule the valid from/to interval"},"lastUpdatedAt":{"type":["string","null"],"description":"Timestamp when the address was last updated","format":"date-time"}},"additionalProperties":false,"description":"Address values"},"Debtors_GetAddresses":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned filtered addresses","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered addresses","format":"int32"},"total":{"type":"integer","description":"Total number of filtered addresses","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_GetAddress"},"description":"All filtered addresses"}},"additionalProperties":false,"description":"List of filtered address"},"Debtors_GetCase":{"type":"object","properties":{"caseNumber":{"type":["string","null"],"description":"Case number."},"clientName":{"type":["string","null"],"description":"Client full name"},"clientReferenceNumber":{"type":["string","null"],"description":"Party reference code."},"closureCode":{"type":["string","null"],"description":"Closure code"},"closureDate":{"type":["string","null"],"description":"Closure date","format":"date-time"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"description":{"type":["string","null"],"description":"Case description."},"originalFee":{"type":"number","description":"Original fee.","format":"double"},"originalInterest":{"type":"number","description":"Original interest.","format":"double"},"originalPrincipal":{"type":"number","description":"Original principal.","format":"double"},"originalSum":{"type":"number","description":"Original total amount.","format":"double"},"paidFee":{"type":"number","description":"Paid fee.","format":"double"},"paidInterest":{"type":"number","description":"Paid interest.","format":"double"},"paidPrincipal":{"type":"number","description":"Paid principal.","format":"double"},"paidSum":{"type":"number","description":"Paid total amount.","format":"double"},"paidToThirdParty":{"type":"number","description":"Payments to third party not yet remitted","format":"double"},"paymentReferenceNumber":{"type":["string","null"],"description":"OCR-number for case."},"remainingFee":{"type":"number","description":"Remaining fee.","format":"double"},"remainingInterest":{"type":"number","description":"Remaining interest.","format":"double"},"remainingPrincipal":{"type":"number","description":"Remaining principal.","format":"double"},"remainingSum":{"type":"number","description":"Remaining total amount.","format":"double"},"service":{"type":["string","null"],"description":"Collection account service."},"status":{"type":["string","null"],"description":"Collection account status."},"subStatus":{"type":["string","null"],"description":"Collection account substatus."},"registrationDate":{"type":"string","description":"Date when case was created.","format":"date-time"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_Link"},"description":"Links to debtors, client, extrafields, etc."}},"additionalProperties":false,"description":"Case information."},"Debtors_GetDebtor":{"type":"object","properties":{"debtorGuid":{"type":["string","null"],"description":"Debtor unique identifier."},"debtorReference":{"type":["string","null"],"description":"Party reference code."},"idNumber":{"type":["string","null"],"description":"Debtor ID number."},"juridicalType":{"$ref":"#/components/schemas/Debtors_JuridicalType"},"placeOfBirth":{"type":["string","null"],"description":"Debtor's place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Debtor's date of birth.","format":"date-time"},"gender":{"$ref":"#/components/schemas/Debtors_GenderType"},"cultureCode":{"type":["string","null"],"description":"Debtor's time and currency format."},"firstname":{"type":["string","null"],"description":"Debtor's first name."},"middlename":{"type":["string","null"],"description":"Debtor's middle name."},"lastname":{"type":["string","null"],"description":"Debtor's last name."},"nameSuffix":{"type":["string","null"],"description":"Debtor's place of birth."},"domicile":{"type":["string","null"],"description":"Debtor's domicile."},"municipalCode":{"type":["string","null"],"description":"Debtor's municipal code."},"naceCode":{"type":["string","null"],"description":"Debtor's NACE code."},"homePhone":{"type":["string","null"],"description":"Debtor's domestic phone number."},"workPhone":{"type":["string","null"],"description":"Debtor's work phone number."},"cellularPhone":{"type":["string","null"],"description":"Debtor's cellular phone number."},"telefax":{"type":["string","null"],"description":"Debtor's telefax number."},"email":{"type":["string","null"],"description":"Debtor's e-mail."},"languageCode":{"type":["string","null"],"description":"Debtor's language code. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"preferredChannel":{"type":["string","null"],"description":"Debtor's preferred channel of communication (Letter / Email / SMS / E-invoice)."},"underAged":{"type":["boolean","null"],"description":"Is the debtor underaged."},"conversationNotificationChannel":{"$ref":"#/components/schemas/Debtors_ConversationNotificationChannel"},"conversationNotificationEmail":{"type":["string","null"],"description":"Debtor's e-mail for conversation notification."},"conversationNotificationCellularPhone":{"type":["string","null"],"description":"Debtor's cellular phone number for conversation notification."},"regDate":{"type":"string","description":"Date when debtor was created.","format":"date-time"},"links":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_Link"},"description":"Links to adresses, extra fields, scoring, etc."}},"additionalProperties":false,"description":"Debtor information."},"Debtors_GetDebtorPaymentplan":{"type":"object","properties":{"paymentPlanGuid":{"type":["string","null"],"description":"Payment plan unique identifier."},"registrationDate":{"type":"string","description":"Registration date","format":"date-time"},"active":{"type":"integer","description":"Type of payment plan\r\n\r\n0 = Inactive\r\n\r\n1 = Active\r\n\r\n2 = Proposal","format":"int32"},"paymentPlanType":{"type":"integer","description":"Type of payment plan\r\n\r\n1 = Annuity\r\n\r\n2 = Annuity, limited\r\n\r\n3 = Linear\r\n\r\n4 = Linear, limited\r\n\r\n5 = Debt relief","format":"int32"},"numberOfPayments":{"type":"integer","description":"Total number of payments","format":"int32"},"remainingNumberOfPayments":{"type":"integer","description":"Remaining number of payments","format":"int32"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"registrationFee":{"type":"number","description":"Registration fee for the plan","format":"double"},"invoiceFee":{"type":"number","description":"Invoice fee for each payment in the plan","format":"double"},"reminderFee":{"type":"number","description":"Reminder fee for late payment","format":"double"},"feeCurrencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR, etc. for the fees"},"totalAmount":{"type":"number","description":"Total amount to pay for the whole plan","format":"double"},"totalPrincipal":{"type":"number","description":"Total principal amount to pay for the whole plan","format":"double"},"totalInterest":{"type":"number","description":"Total interest amount to pay for the whole plan","format":"double"},"totalFee":{"type":"number","description":"Total fee amount to pay for the whole plan","format":"double"},"annualPercentage":{"type":["number","null"],"description":"Annual percentage calculated for the whole plan","format":"double"},"payments":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorPaymentplanPayment"},"description":"All payments/instalments for the payment plan"},"cases":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorPaymentplanCaseLink"},"description":"All cases covered by the payment plan"},"periods":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorPaymentplanPeriod"},"description":"Periods with different terms in the payment plan"}},"additionalProperties":false,"description":"Debtor payment plan"},"Debtors_GetDebtorPaymentplans":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned items","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered result","format":"int32"},"total":{"type":"integer","description":"Total number of filtered items","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorPaymentPlanInfo"},"description":"Payment plans"}},"additionalProperties":false,"description":"List of filtered payment plans"},"Debtors_GetExtraFields":{"type":"object","properties":{"count":{"type":"integer","description":"Number of returned extra fields","format":"int32"},"skip":{"type":"integer","description":"Offset of filtered extra fields","format":"int32"},"total":{"type":"integer","description":"Total number of filtered extra fields","format":"int32"},"value":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_ExtraFieldValue"},"description":"All filtered extra fields"}},"additionalProperties":false,"description":"List of filtered extra fields"},"Debtors_JuridicalType":{"enum":[0,1],"type":"integer","description":"Type of person, juridically.","format":"int32"},"Debtors_Link":{"type":"object","properties":{"type":{"type":["string","null"],"description":"Type of object"},"name":{"type":["string","null"],"description":"Type of relation"},"href":{"type":["string","null"],"description":"URI to object"},"resource":{"type":["string","null"],"description":"Resource type"},"guid":{"type":["string","null"],"description":"Resource guid"}},"additionalProperties":false,"description":"Generic link to related object"},"Debtors_PatchDebtor":{"type":"object","properties":{"idNumber":{"type":["string","null"],"description":"Customer ID number."},"juridicalType":{"$ref":"#/components/schemas/Debtors_JuridicalType"},"placeOfBirth":{"type":["string","null"],"description":"Place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Date of birth.","format":"date-time"},"gender":{"$ref":"#/components/schemas/Debtors_GenderType"},"cultureCode":{"type":["string","null"],"description":"Culture code."},"fullName":{"type":["string","null"],"description":"Full name of the customer. Optional if FirstName and LastName is used."},"firstname":{"type":["string","null"],"description":"First name of the customer."},"middlename":{"type":["string","null"],"description":"Middle name of the customer."},"lastname":{"type":["string","null"],"description":"Last name of the customer."},"nameSuffix":{"type":["string","null"],"description":"Name suffix."},"domicile":{"type":["string","null"],"description":"Domicile."},"municipalCode":{"type":["string","null"],"description":"Municipal code."},"vatNumber":{"type":["string","null"],"description":"VAT number."},"naceCode":{"type":["string","null"],"description":"NACE code."},"homePhone":{"type":["string","null"],"description":"Home phone number."},"workPhone":{"type":["string","null"],"description":"Work phone number."},"cellularPhone":{"type":["string","null"],"description":"Cellular phone number."},"telefax":{"type":["string","null"],"description":"Telefax number."},"email":{"type":["string","null"],"description":"E-mail."},"languageCode":{"type":["string","null"],"description":"Language code e.g. sv, en etc. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"underAged":{"type":["boolean","null"],"description":"Under aged boolean flag."},"conversationNotificationChannel":{"$ref":"#/components/schemas/Debtors_ConversationNotificationChannel"},"conversationNotificationEmail":{"type":["string","null"],"description":"Debtor's e-mail for conversation notification."},"conversationNotificationCellularPhone":{"type":["string","null"],"description":"Debtor's cellular phone number for conversation notification."}},"additionalProperties":false,"description":"Debtor information for update."},"Debtors_PatchDebtorPaymentplan":{"type":"object","properties":{"payments":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorPaymentplanSpecifiedPayment"},"description":"Deviating payments/instalments in the payment plan"}},"additionalProperties":false,"description":"Register a debtor payment plan"},"Debtors_PingResponse":{"type":"object","additionalProperties":false,"description":"Empty response from ping request"},"Debtors_ProblemDetails":{"type":"object","properties":{"type":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":["integer","null"],"format":"int32"},"detail":{"type":["string","null"]},"instance":{"type":["string","null"]}},"additionalProperties":{}},"Debtors_PutAddress":{"type":"object","properties":{"addressType":{"type":["string","null"],"description":"Type of address. LEGAL or user defined."},"fullName":{"type":["string","null"],"description":"Name to use instead on the real name when using this address, e.g. an invoice reading service. Usually null."},"street":{"type":["string","null"],"description":"Street"},"houseNo":{"type":["string","null"],"description":"House number"},"houseNoExtension":{"type":["string","null"],"description":"House number extension"},"city":{"type":["string","null"],"description":"City"},"zipCode":{"type":["string","null"],"description":"Zipcode"},"stateCode":{"type":["string","null"],"description":"State code"},"countryCode":{"type":["string","null"],"description":"Country code"},"addressNotValidDate":{"type":["string","null"],"description":"Date when the address was marked as not valid anymore","format":"date-time"},"defaultAddress":{"type":["boolean","null"],"description":"Flag if this address should be treated as the default address"},"validFrom":{"type":["string","null"],"description":"Date when the address is valid from","format":"date-time"},"validTo":{"type":["string","null"],"description":"Date when the address is valid to","format":"date-time"}},"additionalProperties":false,"description":"Changeable address values"},"Debtors_PutDebtor":{"type":"object","properties":{"idNumber":{"type":["string","null"],"description":"Debtor ID number (SSN or company registration number)."},"juridicalType":{"$ref":"#/components/schemas/Debtors_JuridicalType"},"placeOfBirth":{"type":["string","null"],"description":"Place of birth."},"dateOfBirth":{"type":["string","null"],"description":"Date of birth.","format":"date-time"},"gender":{"$ref":"#/components/schemas/Debtors_GenderType"},"cultureCode":{"type":["string","null"],"description":"Culture code."},"fullName":{"type":["string","null"],"description":"Full name of the customer. Optional if FirstName and LastName is used."},"firstname":{"type":["string","null"],"description":"First name of the customer."},"middlename":{"type":["string","null"],"description":"Middle name of the customer."},"lastname":{"type":["string","null"],"description":"Last name of the customer."},"nameSuffix":{"type":["string","null"],"description":"Name suffix."},"street":{"type":["string","null"],"description":"Main address - Street"},"houseNo":{"type":["string","null"],"description":"Main address - House number"},"houseNoExtension":{"type":["string","null"],"description":"Main address - House number extension"},"city":{"type":["string","null"],"description":"Main address - City"},"zipCode":{"type":["string","null"],"description":"Main address - ZipCode"},"stateCode":{"type":["string","null"],"description":"Main address - State code"},"countryCode":{"type":["string","null"],"description":"Main address - Country code"},"fullAddress":{"type":["string","null"],"description":"Main address - Full address with all parts combined"},"domicile":{"type":["string","null"],"description":"Domicile."},"municipalCode":{"type":["string","null"],"description":"Municipal code."},"vatNumber":{"type":["string","null"],"description":"VAT number."},"naceCode":{"type":["string","null"],"description":"NACE code."},"homePhone":{"type":["string","null"],"description":"Home phone number."},"workPhone":{"type":["string","null"],"description":"Work phone number."},"cellularPhone":{"type":["string","null"],"description":"Cellular phone number."},"telefax":{"type":["string","null"],"description":"Telefax number."},"email":{"type":["string","null"],"description":"E-mail."},"languageCode":{"type":["string","null"],"description":"Language code e.g. sv, en etc. Use lowercase letters, for example sv or en."},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"underAged":{"type":["boolean","null"],"description":"Under aged boolean flag."},"conversationNotificationChannel":{"$ref":"#/components/schemas/Debtors_ConversationNotificationChannel"},"conversationNotificationEmail":{"type":["string","null"],"description":"Debtor's e-mail for conversation notification."},"conversationNotificationCellularPhone":{"type":["string","null"],"description":"Debtor's cellular phone number for conversation notification."}},"additionalProperties":false,"description":"Debtor information for creation."},"Debtors_PutDebtorPaymentplan":{"type":"object","properties":{"active":{"type":["integer","null"],"description":"Type of payment plan\r\n\r\n1 = Active\r\n\r\n2 = Proposal (default)","format":"int32"},"paymentPlanType":{"type":"integer","description":"Type of payment plan\r\n\r\n1 = Annuity\r\n\r\n2 = Annuity, limited\r\n\r\n3 = Linear\r\n\r\n4 = Linear, limited\r\n\r\n5 = Debt relief","format":"int32"},"numberOfPayments":{"type":["integer","null"],"description":"Total number of payments","format":"int32"},"amount":{"type":["number","null"],"description":"Amount to pay per period (typically monthly)","format":"double"},"currencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR etc."},"registrationFee":{"type":["number","null"],"description":"Registration fee for the plan","format":"double"},"invoiceFee":{"type":["number","null"],"description":"Invoice fee for each payment in the plan","format":"double"},"reminderFee":{"type":["number","null"],"description":"Reminder fee for late payment","format":"double"},"feeCurrencyCode":{"type":["string","null"],"description":"Currency code, e.g. SEK, NOK, EUR, etc. for the fees"},"payments":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Debtors_DebtorPaymentplanSpecifiedPayment"},"description":"Deviating payments/instalments in the payment plan"},"cases":{"type":["array","null"],"items":{"type":"string"},"description":"Cases (Guid) that should be covered by the payment plan. If not given, all active cases without an active payment plan will be selected"}},"additionalProperties":false,"description":"Register a debtor payment plan"},"CapwayDirectDebitMandates":{"type":"array","items":{"type":"object","properties":{"mandateGuid":{"type":"string","description":"Direct debit mandate GUID."},"directDebitMandateType":{"type":"string","description":"Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden)."},"referenceNo":{"type":"string","description":"Direct debit mandate reference number."},"requestedAt":{"type":"null","description":"Direct debit date of request."},"approvedAt":{"type":["string","null"],"description":"Direct debit date of approval by Capway","format":"date"},"signedDate":{"type":"null","description":"Direct debit date of signature."},"validfrom":{"type":["string","null"],"description":"Direct debit valid from date at the bank","format":"date"},"validuntil":{"type":["string","null"],"description":"Direct debit valid until date at the bank","format":"date"},"closedAt":{"type":["string","null"],"description":"Date when the direct debit has been terminated.","format":"date"},"rejectedAt":{"type":["string","null"],"description":"Date when the bank rejected the application for direct debit.","format":"date"},"rejectReason":{"type":["string","null"],"description":"Reason for rejection provided by the bank in plain text when rejectedAt contains a date. Returns null when rejectedAt has no date."}},"required":["mandateGuid","directDebitMandateType","referenceNo"]},"description":"Custom Capway direct debit mandate response."}},"securitySchemes":{"capwayOAuth2":{"type":"oauth2","description":"OAuth 2.0 Client Credentials. Token requests use POST with Client ID and Client Secret in the Basic Auth header. API requests use a Bearer Authorization header. No scope is required. Token lifetime requires confirmation.","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}}},"x-token-endpoint-auth-method":"client_secret_basic"}}},"x-source-url":"https://help.aptic.net/api/customers/index.html","x-capway-review-status":"draft: 21 retained Customers calls after user exclusions","x-capway-authentication":{"protocol":"OAuth 2.0","tokenMethod":"POST","testTokenUrl":"https://apitest.capway.se/oauth/token","productionTokenUrl":"https://api.capway.se/oauth/token","detailsStatus":"Token lifetime and errors TBD","grantType":"client_credentials","credentials":["clientId","clientSecret"],"apiAuthorization":"Bearer","clientAuthentication":"Basic Auth header","scopeRequired":false},"security":[{"capwayOAuth2":[]}],"x-source-urls":["https://help.aptic.net/api/customers/index.html","https://help.aptic.net/api/invoices/index.html","https://help.aptic.net/api/cases/index.html","https://help.aptic.net/api/debtors/index.html"]}