-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
There are two kinds of semantic mismatch between the current /invoice/ swagger spec and the OASIS/UBL eInvoicing spec.
- Superfluous verbs. Don't need GET, PUT and DELETE /invoice/ endpoints. GET makes sense (processing state metadata) but it's not in the spec (enhancement proposal? - see Enhancement Proposal: GET linked invoice/ACK metadata #6).
- Missing ACK noun (/business_response/?). These should also be POSTed (it takes two to tango).
Both POSTs should probably return a GUID (for out of band status enquiry now, and possible future GET status/processing-metadata enquiry).
And, aren't there subtypes of invoice noun? should they have their own POST endpoints? I think it might be nicer to map validation rules to endpoints, but they could also be tested against payload types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels