swag-analytics/spec/definitions/InvoiceLine.yaml
ndiezel0 6d5fae7dce
CAPI-381: Port SWAG CAPI V3 to SWAG Analytics API (#1)
* CAPI-381: Port SWAG CAPI V3 to SWAG YAPI

* CAPI-381: Clean up unused definitions

* CAPI-381: Rename YAPI to Dashboard API

* CAPI-381: Remove wsd folder and review fixes

* Update spec/definitions/ContinuationToken.yaml

Co-Authored-By: Andrew Mayorov <a.mayorov@rbkmoney.com>

* CAPI-381: Update rebillyMerge script

* CAPI-381: Change copyright and remove wercker deploy

* CAPI-381: Fix `npm start`

* CAPI-381: Remove ExternalIDConflictError

* CAPI-381: Change error message example to one that can actually occur

* CAPI-381: Remove redundant error description

* CAPI-381: Rename x-rebillyMerge to x-merge-properties

* CAPI-381: Rename dashboard api to analytics api

* CAPI-381: Return copyright

* CAPI-381: Review fix

* CAPI-381: Remove ReadOnly fields

* CAPI-381: Remove `analytics` from paths

* CAPI-381: Correct API description
2019-09-06 17:43:30 +03:00

35 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

description: Позиция товара или услуги
type: object
required:
- product
- quantity
- price
properties:
product:
description: Описание предлагаемого товара или услуги
type: string
maxLength: 1000
quantity:
description: |
Количество единиц товаров или услуг, предлагаемых на продажу в этой
позиции
type: integer
format: int64
minimum: 1
default: 1
price:
description: |
Цена предлагаемого товара или услуги, в минорных денежных единицах, например
в копейках в случае указания российских рублей в качестве валюты
type: integer
format: int64
minimum: 1
cost:
description: |
Суммарная стоимость позиции с учётом количества единиц товаров или услуг
type: integer
format: int64
minimum: 1
taxMode:
$ref: '#/definitions/InvoiceLineTaxMode'