Webhook Create Invoice Request
POST
/api/v0/invoice/req-send-invoiceRequest
Body Params application/json
device
object (Device)
optional
tag
object (Tag)
required
b2bIds
object (NbblB2BIdsModel)
required
buyerB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
supplierB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
invoice
object (Invoice)
required
id
integer <int64>
optional
parentInvoiceId
integer <int64>
optional
invoiceNumber
string
optional
vendorInvoiceRefNo
string
optional
externalRefNumber
string
optional
purchaseNo
string
optional
supplierInvoiceNo
string
optional
supplierInvoiceDate
string <date>
optional
sourceCompany
integer <int64>
optional
targetCompany
integer <int64>
optional
totalAmount
number
optional
invoiceAmount
number
optional
amountPaidTillNow
number
optional
surcharge
number
optional
surchargeGst
number
optional
mdr
number
optional
mdrGst
number
optional
sgst
number
optional
cgst
number
optional
igst
number
optional
tds
number
optional
amountPaidByEnterprise
number
optional
amountToBePaidToVendor
number
optional
description
string
optional
createdBy
integer <int64>
optional
createdDate
string <date-time>
optional
dueDate
string <date-time>
optional
lastModifiedDate
string <date-time>
optional
lastModifiedBy
integer <int64>
optional
makerId
integer <int64>
optional
checkerId
integer <int64>
optional
approvalStatus
enum<string>
optional
Allowed values:
MAKER_APPROVAL_PENDINGMAKER_APPROVEDMAKER_REJECTEDCHECKER_APPROVAL_PENDINGCHECKER_APPROVEDCHECKER_REJECTEDAPPROVER_APPROVAL_PENDINGAPPROVER_APPROVEDAPPROVER_REJECTEDBANK_APPROVEDBANK_REJECTED
paymentStatus
enum<string>
optional
Allowed values:
INITPROCESSSUCCESSFAILEDPENDINGCANCELLEDEXPIREDPARTIAL_REFUNDEDREFUNDEDIN_PROCESSAUTHENTICATION_IN_PROCESSOTP_RENDEREDCHECKOUT_RENDEREDMPI_PROCESSEDMPI_RENDEREDREFUND_IN_PROGRESSREFUND_REQUESTEDPENDING_WITH_BANKSWAPPEDPAID_OFFLINEPARTIAL_PAID
invoiceStatus
enum<string>
optional
Allowed values:
PAIDUNPAIDPARTIAL_PAIDREFUNDED
autoRelease
boolean
optional
invoiceDate
string <date>
optional
pgId
integer <int64>
optional
phone
string
optional
email
string
optional
paymentGatewayTransactions
array[object (PaymentGatewayTransaction) {30}]
optional
deleted
boolean
optional
dateApproved
string <date-time>
optional
maskedCardNumber
string
optional
subscription
integer <int64>
optional
retryLeft
integer <int32>
optional
paymentMode
enum<string>
optional
Allowed values:
CREDIT_CARDDEBIT_CARDNET_BANKINGUPIPREPAID_CARDINVALID_PAYMENT_MODESEAMLESS_BANKINGVIRTUAL_ACCOUNTTALLY_PAYMENTENKASH_COINCASHCHEQUEACCOUNT_TRANSFER
payoutData
object (PayoutData)
optional
productCode
enum<string>
optional
Allowed values:
INV001INV002INV003INV004INV005
purchaseOrder
object (PurchaseOrder)
optional
hsnCode
string
optional
approverApprovedCount
integer <int32>
optional
attachment
boolean
optional
companyBranchCodeId
integer <int64>
optional
bankApprovals
string
optional
bankCard
object (BankCard)
optional
approvalAuthorizations
array[object (ApprovalAuthorization) {13}]
optional
nextApprovalGroups
array[object (ApprovalGroup) {11}]
optional
earlyPaymentDetails
array[object (EarlyPaymentDetail) {12}]
optional
previousUserApprovals
array[object (ApprovalGroupUser) {11}]
optional
refundDate
string <date-time>
optional
refundBy
integer <int64>
optional
via
string
optional
collectionReferenceId
string
optional
collectionInvoiceId
string
optional
paidThrough
enum<string>
optional
Allowed values:
COLLECTIONSPAYABLES
collectionSyncRequired
boolean
optional
invoiceDiscounting
boolean
optional
remarks
string
optional
earlyPaymentEnabled
boolean
optional
earlyPaymentMarkup
number
optional
>= 0<= 100
earlyPaymentBaseRate
number
optional
>= 0<= 100
earlyPaymentBaseRateSlab
string
optional
earlyPaymentStatus
enum<string>
optional
Allowed values:
PENDINGAPPROVEDREJECTEDEXPIRED
refundTransactions
array[object (RefundTransaction) {22}]
optional
additionalDataMapping
object
optional
invoiceAttachments
array[object (InvoiceAttachment) {16}]
optional
reverseSync
boolean
optional
nbblEnabled
boolean
optional
nbblInvoiceId
string
optional
billStartDate
string <date>
optional
billEndDate
string <date>
optional
penalty
number
optional
nbblInvoiceStatus
enum<string>
optional
Allowed values:
CREATEDSENT_TO_BUYERACCEPTEDREJECTEDUNDER_REVIEWCANCELLEDDELETEDPARTIALLY_PAIDFULLY_PAIDCLOSEDABANDONEDPAYMENT_INITIATEDPARTIALLY_PAID_AND_PAYMENT_INITIATED
nbblInvoiceData
object
optional
nbblInvoiceItems
array[object (NbblInvoiceItem) {13}]
optional
nbblPayments
array[object (NbblPayment) {18}]
optional
nbblInvoiceFinances
array[object (NbblInvoiceFinance) {12}]
optional
paymentAdviceUrl
string
optional
ponumber
string
optional
einvoice
boolean
optional
Example
Not configured
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
response_code
integer
required
response_message
string
required
payload
object (CreateInvoiceResponse)
required
b2bIds
object
required
resp
object
required
invoice
object
required
additionalInfo
array [object {2}]
required
Example
Not configured
Last modified: 3 months ago