Maak uw eerste factuur aan!
Duizenden gebruikers gingen u al voor.
Facturen zijn te beheren via de controller 'invoice'.
Middels deze functie sorteert u factuurregels van een bestaande factuur. Deze functie is beschikbaar voor een factuur in alle statussen.
Veldnaam | Waarde | Omschrijving |
---|---|---|
Identifier | int | De unieke ID van een factuur |
InvoiceCode | string | Het factuurnummer |
InvoiceLines | array | Factuurregel: |
- Identifier | int | De unieke ID van een factuurregel |
$parameters = [
"InvoiceCode" => "[concept]0001",
"InvoiceLines" => [
[
"Identifier" => 2
],
[
"Identifier" => 1
]
]
];
$api->sendRequest('invoiceline', 'sortlines', $parameters);
Array
(
[controller] => invoiceline
[action] => sortlines
[status] => success
[date] => 2022-01-04T16:34:24+01:00
[success] => Array
(
[0] => Er zijn 2 factuurregels gesorteerd
)
[invoice] => Array
(
[Identifier] => 1
[InvoiceCode] => [concept]0001
[Debtor] => 1
[DebtorCode] => DB10000
[Status] => 0
[SubStatus] =>
[PaymentPausedEndDate] =>
[PaymentPausedReason] =>
[Date] => 2020-09-22
[Term] => 14
[PayBefore] => 2020-10-06
[PaymentURL] =>
[AmountExcl] => 29.64
[AmountTax] => 6.22
[AmountIncl] => 35.86
[AmountPaid] => 0.00
[AmountOutstanding] => 35.86
[Discount] => 0
[VatCalcMethod] => excl
[IgnoreDiscount] => no
[ReferenceNumber] =>
[CompanyName] => Jan Janssen B.V.
[Initials] => Jan
[SurName] => Janssen
[Sex] => m
[Address] => Keizersgracht 100
[ZipCode] => 1015 AA
[City] => Amsterdam
[Country] => NL
[EmailAddress] => info@example.com
[ExtraClientContactId] => 0
[InvoiceMethod] => 0
[ScheduledAt] =>
[SentDate] =>
[Sent] => 0
[Reminders] => 0
[ReminderDate] =>
[Summations] => 0
[SummationDate] =>
[Authorisation] => no
[PaymentMethod] =>
[PayDate] =>
[TransactionID] =>
[LanguageCode] => nl_nl
[Currency] => EUR
[Description] =>
[Comment] =>
[InvoiceLines] => Array
(
[0] => Array
(
[Identifier] => 2
[Ordering] => 2
[Date] => 2020-09-22
[Number] => 155
[NumberSuffix] => km
[ProductCode] => P0002
[Description] => Reiskosten à € 0,19 per km
[PriceExcl] => 0.19
[DiscountPercentage] => 0
[DiscountPercentageType] => line
[TaxCode] => V21
[TaxPercentage] => 21
[PeriodicID] => 0
[Periods] => 1
[Periodic] =>
[StartDate] =>
[EndDate] =>
[StartPeriod] =>
[EndPeriod] =>
)
[1] => Array
(
[Identifier] => 3
[Ordering] => 1
[Date] => 2020-09-22
[Number] => 1
[NumberSuffix] =>
[ProductCode] => P0002
[Description] => Reiskosten à € 0,19 per km
[PriceExcl] => 0.19
[DiscountPercentage] => 0
[DiscountPercentageType] => line
[TaxCode] => V21
[TaxPercentage] => 21
[PeriodicID] => 0
[Periods] => 1
[Periodic] =>
[StartDate] =>
[EndDate] =>
[StartPeriod] =>
[EndPeriod] =>
)
)
[Created] => 2020-11-01 11:00:00
[Modified] => 2020-11-01 11:00:00
[VatShift] => no
[Attachments] => Array
(
)
[Translations] => Array
(
[Status] => Concept
[Country] => Nederland
[InvoiceMethod] => Per e-mail
[PaymentMethod] =>
[LanguageLabel] => Nederlands
)
)
)
Met WeFact maakt u sneller en zonder fouten online facturen, verwerkt u aankoopfacturen en heeft u grip op uw administratie! Test alle functionaliteiten zonder beperkingen met de gratis proefperiode.
Geen betaalgegevens nodig