BillingChain
62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.
POST/api/v1/invoicing/billing-chainsOpen staged billing (Abschlag / Teil / Schluss) for an accepted offer or a project
- Pfad
/api/v1/invoicing/billing-chains- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/by-offer/{offerId}Get the billing chain of an offer
- Pfad
/api/v1/invoicing/billing-chains/by-offer/{offerId}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/by-offer/{offerId} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/by-offer/{offerId}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/by-project/{projectId}Get the billing chain of a project
- Pfad
/api/v1/invoicing/billing-chains/by-project/{projectId}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/by-project/{projectId} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/by-project/{projectId}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/project/{projectId}/allList every billing chain of a project, closed earlier contracts included
- Pfad
/api/v1/invoicing/billing-chains/project/{projectId}/all- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/project/{projectId}/all \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/project/{projectId}/all", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/project/{projectId}/positionsGet which offer positions of a project are billed and which are still open, over all its billing chains. In a cumulative chain billed is the quantity on the latest issued cumulative or final invoice (it restates the total to date, never a sum); in a sequential chain it is the sum of the issued partial invoices. Drafts are reported as inDraft, never as billed; open = ordered - billed, negative means extra quantity (Mehrmenge).
- Pfad
/api/v1/invoicing/billing-chains/project/{projectId}/positions- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/project/{projectId}/positions \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/project/{projectId}/positions", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/{id}Get a billing chain by ID
- Pfad
/api/v1/invoicing/billing-chains/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/{id}/amendmentsGet the contract-sum ledger of a billing chain, optionally as it stood on a past date
- Pfad
/api/v1/invoicing/billing-chains/{id}/amendments- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/amendments \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/amendments", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/invoicing/billing-chains/{id}/amendmentsCorrect or reduce the contract sum of a billing chain
- Pfad
/api/v1/invoicing/billing-chains/{id}/amendments- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/amendments \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/amendments", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/invoicing/billing-chains/{id}/cancelCancel a billing chain that has no booked invoices
- Pfad
/api/v1/invoicing/billing-chains/{id}/cancel- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/cancel \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/cancel", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/invoicing/billing-chains/{id}/membersAdd a progress, partial, cumulative or final invoice to a billing chain
- Pfad
/api/v1/invoicing/billing-chains/{id}/members- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/members \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/members", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PUT/api/v1/invoicing/billing-chains/{id}/members/{invoiceId}/position-correctionsSet why a draft cumulative invoice states billed positions lower; replaces the list
- Pfad
/api/v1/invoicing/billing-chains/{id}/members/{invoiceId}/position-corrections- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/members/{invoiceId}/position-corrections \
-X PUT \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/members/{invoiceId}/position-corrections", {
method: "PUT",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/invoicing/billing-chains/{id}/offersAdd a further accepted offer of the project to an open billing chain
- Pfad
/api/v1/invoicing/billing-chains/{id}/offers- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/offers \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/offers", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/invoicing/billing-chains/{id}/positionsGet which offer positions of a billing chain are billed and which are still open. In a cumulative chain billed is the quantity on the latest issued cumulative or final invoice (it restates the total to date, never a sum); in a sequential chain it is the sum of the issued partial invoices. Drafts are reported as inDraft, never as billed; open = ordered - billed, negative means extra quantity (Mehrmenge).
- Pfad
/api/v1/invoicing/billing-chains/{id}/positions- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/positions \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/positions", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();POST/api/v1/invoicing/billing-chains/{id}/supplementsCreate a supplement (Nachtrag) on a contract that is already being billed
- Pfad
/api/v1/invoicing/billing-chains/{id}/supplements- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/supplements \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/invoicing/billing-chains/{id}/supplements", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();