Creates a SubmitBillingResponse business transaction from a metadata structure.
The buyer issues a billing response to inform the seller of the invoice or credit note processing status. This is especially useful in cases where the seller might be required to provide more information.
It also facilitates automatic document processing because the following action can be initiated immediately after the response is received.
The following example contains the minimum JSON body required to create a valid billing response. These elements are mandatory.
{
"messageHandling": {
"receiverIdentifier": "KT:2222228899",
"fallbackEmailAddress": "[email protected]"
},
"invoiceResponse": {
"responseNo": "INR1234",
"issueDate": "2019-11-06",
"status": "MessageAcknowledgement",
"sender": {
"name": "Test Party One",
"identifier": "KT:1111118899"
},
"receiver": {
"name": "Test Party Two",
"identifier": "KT:2222228899"
},
"documentReference": {
"documentNo": "INV1234",
"documentType": "Invoice"
}
}
}
It's also possible to add the optional message identifier for the responding invoice/credit note and then skip adding sender/receiver and document reference.
If the optional original message identifier is specified then it will overwrite the information specified about sender/receiver and document reference in metadata.The request body schema includes all mandatory and optional elements.
For more information about allowed values for metadata elements, see Metadata.
