refactor(api): update manifest line schema docs with name and pu, update deliveryParsePdf model
This commit is contained in:
@@ -81,9 +81,8 @@ export function register(app, basePath = '') {
|
||||
* Creates a goods receipt with header and lines in one transaction.
|
||||
* The manifest `number` is allocated automatically via
|
||||
* `nextNumber('delivery')`; the user-supplied reference is stored as
|
||||
* `externalNumber`. Each line requires `sku`, `amount`, `net`, and
|
||||
* `tax` (rate). `rebate` defaults to `0`; `transactedAmount` defaults
|
||||
* to `amount`.
|
||||
* `externalNumber`. Each line requires `sku` or `name`, `amount`, `net`, and
|
||||
* `tax` (rate). `pu` defaults to `1`; `rebate` defaults to `0`.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: delivery/create.md
|
||||
@@ -114,6 +113,8 @@ export function register(app, basePath = '') {
|
||||
* supplierId: 1
|
||||
* lines:
|
||||
* - sku: '1'
|
||||
* name: 'Sample Article'
|
||||
* pu: 1
|
||||
* amount: 10
|
||||
* net: 99.5
|
||||
* tax: 19
|
||||
|
||||
Reference in New Issue
Block a user