Creates a new invoice margin record
post
/service/v1/invoiceMarginCalc
This endpoint is used to create a new invoice margin record.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
appId
-
branchCode: string
branchCode
-
userId: string
user id for SMS
Request Body that contains data required for creating a new ObInvoiceMarginCalcDTO.
Root Schema : ObInvoiceMarginCalcDTO
Type:
Show Source
object
-
bankCode(optional):
string
Bank Code
-
bankName(optional):
string
Bank name
-
branchCode(optional):
string
Branch Code
-
buyerId:
string
Buyer Id
-
buyerName:
string
Buyer Name
-
id(optional):
string
Id
-
intInvoiceRefNo:
string
Interest Invoice Reference Number
-
intPaymentRefNo:
string
Interest Payment Reference Number
-
invoiceRefNo:
string
Invoice Reference Number
-
marginAmount:
number
Margin Amount
-
marginCalculationDate:
string(date)
Margin Calculation Date
-
marginCalculationStatus(optional):
string
Margin Calculation Status
-
marginCcy:
string
Margin Currency
-
marginHandling(optional):
string
Margin Handling
-
marginPaymentMode(optional):
string
Margin Payment Mode
-
marginProcessingDate(optional):
string(date)
Margin Processing Date
-
marginProcessingStatus(optional):
string
Margin Processing Status
-
marginRefNo:
string
Margin Reference Number
-
paymentRefNo:
string
Payment Reference Number
-
paymentValueDate(optional):
string(date)
Payment Value Date
-
paymentValueMode(optional):
string
Payment Value Mode
-
productCode:
string
Product code
-
programCode:
string
Program Code
-
routingCode(optional):
string
Routing Code
-
supplierAcNo(optional):
string
Supplier Account Number
-
supplierId:
string
Supplier Id
-
supplierName:
string
Supplier Name
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns File Status
Root Schema : schema
Type:
string
400 Response
Bad Request
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error