Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 7 Next »

Maintaining our API

  • Implement new route that sends email to a specified email address (rather than extracting from the UBL.xml document)

  • Deprecate original routes in favor of more relevant, and clearer routes;

Old Route

New Route

/sendInvoice

/invoice/extract_and_send/v1

/emailInvoice

/invoice/send_to_email/v1

/createnewUser

/create/newuser

/newSession

/session/start

/endsession

/session/end

/healthCheck

/health/check/v1

  • beautified extract and send to include more information extracted from the ubl document

Old email

New Email

Hello Lisa Johnson,
Attached is your invoice.
Kind regards,
Ronald MacDonald
ronald.macdonald@qualitygoods.com.au.

Hello Lisa Johnson,
You were issued an invoice from Supplier Trading Name Ltd on 2019-07-29.
The total payable amount for this invoice is AUD 1636.14.
Please make a payment by 2019-08-30
Attached is an xml copy of your invoice.
Kind regards,
Ronald MacDonald
Supplier Trading Name Ltd
ronald.macdonald@qualitygoods.com.au

  • add new route invoice/extract_and_send/v2 which takes the xml input as a string rather than bytestream (file upload).

  • No labels