...
The API will return (upon a call) a communication report.
The API needs to have a heathcheck health check endpoint.
As a business, I want to be able to send my invoice, so that my client can receive my invoiceknow if my invoice was sent successfully so that I can make sure the invoice was sent or take further action.
Communication report with errors or success
Readable communication report for humans to understand
As a business, I want to be able to deliver invoices in different ways, so that I have flexibility and choice in reaching my clients.
Sending via SMS/Email
Send UBL (in XML) for all clients to process the standard invoice
...
As a business, I want to know if my invoice was what invoices I’ve sent successfully , so that I can make sure the invoice was sent or take further action.
...
Communication report with errors or success
...
keep track of which invoices have been delivered.
When an invoice is sent and confirmed to be successful, the invoice is tagged as ‘sent’
USE CASE
After requesting an invoice and it being created, I click send invoice
I pick the delivery method (Email/SMS/SFTP) and input the details
I click ‘send invoice’ and the system send the invoice to the addressee
If the invoice is sent successfully, I receive a Communication Report with success and details
If the invoice is sent unsuccessfully, I receive a Comm
Requirements
Ability to send XML via email, MMS and SFTP (MAYBE)
Ability to receive details of the user to send invoice
Ability to send in multiple formats
Send as file
Send as plain text
Ability to report back on success/failure of function
Ability to provide informative error description