Invoice Storage (v1)

http://github.com/folio-org/mod-invoice-storage

Table of contents

Invoice Line Number

API used to manage Invoice Line number. This API is intended for internal use only

/invoice-storage/invoice-line-number

GET /invoice-storage/invoice-line-number

Get invoice line number

GET /invoice-storage/invoice-line-number
Query Parameters
  • invoiceId: required (string - pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$)

    The UUID of a invoice

    Example:

    8ad4b87b-9b47-4199-b0c3-5480745c6b41
  • lang: (string - default: en - pattern: [a-zA-Z]{2})

    Requested language. Optional. [lang=en]

Response 200

Body

Media type: application/json

Type: json

Content:

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Sequence number object",
  "type": "object",
  "properties": {
    "sequenceNumber": {
      "description": "Sequence number",
      "type": "string"
    }
  },
  "required": [
    "sequenceNumber"
  ],
  "additionalProperties": false
}

Response 400

Bad request, e.g. malformed request body or query parameter

Body

Media type: text/plain

Type: any

Example:

Unable to generate invoice line number

Response 500

Internal server error, e.g. due to misconfiguration

Body

Media type: text/plain

Type: any

Example:

Internal server error, contact Administrator