Confirm Invoice
POST
/api/v0/invoice/req-confirm-invoiceRequest
Body Params application/json
device
object
required
tag
object
required
b2bIds
object
required
buyerB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
supplierB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
invoiceConfirmation
object
required
objectId
string
required
Unique Identifier of the
invoice across all entities,
created by the originator.
Format:
INV
Match pattern:
^[INV]{3}[A-Za-z0-9]{32,32}$
supplierInvoiceNumber
string
required
Match pattern:
^([^\\\"]){1,50}$
objectVersion
object
required
buyerResponse
enum<string>
required
Allowed values:
ACCEPTREJECTRETURN
buyerRemarks
string
required
Match pattern:
^([^\\\"]){1,100}$
statusTransition
object
required
Example
{
"device": {
"tag": {
"name": "GEOCODE",
"value": "string"
}
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"invoiceConfirmation": {
"objectId": "string",
"supplierInvoiceNumber": "string",
"objectVersion": {
"currentVersion": 1,
"newVersion": 1
},
"buyerResponse": "ACCEPT",
"buyerRemarks": "string",
"statusTransition": {
"currentStatus": "CREATED",
"newStatus": "CREATED"
}
}
}
Request samples
Responses
SUCCESS(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
payload
string
required
response_code
integer
required
response_message
string
required
Example
{
"response_code": 0,
"response_message": "SUCCESS",
"payload": "string"
}
Last modified: 3 months ago