Maak uw eerste factuur aan!
Duizenden gebruikers gingen u al voor.
Mag WeFact cookies plaatsen?
Met deze cookies kunnen we onze website analyseren en onze advertenties meten. Bekijk onze privacy verklaring.
Inkoopfacturen (van crediteuren) zijn te beheren via de controller 'creditinvoice'.
Met deze functie voegt u een factuurregel toe aan een bestaande inkoopfactuur.
Veldnaam | Waarde | Omschrijving |
---|---|---|
Identifier | int | De unieke ID van een inkoopfactuur |
CreditInvoiceCode | string | Eigen interne inkoopfactuurnummer |
RecalculateInclTotalAmount | 'yes' of 'no' | Bedrag incl BTW herberekenen, standaard: 'no' |
InvoiceLines | array | Inkoopfactuurregel: |
- Description | string | Omschrijving |
- PriceExcl | float | Prijs per stuk (excl. BTW) |
- TaxCode | string | BTW code Terug te vinden bij de BTW instellingen. |
- CostCategory | int | De unieke ID van de kostencategorie |
- StartDate | date | Startdatum van de periode |
- EndDate | date | Einddatum van de periode |
- AccountingCostCentre | string | Code kostenplaats boekhoudpakket Enkel beschikbaar indien geactiveerd. |
- AccountingProject | string | Code project boekhoudpakket Enkel beschikbaar indien geactiveerd. |
$parameters = [
"CreditInvoiceCode" => "CF0002",
"InvoiceLines" => [
[
"Description" => "Additional line",
"PriceExcl" => 50
]
]
];
$api->sendRequest('creditinvoiceline', 'add', $parameters);
Array
(
[controller] => creditinvoiceline
[action] => add
[status] => success
[date] => 2022-01-21T12:00:00+02:00
[success] => Array
(
[0] => Er zijn 1 factuurregels toegevoegd
)
[creditinvoice] => Array
(
[Identifier] => 1
[CreditInvoiceCode] => CF0002
[InvoiceCode] => INV123456
[Creditor] => 1
[CreditorCode] => CD50000
[Status] => 1
[SubStatus] =>
[AuthorisationStatus] =>
[Date] => 2021-11-22
[Term] => 14
[AmountExcl] => 350.00
[AmountIncl] => 363.00
[AmountPaid] => 0.00
[AmountOutstanding] => 363.00
[Authorisation] => no
[PayDate] =>
[PaymentMethod] =>
[Currency] => EUR
[Comment] => initial test comment
[InvoiceLines] => Array
(
[0] => Array
(
[Identifier] => 1
[Number] => 1
[Description] => Test line
[PriceExcl] => 100
[TaxCode] => I21
[TaxPercentage] => 21
[StartDate] =>
[EndDate] =>
[CostCategory] => 0
)
[1] => Array
(
[Identifier] => 2
[Number] => 1
[Description] => Another Test line
[PriceExcl] => 200
[TaxCode] => I21
[TaxPercentage] => 21
[StartDate] =>
[EndDate] =>
[CostCategory] => 0
)
[2] => Array
(
[Identifier] => 3
[Number] => 1
[Description] => Additional line
[PriceExcl] => 50
[TaxCode] => I21
[TaxPercentage] => 21
[StartDate] =>
[EndDate] =>
[CostCategory] => 0
)
)
[Created] => 2022-01-21 11:00:00
[Modified] => 2022-01-21 11:00:00
[Attachments] => Array
(
)
[Translations] => Array
(
[Status] => Nog niet betaald
[PaymentMethod] =>
)
)
)
Met WeFact maakt u sneller en zonder fouten online facturen, verwerkt u inkoopfacturen en heeft u grip op uw administratie! Test alle functionaliteiten zonder beperkingen met de gratis proefperiode.
Geen betaalgegevens nodig