- Create a Supplier
Get document financial transactions
List Location payment methods
Get location accounts
Get transactions
Get Transactions by Visit or Appointment ID
Create a Financial Transaction
Getting a financial transaction
Financial Transaction Update
Deleting a transaction
List Location payment items
List Location Suppliers
Get a Supplier
Update a Supplier
Delete a Supplier
Create a Supplier
Creates a Supplier (counterparty) in the Location. title and type_id are required. The Business User needs Finances access in the Location; otherwise the request returns 403.
Security
BearerPartnerUser
Legal form:
0- Legal entity1- Individual entrepreneur2- Individual
Enum:012
Example:0
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/references/suppliers/{location_id}
- Productionhttps://api.alteg.io/api/v1/references/suppliers/{location_id}
curl -i -X POST \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/references/suppliers/4564 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Bloom Beauty Supply",
"type_id": 0,
"inn": "1234567890",
"phone": "+13155550142",
"email": "orders@example.com",
"contact": "Jordan Lee, sales manager",
"address": "100 Main Street, Springfield"
}'OK
A Supplier (counterparty) of the Location. Pass its id as supplier_id in financial transactions and in inventory operations such as a product receipt.
Example:
{ "id": 4043, "company_id": 4564, "type_id": 0, "type": { "id": 0, "title": "Legal entity" }, "title": "Bloom Beauty Supply", "inn": "1234567890", "kpp": "123401001", "phone": "+13155550142", "email": "orders@example.com", "contact": "Jordan Lee, sales manager", "comment": "Delivers on Tuesdays", "address": "100 Main Street, Springfield" }
Response
{ "success": true, "data": { "id": 4043, "company_id": 4564, "type_id": 0, "type": { … }, "title": "Bloom Beauty Supply", "inn": "1234567890", "kpp": "", "phone": "+13155550142", "email": "orders@example.com", "contact": "Jordan Lee, sales manager", "comment": "", "address": "100 Main Street, Springfield" }, "meta": [] }